A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Embed tag to transver vars into movie??

  1. #1
    Senior Member
    Join Date
    Jul 2000
    Posts
    127
    I heard somebody saying you could use an embed tag (in the html of the page) to transfer a var into a movie. Like this: I've got a movie that writes a text, the text is defined in the var "text" and I want to edit the text outside the animation.

    Does anyone knows how I must do this?

    Sander Reuderink
    http://www.xystes.com

  2. #2
    Moderator
    Join Date
    Aug 2000
    Posts
    1,455
    Hiya Xystes!

    You can set variables within the Flash movie from the embed tag. Do it like this:

    <EMBED
    src="timer.swf?variable1=value&variable2=value"
    quality=high bgcolor=#FFFFFF
    WIDTH=360 HEIGHT=100
    TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
    </EMBED>

    I've put the important bits in bold. Just list the variablename/value pairs one after the other in the src attribute of the Embed tag.

    I hope this helps!

    NETbreed
    Nearly there!

  3. #3
    Senior Member
    Join Date
    Jul 2000
    Posts
    127

    Thanx

    May heaven bless you, netbreed!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center