HI,
I need to loop through an array and for each element create a textfield. My problem is how to create a new identifier for each new TextInput
this is my code;
var count:Number = 0;
for (var i:String in columnsData)
{
var myTI:TextInput = new TextInput();
myTI.width = 70;
myTI.height = 25;
myTI.text = columnsData[i];
myTI.name = "my...
I currently have the FLVplayback component on my stage, however, I have the autoPlay set to False. This is a problem because I want the stream to only start downloading when the user presses play.
Also, I would like to be able to stop the stream from downloading when I click away from the page with the video on.
Thanks in advance.
...
Hi,
I have a tile layout containing a list of TextInputs and text fields , i have created these fields in a custom component using the following code;
var newTextInputs:Array = [];
var newTextLabels = [];
var space:Number = 30;
var count:Number = 0;
for (var i:String in columnsData)
{
//create text labels
var label:Text...
I have a Flash project that I'm working on that will eventually need to be ported to multiple languages.
My approach was going to be to load an XML file that held the localization information, much like the resource files in ASP.NET
I was wondering if there is a better approach to this, or if this is going to be the most straight forwa...
I have a function defined in AS3 that's gonna be called from client side via JavaScript. The AS3 functions simply print some value on SWF screen when it's called.
It works fine when I set an onclick event handler to a button and call the AS3 function. However I want to call this AS3 function as soon as the page loads. I am using jQuery ...
Is there an easy way to replace the ScrollPane scrollbar with the OS's native scrollbar?
Flash applications look much more integrated if they have the same skinning as the user's operating system -- which isn't always easy to detect (Vista Aero vs. Classic?).
Have you guys come across any examples of Flash apps doing this?
...
I'm creating a MovieClip subclass (let's call it MyClip) that I want to use for several library assets. I'll be instantiating these movie clips from ActionScript code. MyClip has a constructor parameter that allows it to set the initial values of certain properties.
Since I want to use it for multiple library assets, the logical way to ...
I have a preloader in my flex application:
public class Preloader extends DownloadProgressBar
{
private var _preloader:PreloaderAnimation;
public function Preloader()
{
super();
_preloader = new PreloaderAnimation;
addChild(_preloader);
}
public override function set preloader(preloader:S...
Here's our problem, we are a Flex shop that uses .NET for the server side logic. We use subversion for our source control and subeclipse in Flex Builder but are still quite new to using source control let alone subversion. Branching and merging seems to work very well on the .NET side but we are running into issues on the Flex side bec...
Where can i find information on the differences between compiling a swf in release or in debug? I would like to know about differences in terms of file size, memory consumption, and overall.
...
Is there an existing javascript library for relaying key press events in the browser (or certain divs) into flash? I am hoping there might be a library kind of like this one for mousewheel events ?
Something like this handles javascript keyboard shortcuts great. I suppose I could just listen for those events and pass the ones I want i...
I have several bitmaps in my flash library that I have exported for Actionscript. Now depending on the Flashvars I receive I want to load the corresponding library bitmap.
How do I load a bitmap class dynamically?
...
As you know the format is like:
"YYYY-MM-DDTHH:NN:SS.ZZZ+XX:XX" (i.e. "2009-03-24T16:24:32.057+01:00")
I have to do it in a ActionScript3 class but any source will be appreciated, thanks.
...
I making a web app in Flex using global coordinates
I get the coordinates as strings from a web service then I do something like this:
latStr:String = "28.7242100786401";
longStr:String = "-106.12635420984";
var cLat:Number = new Number(latStr);
var cLong:Number = new Number(longStr);
This works PERFECT on IE and chrome, from the we...
Given the following code :
<body>
<img src="source.jpg" />
<p>
<img src="source.jpg" id ="hello" alt="nothing" />
<img src="source.jpg" id ="world"/>
</p>
</body>
What's the best way - using a regular expression (or better?) - to replace it so it becomes this:
<body>
<img src="source.jpg" id="img_0" />
<p>
<img ...
Hi, I am new to Flash, I am trying to create a class for a symbol.
I created a new Flash file, drop a DynamicText, convert this DynamicText to a Symbol called "TextBox1"
Then I created TextBox1.as in the same directory as the .fla I just created.
package
{
import flash.display.*;
public class TextBox1 extends MovieClip
{
public...
**In this Developing site URL ( http://slide.zhoyosoft.com ) one intro animation is there .
How do Identified that intro animation is flash animation or flex animation ?**
...
In php setcookie function based to store it . but flash is it possible ?.
if it is possible then how ?.
Plz help ... because i want to store value ...
...
I've a TextArea that I want to use for code input (xml). How do I allow for entering tabs (pressing tab moves focus to nect control)?
...
I have a weird quirk in ActionScript. I need to pass the index to a callback function.
Here is my code
for (var i:Number = 0; ((i < arrayQueue.length) && uploading); i++)
{
var lid:ListItemData=ListItemData(arrayQueue[i]);
var localI:Number= new Number(i); // to copy?
var errorCallback:Function = function():void { OnUpload...