Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / General Flash Topics / July 2008



Tip: Looking for answers? Try searching our database.

HTML link to a Flash file frame

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Garry Bradley - 21 Jul 2008 13:38 GMT
Hi
I've got a client who has a HTML site on a laptop for a presentation and
within this site he's wants a link that attaches to a AS2 .swf that I've
developed.

The thing is it he wants it to link to specific area of the file and not to
play it all. How would I do this as he's just asked for the specific address
of the area it needs to jump to.

Any help would be much appreciated bearing in mind my ActionScript is pure
novice so a step by step would be handy.

thanks
+mrcakey - 21 Jul 2008 15:14 GMT
>Hi
>I've got a client who has a HTML site on a laptop for a presentation and
[quoted text clipped - 9 lines]
>
>thanks

Bit of a noob myself but I'm quite sure you could achieve this by passing a
variable to the .swf file, either using <param name="FlashVars"
value="????whatever your variable would be????"> of appending the
variable/value combination to the URL like:
http://www.example.com/as2.swf?variable=value

Within your Flash file you test for the presence of this variable with AS2
and then use a gotoAndPlay('framename') to send it to the correct frame.
Hope this helps.

+mrcakey
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.