A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Reading Vars generated by server side application

  1. #1
    Junior Member
    Join Date
    Jun 2000
    Posts
    2

    resolved

    First of all, I am a complete newbie to Flash!

    I generate variables through a server side application which normally would be displayed either as a part of a form or in tables.

    Now this variables should be read by Flash (that's the problem here) and after that certain action is taken.

    If I can easily assign this variables to forms using f.e. <INPUT TYPE="text" NAME="fieldname" VALUE="&[valueToAssign]"> how to I get Flash to read that "valueToAssign" variable?

    Does this make sense to you? Any help would be very much appreciated!


  2. #2
    Senior Moderator ®
    FK´s Banning Machine ™
    GMF ™'s Avatar
    Join Date
    Feb 2000
    Location
    Oslo, Norway
    Posts
    5,697
    Have you tryed the Actionscriptin section ?

  3. #3
    Junior Member
    Join Date
    Jul 2000
    Posts
    27
    Surely you can do it without ActionScript GmF?

    In the web page, find the line of the <object> tag that specifies the path of the movie file. Once found, do this:

    ... src="MyMovie.swf?flashVar=&[valueToAssign]" ....

    Once the flash movie has loaded, it will have a variable named "flashVar" that holds the value of your variable "valueToAssign".

    Good luck!

    Jay

  4. #4
    Senior Moderator ®
    FK´s Banning Machine ™
    GMF ™'s Avatar
    Join Date
    Feb 2000
    Location
    Oslo, Norway
    Posts
    5,697
    Jaygemson

  5. #5
    Junior Member
    Join Date
    Jun 2000
    Posts
    2
    Thank you Jay, that sounds like an easy solution and straight forward.

    Have a wonderful day.


  6. #6
    Junior Member
    Join Date
    Jul 2000
    Posts
    27


    Thanks guys! If you have any trouble with that then let me know ozwest - I'll sure try having a nice day, thanks a lot!

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