
November 12th, 2001
08:20 PM
Neverside Newbie
Status: Offline!
Importing
Our school system had a day off today which is why I'm posting so much. Anyways, I'm wondering, is it possible to import a javascript ".js" file into Flash? I don't mean as a download or link. I want it to just execute itself in the Flash movie.

November 25th, 2001
05:32 AM
may i know what's in your JS ?
___________________
Aashu = THE DIGITAL BLAST
http://www.aashu.f2s.com
aashu@f2s.com

November 25th, 2001
11:55 PM
Neverside Newbie
Status: Offline!
Well, it's mainly a script to sorta float some gif files (snowflakes) around. I know I can do this with Flash but it might take a while to get right. Actually, I think I would have to change a lot of things though. The JS script uses layers and divs and has a detection script to differentiate which one to use depending on the browser. I'd have to change quite a lot I think.....
On the subject, am I allowed to call on Actionscript to put a symbol(s) from the library onto the stage at a certain time and at a certain place? That's basically what my script does. Takes 2 snowflake images and randomly chooses which one to put and randomly chooses where on the screen to put it and how much it floats from left to right from the origin.

November 26th, 2001
04:48 AM
flash supports only normal html tags like bold italics center etc., if you using much complex code like u said layers etc., i hopes thats r not supported ...
but yeah wat you said its possible to do with Action Scripting ...
i hope u just wanna show 2 random pics at 2 random place ... its possible to do via simple actionscripting ...
let me know ur views 1st ...
___________________
Aashu = THE DIGITAL BLAST
http://www.aashu.f2s.com
aashu@f2s.com

November 26th, 2001
06:25 PM
Neverside Newbie
Status: Offline!
Ahhh....I see. Well then I think I will have to make the random pics and random places and then have it play a movie clip where I animate a snowflake symbol downward with a path. 