Unstoppable Domains

Imagemap layered on flash

Spaceship Spaceship
Watch

Tarh

New Member
Impact
0
Alright, I'm in a bit of a situation here. I'm in the middle of coding the template for a new website, and at the top it has a SWF embedded (main menu, etc.) The problem is that I just got a new motherboard, and it wasn't working with the harddrive. So we backed up everything we needed on to a second harddrive and formatted the main one. Everything is working now (finally), but there is one problem - I forgot to backup the uncompiled form of the SWF for the website! Now I have a compiled flash object that is fully completed, so I don't really need the source code, but I just have one problem - I never included actions to go to a page when the buttons were clicked. I was hoping that I wouldn't have to decompile the SWF (very difficult), and would be able to get around it with CSS layering.

Basically, my question is this:
Is it possible to have something invoke javascript when clicking on, that is invisible, on top of a embedded flash object, with the flash object still having rollover actions working? Would it be possible to use CSS to layer a transparent imagemapped GIF on top of the flash object, that would call javascript when clicked in certain places? Or is it possible to put a map directly on the flash object?

Anything is better than having to redo / decompile the SWF at this point - any help will be appreciated!

Thank you!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
better decompile and edit the swf file. the easiest and less troublesome way for you to finish it up.
 
0
•••
I've hit a few problems with decompiling - mainly the fact that I don't use Macromedia's development studio, and that the one I am using is an older model now unsupported from that company, there are many problems with decompiling it - or even adding data to it in the compiled form manually. It appears that my only option is with the interface in CSS.

I'm onto a lead - what I've done is created a second flash movie, which has invisible buttons in the exact same place as the older one. I plan on putting it on top of the old one (it can be overtop since it is also an ActiveX Object), and making the background invisible via the object's properties. The only problem that I have now is accurately layering the new flash object. The previous object is inside a DIV that is centered on the screen using CSS (I'm using XHTML 1.0 Transitional) with margin-left and margin-right set to auto. The problem is that something that is positioned absolute cannot have margins, and thus cannot be centered on the screen. Another solution that I found was using relative positioning from a second div centered directly under the older div. It works fine - but I have one final problem.

My problem is now:
Is it possible to remove the space that an object occupied when it has been positioned relative (when you position absolute, all other objects move to take the original spot of the object, but when you position relative, the space is still there as if the object is still there as well).

Thank you for any assistance!

ADDITION:
-- Solution:
I ended up figuring it out. No HTML solution would work, and that is when I discovered that my development software could import SWFs as sprites (so I didn't need a decompiler from a third party). It took me an hour to redo all of the actions and other things that weren't recovered, but I ended up getting it back. All of this just to add a few click actions ... oh well, it works now.

Thank you for the reply!
 
Last edited:
0
•••

We're social

Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back