How to recive an array from flash vars?
So I have HTML page. with flash app on it. I vant to send an array to flash. How to do such thing using flashVars (I have something like uid=12&sid=12&sid=32&sid=12&sid=32) so i need to get dinamic\random\beeg\unnown number of Sid's not losind UID how to du such thing?
btw I want to pass in an ...
I'm creating an actionscript project in Flex Builder. I succeed to export from Flash a SWC file, and to use it succesfully in Flex. I have a good programming background and Flex looks very simple for me, but I have difficult times in flash.
I'm trying to achieve something that might be very simple(not for me of course):
I create a simp...
I'm creating a game and I create sprites(enemies). I keep creating and destroying sprites. Flash/Flex has a garbage collector which handles the destruction of unused resources. Should I create an object pool to reuse them, or should I leave flash/flex to handle the creation/destruction of objects?
Which option is better from the perform...
Hi,
All i want is to pass a HTML (DOM object) from javascript to Actionscript.
i saw this article on the net and tried a similar code.
But when i execute the code in IE, it alerts : "Out of memory at line 18". I'm stuck here from yesterday.
i'll post the mxml and html here..
The MXML :
<?xml version="1.0" encoding="utf-8"?>
<mx:...
We've configured our Flex client to have two channels for calling our services via BlazeDS.
One channel is configured to use AMFChannel and the other for HTTPChannel. Here's the services-config.xml
<channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
<endpoint url="http://{server.name}:{se...
I have a function that restores all of the default settings of my application. This process can take a bit of time, so I would like to implement a "Please wait..." modal popup to let the user know that everything is alright and the program hasn't frozen. Once the function completes its task, I'd like for it to remove the message, and res...
Hi guys,
Maybe I'm googling for the wrong thing but I can't find anything on this.
How can I change the line height of a Label element in Flex?
I have two labels in a VBox and there is quite a lot of white space between them which I would like to reduce. There's no line height property and setting the height property causes overlap.
...
I have this situation with some scrollbars in my Flex app:
If I click on a scrollbar and drag off the Flex stage, the bar stays focused. As I move and click around the page outside of Flex, the bar follows me.
Here's a video of the problem
I've tried putting an Event.MOUSE_LEAVE handler on my app but that won't fire if I mouse down and...
I'm skinning scrollbar in my flex app and got one problem.
This white square between scrollbars(view the image) ruibs all my design and i need to disable it, make it invisible, change it background color, alpha or smth like this.
I can paste some code here but i think there is no need in it.
Working in Flex 3.
any ideas?
...
I have the following MXML:
<mx:Script>
var someBoolean:Boolean = determineSomeCondition();
</mx:Script>
....
<foo:MyComponent somePropertyExpectingIDataRenderer="{
someBoolean
? new Component1ThatImplementsIDataRenderer()
: ...
Hi Flex developers,
I'm trying to place a popup window (TitleWindow) in the middle of the main application window. how do i set the coordinates of my popup window to be of the main application window?
i tried the localToGlobal function but with no luck, I just can't get the main window x and y.
Thanks in advance,
Uzi.
...
Hello Community!
I'm having some issues displaying a linkbar.
The data I need to display is in a XML file.
However, I couldn't get the linkbar to display a xmllist (I did indeed read that you cannot set a xmlllist as a linkbar dataprovider... ). So, I'm transforming the xmllist in a array of objects.
Here is some code.
XML file:
<d...
Hiya
I've read on the net that there is the flex component kit for flash that allows me to convert flash symbol to flex component or container.
I tried installing Flex_Skins_12_05.mxp that suppose to enable these features in flash cs4 but under the commands tab i can't see any commands related to flex conversion.
can someone please for...
Hi everybody,
I have a dataGrid with a custom itemRenderer. Everytime I tab at least two times on the dataGrid, the cell below the one I taped gets selected. This doesn't happen if I uncomment the code in the method saveBackDataGridContent()!
The second problem is that if the Line is shorter than the entered text, a horizontalScrollBar...
I'm very new to Flex and I have what I think it a head-scratcher.
I am building a little Flash app that will consume some web services over HTTP. When I am in Flexbuilder and run my app there, it works fine. When I goto to my FlexBuilder project on my OS and double-click on it, it works fine. When I zip up my bin-debug file, I get th...
I'm having trouble changing the font size of my TextInput tooltip. The text input looks like this:
<s:TextInput id="first"
toolTip="Hello"/>
then I create a style like this:
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/halo";
mx|ToolTip {
fontSize: 24...
In Flex ActionScript, a new object can be instantiated via the parameterless constructor with or without (). Example:
var array:ArrayCollection = new ArrayCollection()
or
var array:ArrayCollection = new ArrayCollection
Is there a difference between the two? Is one preferred over the other?
...
FYI, I'm a Flex newbie.
I'm trying to create a Flex application that can automatically shrink based on the size of the components that it contains, so that a user can shrink it to a minimal view to see more of the HTML page it's embedded in.
I know how to change the size of the whole application using ExternalInterface, but I'm having ...
I have my main state which contains a canvas. It loads functions and everything is added to the canvas.
now when I change the state and go back to main state I get that error.
I've entered my whole app. So main is the start state. I then switch states to contactform. NOw after when i switch back to main from contactform i get that er...
iam new to flex ,
can any one say ,how to validate the radio button is selected or not in flex 3
if my question is wrong ,plz suggest me any thing regarding the validation of radio group
plz help me ...........
...