ActionScript 2.0 :: Running External SWF At 12fps Only?
May 17, 2005
I have a main .swf that is a container for an external swf. The main swf runs at 40fps or so. So consequently, the external swf also runs at 40fps. I would like to have the external swf run at a mere 12fps because the swf contains a video. How can I make it so that the external swf runs at only 12fps?
View 4 Replies
Similar Posts:
May 17, 2005
I have a main .swf that is a container for an external swf. The main swf runs at 40fps or so. So consequently, the external swf also runs at 40fps. I would like to have the external swf run at a mere 12fps because the swf contains a video. How can i make it so that the external swf runs at only 12fps?
View 4 Replies
Feb 23, 2011
I need to launch an external exe (written in C++) using adobe flash AS3.
I have tried using fscommand and placing external exe in a folder "fscommand", but it doesn't seem to work.
View 2 Replies
Feb 16, 2007
let say i have this external class
Code:
class Test extends MovieClip
{
[code]....
View 2 Replies
Dec 9, 2009
I was just wondering if anyone could help me to figure this out - I'm afraid I'm really not sure what the problem is so I'll try to be as specific as I can, if you need me to provide any extra info then just ask.Basically I have a fla file -the menu of my game- that loads external swf files (the various game modes) when the user clicks a button. I can get everything loaded in fine, but it runs at a snails pace and occassionally generates errors (mainly caused by the game mode calling removeChild()) that don't happen when the 'game modes' are run as stand-alone swf files.
Does anyone have any idea what could be causing this? I remove almost all listeners from the menu before I run the game modes, so there's almost nothing that could be using up processor power that's needed for the game - it's a pretty basic game anyway so it shouldn't be processor-intensive to my computer anyway. I've spotted a few other topics similar to this, but they're either not answered or the solution doesn't fit what I'm trying to do.
View 2 Replies
Jun 16, 2010
I'm using Flash Builder 4 on a mac. I've created a JSFL file for building a few fla's and then testing my main SWF file. I'm trying to run this JSFL file as an external tool from Flash Builder 4 but when I select Adobe Flash CS4.app as the file to run the JSFL Eclipse warns "External tool location specified is not a file."
I have Parallels installed and if I point at a .exe file this warning goes away. Is this a bug? Why can't I use a .app as an external tool in Eclipse?
View 1 Replies
Mar 27, 2011
I am having a problem with loading external swf's. The external swf's when loaded.....run very very slow; sometimes unresponsive as if there is a script running in the background. I'm using keyboard commands to navigate through the screens - e.g.:
on (keyPress "<Space>") {
gotoAndStop("scene02", "firstframeLabel");
}
View 0 Replies
Aug 22, 2003
On Actionscript I found this really cool smooth preloader [URL]..In my example you see a pink button. This button sets the to be loaded SWF in a var and commands the Cover Over image to play (cover). After the Cover MC had reached the over-state (frame 15), there is a loadBar + an action giving a loadMovie command (it needs to be loaded into a MC called content)
[Code]...
View 1 Replies
Jul 5, 2010
I'm new at AS3. I'm pretty good when it comes to PHP, MySQL or HTML but I'm totally lost in AS.I have a project in Flash Builder 4 that I'm trying to add something to that was built in Flash Professional. It's supposed to loas a couple of external AS files, then execute functions from them at a certain point in the application. I know where I want the functions to execute in the application, and I have linked the AS files to "test.as" which is the main AS file for "testapp.mxml". The problem is calling the "Detector" function from inside "FaceDetector.as" which is one of the external AS files. What is the best way to do the following.[code]I want to start the script and let it do what it's supposed to do inside the application at that given time.
View 8 Replies
Mar 19, 2012
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.
View 3 Replies
May 11, 2009
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.
View 2 Replies
Sep 24, 2010
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?
View 2 Replies
Dec 22, 2009
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]
View 5 Replies
Jun 11, 2009
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");
[code]....
View 2 Replies
Jun 21, 2009
Is there a setting in Windows XP or Internet Explorer which prevents swf files from playing? If so, where is it? (The Flash player is installed.)
View 2 Replies
Aug 17, 2009
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?
View 3 Replies
Sep 17, 2010
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).
View 2 Replies
Sep 23, 2011
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?
View 2 Replies
Dec 25, 2011
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.
View 2 Replies
Mar 26, 2012
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".
View 5 Replies
Mar 5, 2011
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.
View 4 Replies
Apr 8, 2010
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.
View 1 Replies
Aug 10, 2010
So I am writing this action script program that will call a php file which will return the filenames inside a folder.[code]...
but I only got my php source code displayed as an output. Can someone explain to me how I can get the output of my php to display in flash.
View 2 Replies
Mar 18, 2011
Is it possible to get bonjour running in as3 in flash?
View 2 Replies
Dec 12, 2011
i've just started actionscript-ing and I encountered problems about tween... Basically, i want my object to fade out in 5 seconds... here's my code :
import flash.display.Sprite;
import fl.transitions.Tween;
import fl.transitions.easing.*;[code]......
When i started the movie clip and clicked the textfield, it somehow won't animate...
View 1 Replies
Jan 28, 2010
what kind of output we will get while runnig the swf file? whether we will get bytes while generating the swf file? is it true?
View 1 Replies
Apr 13, 2010
Well my SWF is running a bit jerky, and i was woundering if by putting a loader at the start of the animation if that would help things run?
View 3 Replies
Nov 16, 2010
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:
ActionScript Code:
var target = _root.attachMovie("Target", "Target" + _root.getNextHighestDepth(), _root.framework.depth[7]);
target._y = _root.framework.paths[attachlocation][0]._y
[Code]......
View 1 Replies
Jan 3, 2006
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
mc._x=200;
mc._y=200;
View 2 Replies
Mar 1, 2006
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)
View 5 Replies