Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question About Text in Flash

    I want to create a Flash file with text in it.

    I want that text to be changeable based on the embed code. How do I do this?

    Like, I would want the text to say Hi Bob if the embed flash code said:

    Code:
    <object width="550" height="400">
    <param name="movie" value="somefilename.swf">
    <embed src="somefilename.swf" gtext="Hi Bob" width="550" height="400">
    </embed>
    </object>
    But, I want would it to say Whats Up if the embed flash code said:

    Code:
    <object width="550" height="400">
     <param name="movie" value="somefilename.swf">
     <embed src="somefilename.swf" gtext="Whats Up" width="550" height="400">
     </embed>
     </object>
    How can I do this?

  • #2
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Anyone know?

  • #3
    New Coder
    Join Date
    Feb 2009
    Posts
    24
    Thanks
    2
    Thanked 0 Times in 0 Posts
    I actually don't know much about passing variables to Flash externally, but if you do src="somefilename.swf?gtext=Hi Bob the variable and its value will be passed to the Flash entity.


  •  

    Posting Permissions

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