I have an array that returns multidimensional data from an mysql database, when this is collected the createNews function creates the user interface. The problem I am having is the loop is iterating quicker than the UI is being created, is there a way to use event listeners with loops so it only continues after my function has completed ...
I am completely perplexed. I asked this question and it (any mentioned solution) doesn't seem to be working at all.
All I want is to draw a line from one corner to the other.
Here again is the link to the SWF file I have (it's embedded in an HTML document): test.html
Here is the source:
package
{
import flash.display.Sprite;
...
hi
I want to build a "Form builder" like this one in Flex 3: http://www.phpform.org/
I need to add Buttons, TextArea, TextInput Controls and other form-elements to a List based container at run time and allow drag and drop support for reordering of those elements.
When I try to add Buttons, TextInput & TextArea Control to a List only ...
i have some problems with embedding swf into html page. Customer asked me to add some round corners to my application. I added. Then the design of the has changed and instead of black background i got ragial gradient(
So, i need to make the corners of the swf transparent, but don't know how.
wmode=transparent and backgroudAlpha param d...
How can we get data from the server in an asynchronous way in Flash? I am looking for something like XHR in actionscript.
...
How to enable special characters in var txt:TextField = new TextField();
in action script 3.0.
var tf:TextFormat = new TextFormat();
tf.font = "Verdana";
tf.size = 12;
tf.bold = true;
tf.align = "left";
var txt:TextField = new TextField();
txt.text = _label;
txt.embedFonts = tr...
this.createEmptyMovieClip('mask_mc',0);
bg_mc.setMask(mask_mc);
var contor:Number=0;
// function drawCircle draws a circle on mask_mc MovieClip of radius r and having center to mouse coordinates
function drawCircle(mask_mc:MovieClip):Void{
var r:Number = 20;
var xcenter:Number = _xmouse;
var ycenter:Number = _ymouse;
va...
When you select text in a Text or Label or TextArea (or other) control in a Flex application, the selection is shown in white text on a black background. Always.
I have a request to change that — and it seems to be a simple enough thing to want — but I can't find a style (or property) anywhere that permits that. Any ideas out there abou...
Hey i wanna do something like this:
i=2;
_root.("process" + i)._x = var_Process_Pos_x;
how it is possible?, correct syntax please.
...
Since there is no way that you can make the flash object transparent, there needs to be some other means by which you can match the background. I thought of maybe creating a ActionScript/Javascript bridge, but I wonder if this is the route to take.
Do I have a better option?
...
All,
On the main stage I have a button that is highlighted on rollover. I am using mx.managers.CreatePopUp to create a dialog box that pops up and takes user information. When the dialog box appears above the button, mousing over the dialog box triggers the highlight for the button beneath it.
Can you provide some suggestions as to wha...
I have seen a lot of codes regarding how to bind property in Flex project. Such as this code in Flex Help:
var watcherSetter:ChangeWatcher =
BindingUtils.bindSetter(updateMyString, myTI, "text");
However, I am creating Actionscript class within Actionscript Project, and I cannot import mx.binding.uti...
I want to put shortest int in shortest:
shortest = 500;
for(i = 1; i <= _global.var_process_count; i++)
{
if(_root["process" + i].process_time_original.text < shortest)
shortest = _root["process" + i].process_time_original.text ;
}
what's wrong with above lines of code?
...
hmm... subj! need to get item that is highlighted and add some listeners on it. the problem is that i don't know how 8(
...
Is there any way to detect pen pressure in actionscript?
...
hey everyone.
Lets assume i got 3 .flv files in a folder. How can i create a flashplayer which can read the amount of .flv files from that folder and play them. And if example, i add 2 more videos to that folder, the flashplayer will detect them too, and play them chronologically after the name, date, etc.. ??
just need some guide or ...
If you go to http://moederdagontbijtplacemat.nl/ you will see a progress bar. The application is loading a fairly large SWF from the server using the Loader class. Strangely enough, the progress bar immediately goes to 100% (but the loading still takes a while after that). The code is below, but you'll see it's basically too simple to br...
I'm thinking about how to approach the problem at hand. There's a flash movie that requires a lot of relativly small images and I'm trying to optimize the time it takes for them to be preloaded.
One thing I've considered it turning on KeepAlive in Apache on the server side. That works. But my mind still wonders if there's anything else ...
When I execute the (2nd) below code with a wrong url (number '1' added at the URL end), I get the below error. How can I catch this error, in case the url is wrong, so that I can give out an error message to the user ?
Error opening URL 'http://localhost/myapp/cgi-bin/savePlanScale.ashx1?NoCache%5FRaumplaner=F7CF6A1E%2D7700%2D8E33%2D4...
so live docs says this for calling .lenght() on an XML object
For XML objects, this method always
returns the integer 1. The length()
method of the XMLList class returns a
value of 1 for an XMLList object that
contains only one value.
i called it on an xml that looked like this:
<xml>
<picture>1</picture>
<picture>2</pictu...