Hi,
I had no problem working with xml in cumbersome AS2, but apparently it's menat to be easier in AS£, however I'm having a problem getting the data from this piece.
Basically I need to be able to access the id & src. any help appreciated
Thanks
...
I have a Spark List with a custom ItemRenderer. The ItemRenderer contains a custom component that is visible only when the ItemRenderer is in the selected state, e.g.:
<components:MyCustomThing id="customThing" left="158" top="22" includeIn="selected"/>
I've stripped down MyCustomThing to the bare essentials, namely:
<?xml version="1...
What's the purpose of getting/setting values when you can just reassign the value? Is it just because you can get/set private variables?
...
Hi,
I am new to flex, actionscript and flash builder (having to do an upgrade to an existing project).
One of the problems I seem to have is that the Autocomplete component that seems to be part of flex extras is not displaying the list of items in the dropdown list. Basically, I get a list of blank items. I know they are there and they...
for example i have object one a Textinput haveing id="
id_txtBox
", and a panel having a lot of children(TextInputs, Trees, Buttons etc.)..
if user is editing text in one of panel's child and then clik on "id_txtBox". can we get to know
the id/object user were editing before
the click on "id_txtBox
". i mean from which obj...
I'm using UILoader to load SWF files which I have no source for. These SWF files were created in AS2. They use masks. Width and height return unmasked values.
I'm trying to find the visible width and height of the clip so I can scale it properly.
For example I want a SWF to fit within a 50x50 space. The visible SWF is 65x65 (but I don...
Hi guys,
I want to save the movie clip as a jpg.
got few example which uses the Adobe JPEG Encoder class which converts the image to byteArray, and then pass the byteArray using PHP to display the image.
But i could not find a example where ASP is used, also i want to store that image into a MS Access database.
And then display back th...
I'm working in Flex 4.1, and I have a viewstack and tabbar as my main navigation. A user logs into the application and should then only be able to see what tabs are available to his user level.
I am trying to stick with MXML as much as possible, since it works well with the framework. But I'm goin numb thinking about this. What are the ...
I know AS3Commons-collection framework is a good one, but it can't use in ComboBox, recently
I try to use LinkedSet data structure to retrieve and store data in ComboBox, any one can help me? thanks in advance.
...
Why this:
for each (var dieListener:Object in dieListeners)
{
var f:Function = (dieListener as Function);
f();
}
..doesn't work, if this:
for (var i:int=0; i<dieListeners.length; i++)
{
var f:Function = (dieListeners.getItemAt(...
OK, it's probably easiest now to explain my problem like this, I am able to write the name of my xml file that needs to be loaded to a dynamic textfield on the stage, however, I don't seem to be able to access it after this and strip the necessary data from it, here's my code:
var tf:TextField = new TextField();
tf.autoSize=TextFieldAut...
I am aware that there is already some threads within the Q&A about this although nothing specific to my needs. I am trying to pass a SOAP header username and password yet can't find a way to achieve this. I have imported and am using the Flex SDK within Flash which supports WS but cant seem to implement the headers correctly. I am now co...
Hello i'm trying to drag something, and on stopdrag it should start a function if certain requirements are fullfilled. My code looks like this.
if(e.target.dropTarget.parent == targetName || e.target.dropTarget.parent.parent.parent.getChildByName("cloud").getChildByName("itemPlacer").getChildAt(1) == targetName){
I got 2 questions, fi...
Im currently working on a website and have a flash gallery up and running but would like to be able to link clients to a specific photo in a specific gallery. How would I go about coding this, because i know that it is possible but i cant figure out how. I am using Flash CS3 and AS3.
...
I don't find input text filed example on adobe Flash Text Engine help page
...
Hi guys,
I developed a flex website, the web explorer always caches swf file which embedded in HTML. Sometimes I make changes to the flex file, clients computer still view the previous version which stored in cache.
How can I force client's web explorer to reload/refresh the swf file?
Thanks
...
There are two Sprite's hit tests, one check the object (and have no precision on the curves) and the other check a specified (x, y) point. But, having curves drawn using Graphics.curveTo(), how do I check if 2 drawn curves are colliding?
I'm not sure if this is an actionscript or a math problem... I want to check all (x,y) of a curve to...
I'm new to Flash/AS3 and I have been trying to display objects from class files and methods.
Now I was looking at the source of this project here
http://www.nocircleno.com/graffiti/examples/2.x/simple_text_demo.html
To learn how to do this from AS3, main question I have how is the Main() class being called there? There is no actionscr...
I am using google maps api on my Flex website. My website has ssl.
So the issue is, everything was working fine a couple of days back, but the google map api stopped working suddenly. And I can not see the reason.
my code for maps looks like below:
<maps:Map
id="map"
mapevent_mappreinitialize="{init...
So my problem may be a little bigger than that, but I'm not certain. I'm creating a custom flash photo viewer for a client that dynamically loads the images with Loader objects. It takes a folder name in a specified directory on the server and calls a php page (using URLRequest) to get the workable contents of the folder. And then it loa...