dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Variable question...

  1. #1

    Is there a way to call a variable within the URL field of the "loadVariables" action.

    Example:
    I've got a Cold Fusion page that loads info into my movie, but you need to enter in a user ID number to interact with the ColdFusion page. Here is what I've got so far:

    loadVariablesNum ("flash_artistdiscography.cfm?albumid=(artist_numb er)", 0, "POST");

    When I hard code a number instead of the "artist_number" it generates the MC like I want.

    Does anyone know the snytax or the proper way to call that "artist_number" variable so it plugs into the URL...

    Any help or thoughts would be extremely helpful...

    Thanks
    Darb

  2. #2
    Junior Member
    Join Date
    Jan 2002
    Posts
    15
    basic string manipulation

    str = "http://www." + urlVar + ".com";

    loadVariables(str,"");

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