I'm very new to flash and actionscript 3. I've been reading a lot about it and this is also my first aprouch on object oriented programming.
So far, I created an application with a login button, that's all. However, I would like to know what kind of things I am doing wrong or should be doing different (or better). I am using Adobe Flex ...
Hi I wanted to ask if there is a possibility to have both strings and radiobuttons in one column depending on the value of another column perhaps
|column1 | column 2 |
|r | radiobutton|
|s | string |
If there is an r in column 1 in column2 should appear a radiobutton, otherwise column 2 just shows a string.
Thanks ...
Hello community,
can someone tell me how I can identify the type of an object in flex? In particular I have an array where I store multiple types in (but all UIComponents) now as I evaluate the array I want to find out whether I have a TextInput Control or a RadioButton. Does someone have an idea?
Thanks in advance
...
I am using this class to load multiple images synchronously. Somehow the loader doesn't trigger any event (Event.COMPLETE, ProgressEvent.PROGRESS), strangely I also don't get any errors (using FlashDevelop and Flex3 SDK).
package
{
import flash.display.Loader;
import flash.display.Sprite;
import flash.events.*;
import ...
Because I want to avoid repetive code, and I'm using a lot of text formats, I created a CustomTextFormat class in Flex Builder.
Another class, called CustomInputBox.as is using this object to create a format:
package
{
import flash.display.Sprite;
import flash.text.TextField;
import flash.text.TextFieldType;
public cla...
Dear StackOverflow,
I recently started fiddling around with as3, which look pretty good, problem is I come from as2 and I'm completely lost.
I'm tring to import text from 4 text files then move them on on top of the other:
text1 x = 100, text2 x=150 text3 x=200 etc..
Here is where I'm stuck:
import flash.display.MovieClip;
import f...
i have a flash component on a dijit.Dialog.In Firefox 3, i cant click on the flash button.When i right click on the flash i get the tooltip(settings) far away from where i clicked.It's working on all other browsers.
I had to update dojo from 1.1 to 1.3 for IE 8 issue.After updating i seem to get this problem.Before it worked fine in doj...
I have one textfield and I set it's position to for example x=5, y=5. So I have it like this:
1-2-3-4-5-6-7-8-9-x
2
3
4
5
6 TEXT
7
8
9
x
Is it possible to set the textField in a way that the x y value are applied to the bottom corner of the textField like this
1-2-3-4-5-6-7-8-9-x
2
3
4 TEXT
5
6
7
8
9
x...
Hello,
I'm trying to use my swf Menu to change the Content swf below it which is in an iframe so the menu doesnt have to load each time, but having trouble linking the buttons..
My flash code is:
homeButton.addEventListener(MouseEvent.CLICK, homeButtonFunction);
function homeButtonFunction(event: MouseEvent) {
var targetURL:URLRequest ...
In a web app that I am writing there is web page (dashboard) which gets refreshed every 10 seconds. On refresh if there is any new data then I have to draw users attention.
According to me the only possible solution for this is to draw users attention by flashing browser's window. So if browser's window is not the active window then th...
I am trying to enable communication between Javascript and Flash via ExternalInterface across domains. The Javascript works great when it is located on the same domain as the SWF. But in one case, the HTML resides on domain A, the javascript and the flash both reside on domain B. I have done all of the following:
The embed tag has allo...
Hi,
I've been given a cheap, brandless 2GB flash drive. As I have a bigger flash drive, I have decided to use it for testing flash technology robustness.
I plan to write 1's all over the drive, check for correctness, write 0's, check and so on. I'll log the results, and seek for failures later.
I am looking for the most resource-savin...
Hello,
Wondering if its possible to communication from javascript to flash without the use of SWFobject or any other extra javascript file.
Currently I am using the following guide:
http://www.viget.com/inspire/bi-directional-actionscript-javascript-communication
Thank you for your time.
...
I'm working with an fla, an as file(document class), and a jsfl file. the swf is generated in the WindowSWF folder (e.g. $flash/WindowSWF)
I have a simple windowSWF and I'm using MMExecute and fl.runScript to pass variables from as3 to jsfl. I didn't imagine I would run into trouble if I would use objects though.
In my windowSWF I have...
I've created an object called loginInterface in flex builder. When this object is initialized it loads the login interface, creating buttons, input boxes and so on.
I created a method for this object called unload. I also have a method which returns whether the interface has been loaded yet. Now, I want to unload the object so that the ...
I'm using a Flex ColumnChart with a custom dataTipRenderer. I'm able to apply a nice skin with the dataTipRenderer, but am not sure how to move the datatip to be centered.
Is there a way to have the chart center the data tips over the column instead of the normal top-right alignment the chart does?
Instead of:
|tip text|
++...
I'm writing a real-time app using a Flex/Flash client and my own server running on Linux.
I'd like to be able to send data from the Flex client in real time (in response to user actions). I've tried the following methods:
flash.net.NetConnection.call()
flash.net.sendToURL()
flash.net.Socket.write() followed by flash.net.Socket.flush()...
I am beginner so have some doubt about Adobe AIR.
How do I install my AIR project in linux, or mac os because my project out .air(execute file).os does not support execute file ?
Does it support multi language in Adobe air? And one more, how can I embed css not use an external css file?
Does it support live streaming video in deskto...
Hello,
I have produced a website for a design company
http://www. paul bro okes des ign dot com
As you can see the first page has a flash image fader on it. This works totally in Firefox on all computers. But in IE on several computers, this fails to load... only getting to 25%, or 44%.
On my computer this loads 100% every time in I...
I'm new to object oriented programming and flash. As far as I know, global variables and functions are evil things. We have to use objects, right?
So far everything is going pretty well, apart from when I want to eg. create a log function which will write a debug message to a textfield object.
The problem is that I need to be able to u...