I've got a movie that loads quotes automatically, and it continously loops, so that a variable that has been initialized in the 1st frame as 1 can increase. This allows the quote (there are 6) to be loaded sequentially.
But, it won't run correctly...what the heck do i do? (I'm a C programmer too, so I tried using "static" but that didn't work)
I have a strange problem. When I run an exe projector that I exported from flash cs5.5, and on few of my client's computers it running very slow in full screen.When I running an swf file (not exe projector), also in full screen, it running well!I checked my clients computer hardware, and it match the system requirements of flash player.
I have a problem in Flash Site uploading.That is, i have created a flash site & in the dreamweaver i inserted the flash site as insert -> media -> Shockwave.The site is running inside the dreamweaver but when i publish it, flashsite is not running.
I'm trying to migrate a large project to Flex 4.The problem is that the AIR version must be compatible with old MACs (without intel processors) such as G5. As far as I know, only AIR runtime 1.5.3 works on these machines, but Flex 4 requires AIR 2.0.Is there any possible way to deploy an AIR application built with Flex 4 components on these MACs?
I searched everywhere for a peice of code to prevent a web page from loading when it is not on a server.Finally found this one and I swear it was working last night.Am I placing the function in the wrong place?I have everything in 2 framesif the flash swf is currently running on the propper server it should skip to frame 2 and if it is running on a computer or the wrong server it should stay at frame 1.[code]
I've got a function which looks at movieclips (ball#_mc) which have been placed in a target zone (_ballPlaced[#] boolean). It then decides where to go on each movieclip timeline depending on which other balls have been placed in a target zone.Only the first condition is ever met, i.e. when all the balls are in a zone, they jump to their correct places in their timelines....however, it doesn't work for any of the other 'else if' conditions?
Here's my code...
// function to determine which video to play for each ballprivate function playVideo(event:Event):void { if (ball0_mc._ballPlaced[0] && ball1_mc._ballPlaced[1] && ball2_mc._ballPlaced[2] && ball3_mc._ballPlaced[3]) { ball0_mc.gotoAndPlay("BluYelRedGre");
Is it possible to have more than one timer running?I have various movieClips that I want to do something for a certain amount of time then do something else, but I need them all to be running at the same time. Before I embark I would like to know if (so long as the timer is running inside the movieClips timeline and not the main timeline) will they work independently?
I'm wondering if this is possible.I have a local swf file.I'd like it to run automatically when the computer starts up.I would also like it to run full screen in the second monitor (graphics card is set to split the screen).
I have two MC's.One has a tweened animation that I want to run within the main MC. The tweened MC has on frame one a stop() command and on frame 2 begins a tweened animation. I've place the tweened MC inside the main MC. At the point at which I want the animated MC to run I use the mc.gotoAndPlay(2) command which indeed moves to that frame but the tween doesn't run. The tween runs fine if I remove the stop() command on frame 1. Why this behaviour?
How can I know if a timer is running, and if it is, remove it and create a new one or not. I have put a timer in my main swf when the timer is over I send the head to frame 1 and run to frame 20 where is my code, the problem is that every time the timer is over go to frame one and in frame 20 create a new timer, I would like to remove the old timer or not create a new one if there is one.
I'm working on a project which will be embeded locally, and im in need of a solution to make a pop up swf that loads upon click of a button from another swf.
All the solutions i can find work for uploading to the web...however dont work locally.
So im guessing im looking for something along the lines of "onclick load swf _blank".
I work on a lot of digital media projects; which often require dynamic graphics. I find flash to be a great tool for this purpose. It's very easily to dynamically change text inside a swf, compensate for text overflow and apply lots of nice filters and effects. Not to mention font embedding. This technique works great for web pages, however quite often we want to use flash generated artwork in a html email. How can we do this? Well, we can use as3corelib to generate a jpg from a swf, and then use the generated image in an email.This is fine, so long as we can pre-generate all of the images, before sending out the emails. But say we need to generate the dynamic jpeg on the fly from a webpage? If the user on the webpage has flash installed we could configure a swf to generate the image for us.But what if the user has flash disabled? Maybe they are using an ios device or simply don't like flash. What I would like to do is set up a server side fallback that could run a swf, replace text in the swf based on supplied variables, generate a jpg using as3corelib and save the jpeg somewhere. The trick here is running flash player on the server. It would also need to run in a multithreaded way in case the server needed to process multiple requests.
I'm wondering if there is a way for a SWF to check at runtime whether it is running as an online SWF or an AIR app? I need to use the same SWF to run both online and locally, however when running as an AIR app, external assets are located in a different directory. I'd like to check whether a SWF is local or online so I can change the source path for external assets accordingly.
I have a set of movie clips that are attached to the stage every so often. The attached movie clips all move independently with their own class code. After I changed something in an unrelated class, my attached movie clips only run their onEnterFrame() code once, instead of once per frame. I called up the list of variables, and my movies (which are passed into an array) are all "undefined". I'm not really sure whats causing these movie clips to not run their code properly. This is the code for attaching them:
okay i have 2 nav sections. one starts to animate it's "entrance" and in the middle of it, i want the other to start running.
i can't figure out the best way to call the 2nd one to run. attachMovie? or what? and how/where do i attach it: root, level1? i'm afraid i don't get it.
oh and with attachMovie: it just attaches the movie with x=0 and y=0 (the top-left corner). is just following the attach code with
editing my website a friend bult for me in flash..i have flash cs4 when i import to library all i seem to get are lots of symbols a few gifs and my video file , and the main swf ...trouble is seem to be unable to edit any of it .... i need to update a picture and add some text to it ..
just tought i would add... i downloaded the contents of my my website via dreamweaver to a folder on my drive then imported into flash
I would like to sepated functional components according to the application running my SWF file. For example: When running from the Adobe Flash Player - Add button, and when running from a browser (firefox, explorer, chrome etc.) - Don't add button.
When I run the section.swf on its own, the onload function works, and the "doing stuff" code runs. But when I load it into main, this onload (within the section.swf, above) does not run.
I have this script that makes random bubbles comes up. I need to have the script stop when it gets to the next scene, but it just keeps running.I have tried an
onEnterFrame.removeMovieClip("bubble");but that didn't work.
I making a game in flash and I have a timer counting down 30 seconds and when the timer runs out I want it to go to a different fame! I've no idea how to do this.. the timer is working at counting down 30 secs .
This is the code I'm running, everything to the best of my knowledge is in order, however when I run the SWF none of the button's work, I'm not getting any error messages.
I got this "random walk texture" from actionsnippet.com and it says "This snippet is meant to be run as a document class"
[Code]...
i've tried making it a class and running it through another fla file with its document class set to the class filename.. doesn't work, throws up weird syntax error with random symbols.. what else is there?
is there a way to speed up flash movies playing when put up on the web. I created a web banner and uploaded it, when I open the website on the browser the flash movie pauses for a few minutes and does not play straight away. Is there any actionscript that will ensure the flash movie will play instantly when on the web? Is it the file size that is causeing the swf to run slower? Is it anything to do with the publish settings in the fla file?
I making a game in flash and I have a timer counting down 30 seconds and when the timer runs out I want it to go to a different fame! I've no idea how to do this.. the timer is working at counting down 30 secs .