PDA

View Full Version : a question for the pros...


samWhisker
01-12-2006, 05:10 PM
i have a question but i also am kinda askin for a solution to! the question is i want to know if i can import dynamically an actionscript file, these from my understanding are named *.as

i am makin an app where people can change the colour of a movie clip, depending on what colour they choose(this i can do using actionscript i know that) the app will remmeber this colour everytime it loads, its a long story, and i know there would be other ways of doin this but i think this method and potential solution is my best option!

so what i need is when flash loads as a projector it loads a *.as file that i have saved(via php) on the hard drive! so i can give the same one projector file several different looks depending on what *.as file is loaded? does that make sence??? im doin a kind of customisable template?!?!?

so can i import *.as files to be read by a projector and any sugestions on a starting place??

cheers people i would love to get ur advice here!

also if anyoine knows what the hell i am talkin about any better ideas for takin the users inputted choices and saving there preferences!!

SamWhisker...

i tend not to make sence its a gift and a curse...:eek: :eek:

Xeef
01-12-2006, 05:30 PM
no you can't dynamicly import a *.AS file
because it needs to by compiled wich an AS file isn't

what you can do is make a separate SWF and load this



for saving lookup "sharedObject" it's a sort of coockie

silverfish
01-27-2006, 12:36 AM
what you can do is make a separate SWF and load this


or make an xml file and load it - see doc on XML class