Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Text from Database

Status
Not open for further replies.

mustang50

Technical User
Apr 2, 2001
22
US
I need to find out how to bring in a userid from a database with dynamic text?

The code looks like this before a person logs in

value="images/defaultmenuloggedinB.swf?Userid=#Session.Userid#&ExpireDays=#Session.ExpireDays#">
<PARAM NAME=&quot;PLAY&quot; VALUE=&quot;true&quot;>
<PARAM NAME=&quot;LOOP&quot; VALUE=&quot;true&quot;>
<param name=quality value=high>
<param name=&quot;scale&quot; value=&quot;No Border&quot;>
<param name=&quot;Menu&quot; value=&quot;0&quot;>

The HTML code is passing the ID after they login

value=&quot;images/UpperMenuloggedinB.swf?Userid=rjimenez&ExpireDays=-1&quot;>
<PARAM NAME=&quot;PLAY&quot; VALUE=&quot;true&quot;>
<PARAM NAME=&quot;LOOP&quot; VALUE=&quot;true&quot;>
<param name=quality value=high>
<param name=&quot;scale&quot; value=&quot;No Border&quot;>
<param name=&quot;Menu&quot; value=&quot;0&quot;

I have created a dynamic text box with userid in the variable. Do I need to add an action to the symbol?

 
I'm not sure, but I don't think you can actually pass variable to an swf in that way, can you?

What you need to do is use the 'loadvariables' command; this can then be pointed at a text/html file to load the variable from there.

I could, of course, be missing a trick and you can load variables into an swf like that; but i'm pretty darn sure you can't.

X-)

PetitPal.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top