A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: external variable help please another question

  1. #1
    Junior Member
    Join Date
    Feb 2001

    external variable help please another question

    thanks for the code earlier worked great sorry for being nuisance

    but i got another question

    i am trying to load a variable txt file in to the main time line in flash and i want to also set a variable in the txt file that will change the document color in my flash file is this possible can you help please

    thankyou in advance

  2. #2
    Resident Shostakovich Scholar
    Join Date
    May 2003
    Nottingham, UK.
    Practically anything's possible in Flash, so long as you know how to be sneaky and inovative enough.

    I'm not sure you can change the document background in AS, but you can always get round that problem with having a mask (symbol with an instance name) covering the document, acting as a background. Then, in your variable you store an RGB value (i.e. a colour). Then, with the conventional colour tools in AS, you can set the symbol instance to that colour.

    I don't know the exact code for colouring in AS, it's not something I use, so you'll need to look into that.

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