External html controls Flash timeline?

Is there a way to conrtol the flash timeline with an external html file? For example, if i loaded in a textfield formatted as html, can i get the <a> tags to , (…say) _root.gotoAndPlay (33)

does this need to be in javascript, php, or xml?

thanks for looking

as far as I know the only time the HTML can communicate with the SWF is via flashvars at runtime. There may be other ways, but I haven’t seen them, however I would look further down the Javascript path. There may be something there.

http://www.macromedia.com/support/flash/publishexport/scriptingwithflash/scriptingwithflash_03.html and http://www.webreference.com/js/tips/010627.html
Try to search it with google

You can have named anchors inside Flash.
Labeling a frame gives you the oportunity to activate it as an achor.
So you can call your html page with this embeded falsh like this:
yourpagewithflash.html#labelone supposing you labeled some frame in your flash movie as “labelone”.
So basically all you need to do now is making an “a href=” tag in your dinamic text field, that directs you to the same html page with a named anchor.

well there ya go. Just shoot me down how 'bout :stuck_out_tongue:

I’m actually doing a tutorial on this, and I think I’ll finish it tonight. I kinda forgot about it :confused:


This is so easy!, i feel like an idiot. All you have to do is use the actionscript asFunction. Check out this thread on Macromedia

Hope this helps