Right now, I have many MovieClips's in my array. I want to update all the alpha values of the MovieClips in my array.
Right now, I am using a for loop but this is not the fastest way to do it.
Is there a way to set values for all the items in my array?
Thanks!
...
var btn:Button;
if(btn != null && btn.label != '') {
mx.controls.Alert.show("d");
}
In the above if clause, is it guaranteed that the first condition(btn != null) will
be evaluated before the second condition?
...
Hi, i have to set the text format for some tokens in a plain text. I'm trying to use the Text Layout Framework to improve the speed of the operation but i've founded that TLF is far slower (10X in my tests) than the old setTextFormat(). For each token i call this function:
public function setTextFormat(format:TextLayoutFormat, begin:int...
I'm an actionscript developer and my next project is a traffic information capture system. I'm assuming that this project will require a lot of image processing and motion capture methods on images obtained through cameras. I know I can achieve this with ActionScript, but might require sacrificing performance and accuracy. Will Java be b...
How would I go about converting my actionscript 3 (on the timeline) into a class? As I am using the same functionality across multiple FLA files.
// IMPORTS
import fl.transitions.*;
import fl.transitions.Tween;
import fl.transitions.easing.*;
import flash.external.ExternalInterface;
// VARIABLES
mcToolTip.toolTip.blendMode = BlendMo...
I have a component that is supposed to load in an xml file and display it. I have that working however now I need the live preview to work as well.
Is it possible to load a file into the livepreview?
It seems the breakdown is that the live preview can not see it's file location, so it can not path to the files to load.
Thanks!
...
Hey,
I have a bunch of different tweens going on in different movie clips but it seems that sometimes the tweens will freeze halfway through during my transitions.
This guy is having the same problem and his question was answered but I'm not too sure exactly what they meant when they told him what to do: http://www.actionscript.org/for...
I have created a module in Flex like below:
modules/ModuleBase.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml">
// components here
</mx:Module>
So far so good - when this file is saved ModuleBase.swf is generated.
Now I extend the above and create another class:
ModuleChild.mxml...
I've created a player for a client in the past using their LimeLight server to stream videos and not had an issue before, however for a new client using different LimeLight server, the videos seem to be ending 3-4 secs too early.
My traces on 3 vastly different videos I tested:
metadata duration = 32 // 32 secs long, ends at 27
...
Hello, just a quickie (or maybe not:] ):
Is it possible to get somehow list of running applications/processes and, while running in background, check which process is active?
Additionally - if somehow, the answer was yes, is it possible to react for change of active window / application react just as if it was Event, or bind to it cust...
So I a few badges (MovieClips)!
The main idea is to generate a collection of badges with random numbers associated to them.
This is what I did up to now:
I created two different MovieClip badges, and exported them for ActionScript as Badge and BadgeHover
Within the BadgeHover the label has been transformed into a class with insta...
I have different cards, I need to reveal them in a wave like form, i.e. the cards open and close at different timings sequentially and systematically such that they form a wave.
I have the cards in an array alr. How do I implement this animation in the most efficient way? Thx!
...
I am currently working on a Flash socket client for a pre-existing service/standard. The service uses TCP flow control to throttle itself and the Flash socket is reading in everything as fast as it can despite not being able to process it as fast as it's being taken in. This causes the bytesAvailable on the socket to keep increasing an...
So I've been working on some Flash stuff for a client, and we're recently moving everything into a svn repo, so I need to get all of the class files to be included in the repo.
The issue I'm having is that I usually am the only one working on flash stuff, and this project is a little old, so I'm not absolutely sure which class files are...
In AS3, I have a Sprite that has a Z axis rotation applied.
How do I calculate that Sprite's dimensions (it's original size) from Sprite.rotationZ and Sprite.getRect(...)?
...
this seems a bit nutty:
var r:Rectangle = new Rectangle();
trace("initial rect: " + r); // (x=0, y=0, w=0, h=0)
var p:Point = new Point(-5, -3); // (x=-5, y=-3)
trace("point: " + p);
r.inflatePoint(p);
trace("inflated rect: " + r); // (x=5, y=3, w=-10, h=-6)
i would expect the result to be (x=-5, y=-3, width=5, heigh...
Is there a way to post to a users Facebook wall via fbConnect? (php/as3)
I can authenticate and pull info but not post anything. I have searched extensively and not found a working example or docs on how to post directly via AS3. My current work around is to external link to an Ajax page. blah.
J~
...
I want to create a swf or air app that takes an input and displays a graphic representation of it.
The graphic side is fine for the moment, but its always using an mp3 for example
var sound:Sound = new Sound (new URLRequest("myMP3.mp3"));
- i want it to be able to take a 'live' audio feed. How would I do that and is there a better w...
Is it possible for flash to access data from outside of the root directory of the server it resides.
i.e.
Root directory = /var/www/httpdocs
SWF = /var/www/httpdocs/flash/file.swf
XML = /var/www/xml/file.xml
Thanks!
...
I'm creating a generic flash navigation. I'd like to allow people to use their own fonts like sIFR. I know i can just create a swf file with a font embedded but i'd like to make it as easy as possible for someone to swap fonts so an existing method of creating a swf font file would be preferred.
...