Announcement

Collapse
No announcement yet.

set variable of flash object...how?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • set variable of flash object...how?

    Hi,
    I don't quite understand how this works. How does the flash object (or actually the swf file itself) use a variable set in AMS. Ideally, I would like a flash movie to react differently according to a user input.
    Thanks
    Yossi

  • #2
    Re: set variable of flash object...how?

    Well let's say in the .swf itself there is actionscript setting a variable, i.e.:

    myName = "Corey";

    You can then edit that value from AMS simply by setting the value of the flash object variable myName to whatever you like, i.e. "Yosik"...

    Corey Milner
    Creative Director, Indigo Rose Software

    Comment


    • #3
      Re: set variable of flash object...how?

      Oh I see, Corey. So you don't have to declare the var value in Flash. just set it in AMS, thus transferring its value to the movie, right?
      BTW, are you sure you want to change name from Corey to yosik??! :-)

      Comment


      • #4
        Re: set variable of flash object...how?

        [img]/ubbthreads/images/icons/smile.gif[/img] There must be a reference to the variable in Flash though, i..e the variable must exist. So for clarification you can't *create* a variable in your Flash movie but you can *set the value* of any variable which already exists.

        Corey Milner
        Creative Director, Indigo Rose Software

        Comment


        • #5
          Re: set variable of flash object...how?

          ok. I got it.
          Thanks, Corey...as always
          Yossi

          Comment


          • #6
            Re: set variable of flash object...how?

            [img]/ubbthreads/images/icons/smile.gif[/img] BTW Yossi if I waaassss going to change my name it would be to Prairie Como because I am truly the Perry Como of the Canadian prairies. I can put an unsuspecting badger to sleep at 50 paces with my cooing strains (my range for suspicious badgers is currently about half that).

            Nothing personal though, Yosik is a fine name too. I would also consider Quiche Richards, Stephen Livingston Seagal, or Swami Davis Jr. as well...

            Corey Milner
            Creative Director, Indigo Rose Software

            Comment


            • #7
              Re: set variable of flash object...how?

              lol

              Comment

              Working...
              X