I am having some trouble with the flex Tree control.
I have a control in my system and of course it is data driven.
I have a group which shows a folder icon and that's fine but it also shows an expand icon when the item has no children.
I don't what it to show the expand icon when the group has no children but I do want to show the fol...
I am using the as3crypto library to encrypt mp3 files in an Adobe Air application. The code below runs without error but I realized that only the first few bytes of the mp3 file are getting encrypted but not the whole file.
I have no idea what’s the problem. Could someone please be so kind and have a look at my code below?
import com.h...
Hello, I have some problems running FlexUnit tests in IntelliJ.
Every time I execute test, Internet Explorer (which is not even set as default browser) pops up and blocks unit test, i.e. blocks it as add so I must allow access through that dumb top bar and then another confirmation and then finally test runs. Is there any way to reconf...
Hi guys....
I am trying to get the percentage x coordinate of a MC. For example, My MC is 500px wide and 20px height. When I clicked the part of my MC, I want to get the percentage of my MC' x coordinate... (20% will be 100px of my MC...)..Anyone knows how to do it?? Thanks..
my code
progressBa.addEventListener(MouseEvent.CLICK, bar...
Here is a simple example of what I mean:
private var ex:String="day";
......
closeWindows(ex);
trace(ex);//I would like it to trace "night"
......
//this can be in another class, we assume that the "ex" variable can't be accessed directly
private function closeWindows(context:String):void {
context = "night"
}
Somehow I would ne...
Hi guys..
Simple question..I was wondering when you guys extends EventDispatcher in your class. It seems to me that as long as we have import event package, we can dispatchEvent without problems....I saw sometime people extends EventDispatcher in their class...not sure why...anyone care to explain? Thanks a million...
...
Im using gaesessions with flex in a gae web application. but the cookie delete itself between ajax request. why?
...
Is there any inbuild function to find out the last occurrence of a string pattern in a string in action script .
...
Hi guys..
I am trying to build my youtube video search project in AS3.. and I found the following link...
http://blog.martinlegris.com/2008/02/20/youtube-data-api-as3-youtubeclient-functions-associated-events/
His library has
YouTubeClient.getStandardFeed(…)
Event: StandardVideoFeedEvent.STANDARD_VIDEO_DATA_RECEIVED
.feed: VideoF...
Hi All,
I am using a custom itemEditor for my DataGrid.
The itemEditor has a simple TextField as a component.
But when ever i am clicking the cell i am getting an error as :
ReferenceError: Error #1069: Property text not found on editors.customItemEditor and there is no default value.
at mx.controls::DataGrid/itemEditorItemEditEndHandl...
I have a menuBar that looks like this:
<mx:MenuBar id="myMenuBar" labelField="@label" cornerRadius="8" color="black" fillColors="[green, green]" itemClick="menuItemClickHandler(event);"
dataProvider="{menuBarCollection}" change="onTopSelection(event)" />
The XML for my menuBar looks like this:
<menuitem label=...
hi all..
1. i have a piechart with some inner radius
2.next i have added a pieseries to same chart
the problem is that a small gap comes in between them ...how to reduce it
the image looks like this!
image is here
...
i'm trying to embed a swf to my as3 flex project like this:
[Embed(source = "../assets/next_button.swf")]
[Bindable]
protected var nextButtonClass:Class;
protected var next_btn:MovieClip = next_btn = new nextButtonClass() as MovieClip;
// ...
next_btn.addEventListener(MouseEvent.CLICK, onAdChange);
next_button.swf is as2 and created w...
Well i have an adobe air , downloaded from below link.. it is wonderful app..
http://www.adobe.com/devnet/air/flex/articles/air_screenrecording.html
and this works fine. It captures my screen , record audio but it just does not stop or quit as vlc-player.exe continues to run in the task manager.
i tried lots of vlc- commands but it ju...
Hi all
I have an mxml canvas component with grid
and I have in the mx:Script tag a public function that add a GridItem child into the grid.
When I call this public function thorugh my main application and run the project, it stuck.
so how can I do this? how to change my grid in the canvas through my main application and why my code doesn...
What would be the best way to select all items in a datagrid.
I was thinking of doing a for loop and then select each item, but is there a better way for achieving this?
...
Hi guys..
I am trying to pass custom event data from 1 class to another class...here is my codes..
a.as
private function onClick(event:MouseEvent):void{
dispatchEvent(new YouTubeSearchEvent(YouTubeSearchEvent.CHANGE_VIDEO_READY, videoId));
}
b.as
private var newVideoID:String;
public function get selectedVideoID():String{...
Hello!
How can I set the scroll position for a Spark List control please?
Thank you!
...
Hello!
I use a fileReference.browse() to select an image file from the harddrive.
How can I check the Width and Height of the selected image file please?
Thank you!
...
Hi!
I have a question that might seem "basic" but I just cannot figure out how to do it...
I have a box and I'd like to change the borderColor. Till there, nothing special. Just a box.bordercolor = xxxxxx...
BUT, I'd like to have the top and bottom border with one color, and the left and right border with another color... And that's t...