Setting the contents of a HTML div tag from flash?

  • d2k
  • Born
  • Born
  • d2k
  • Posts: 2

Post 3+ Months Ago

Hi...

Is that possible?

I have a text scroller in html which I want to update dynamically with new text when specfic buttons are clicked from a flash nav bar...

Cheers

D
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Posts: 1402
  • Loc: Philadelphia, PA

Post 3+ Months Ago

The easiest method of achieving this would be to turn that div tag into an iframe and target the iframe name from flash.

The harder method would be to use a JavaScript function to change the contents of the div tag, and call that function from inside Flash.
  • d2k
  • Born
  • Born
  • d2k
  • Posts: 2

Post 3+ Months Ago

Yes :) worked great...

Now...new q - how can i implement the ol TGotolabel cmd in order to goto a frame label in a specific MC in a flash mx swf from a html link?

Cheers...
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Posts: 1402
  • Loc: Philadelphia, PA

Post 3+ Months Ago

You will have to use Javascript communication to Flash for that.

I'm not exactly sure how that works, Macromedia has some information on Javascript to Flash communication on their site, run a search at macromedia.com for something like "Javascript to Flash Communication" or "Flash to Javascript Communication", something like that.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 5 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.