Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Flash Dynamic text

Options
  • 13-04-2005 1:19pm
    #1
    Closed Accounts Posts: 133 ✭✭


    Hi

    I'm fairly new to flash, I'm trying to pass a parameter into my .swf file so it can diplay dynamic text on start up.

    here is the code in my .jsp page.
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="778" height="164">
              <param name="movie" value="../10.swf?mytext=hello">
              <param name="quality" value="high">
              <embed src="10.swf?mytext=hello" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="778" height="164"></embed>
          </object>
    

    does this look right?

    am I doing somehing wrong in Flash itself?

    In the properties section I have it set to dynamic text and the Var: is set to mytext.

    Any Ideas what i'm doing wrong??

    cheers

    JK


Comments

  • Registered Users Posts: 6,511 ✭✭✭daymobrew


    What about moving the 'mytext' to a param line:
    <param name="mytext" value="hello">
    


  • Closed Accounts Posts: 133 ✭✭Jim Kernsey


    daymobrew


    tried it, but it didn't work

    cheers

    JK


  • Closed Accounts Posts: 5,284 ✭✭✭pwd


    You're using different filepaths in the object tag and the embed tag. ( ../10.swf in the object tag and 10.swf in the embed tag.)


  • Closed Accounts Posts: 133 ✭✭Jim Kernsey


    pwd wrote:
    You're using different filepaths in the object tag and the embed tag. ( ../10.swf in the object tag and 10.swf in the embed tag.)


    hats just in the example above, I've tried it lots of different ways.

    ../10.swf is what dreamweaver generates.

    10.swf is what my server prefers, generally both paths are set to this.

    cheers
    JK


  • Closed Accounts Posts: 5,284 ✭✭✭pwd


    try attaching the fla file maybe.
    Is the text box visible at all when you look at the movie?

    Here are some obvious things it could be, at the risk of sounding silly:
    Is the text box located on the stage in the fla file?
    Is the text colour different to the background colour?
    Are you opening the html page rather than the swf file when you view the movie?


  • Advertisement
  • Closed Accounts Posts: 133 ✭✭Jim Kernsey


    pwd wrote:
    Here are some obvious things it could be, at the risk of sounding silly:
    Is the text box located on the stage in the fla file?

    Not sounding silly at all!

    I had it on the wrong place on the timeline :rolleyes:

    Thanks for your help, I haven't used flash much before.

    Cheers

    JK


Advertisement