That's really helpful, thank you very much. I've been a bit slow to think about transitioning to AS3, but this is the kind of thing that makes me think it's long overdue...
Thanks for that, but I'm not sure how I would make that work with my existing code. Here's the line I'm currently using to import my JPG:
inner_mc.loadMovie(nodes[i].attributes.image);
((nodes[i].attributes.image) imports the JPG filename from the XML file)
I've tried writing this:
image1 =...
Hi,
I have a SWF which imports JPGs at runtime, using references imported from an XML file. Consequently, the JPGs themselves are not in the library of the FLA.
Ordinarily, when a JPG is present in the library, you can select it's properties and check the box 'allow smoothing' to make scaling...
I have some AS2 code that has a lot of duplication to control various buttons and MovieClips and was wondering if it's possible to streamline this code using a 'for' loop, like I would when attaching MovieClips dynamically.
Here's the code as it's currently written:
//----------- INIT VARS...
Is there a way of retrieving which frame number of the timeline a movieclip has reached?
What I'm trying to do is create a preloader that has an animation (a moving wave type effect) and then when the preloader has completed, the animation transitions seamlessly to the same animation in the...
Ah, I see. Thanks - I'll pass this on to the guys writing the HTML (I'm just developing the Flash element) and see if it helps them.
Originally I thought it might be an obscure problem with the Flash file itself.
Many thanks for your help.
I'm creating a Flash unit - in CS3, with AS2 to run on FP8 - to 600px x 150px with a white background and a light grey border. The unit will sit in a webpage that is predominantly white.
The movie has movie clip elements that appear off-stage and then move onto the stage, play and then move...
Well I think it should be simple, but I just can't get it to work.
I have a movie clip that needs to contract in height and then expand back to it's original size repeatedly. The code I have looks like this:
high01_mc.onEnterFrame = highScroll;
function highScroll(){
if(this._height > 100){...
Thanks so much for your help - this is working for the rollover and rollout.
The 'gotoAndStop' for the onRelease button is not working, but I'm going to try and see if I can figure it out based on what I've learnt from you so far.
If I can't fix it, I may be cheeky and ask for your help again...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.