-
actionscript and javascript
Hi all,
I'm a bit new to actionscript so I'm wondering if anyone can lead me in the right direction. I have a site redesign that was NOT allowed to be all flash (stupid imo). So basically I have an html/css/flash hybrid which sometimes makes sense, but not necessarily in this case. It's html/css with a div that holds swf files for each page. How can I use javascript to make the html navigation control the swf files. I don't want separate pages every time this site loads a new page, but just one page and 12-15 files being controled by the navigation. The swf files for the furniture are dynamic and use XML to load in the content.
here is a link
If anyone could help please let me know or someone I can contract this small piece out to...please let me know.
~ Regards
Steve
-
-
Hi Steve,
After viewing your site, it looks like a little Ajax might do the trick for you. It looks like you have separate .swf files on each page, so changing out the source with JavaScript, seems like the way to go.
But, to your question about using javascript to control navigation within SWF files, take a look at my example here. The example shows how to use the External API (or the ExternalInterface class) to communicate to Flash with javascript. The sources are included and free for you to alter. If you would like to contract this out, send me an email through these forums.
If you have other questions, post back.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks