<?xml version='1.0' encoding='UTF-8'?>
<feed >
<id>http://gdata.youtube.com/feeds/api/videos</id>
<updated>2010-08-24T13:18:29.767Z</updated>
<category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#video'/>
<title type='text'>YouTube Videos matching query: aa</title>
<logo>http://www....
Hello everyone,
I just want to know if there is any TextChange Event or equivalent to that in AS3? I am currently using Adobe Flash CS3 with my AS3 files and I have to detect whether or not my TextTool's value has changed or not.
With my data being integers ranging from -4.440 to 3.560, I obviously cannot use the != operator.
If anyo...
I have 2 object. In different depths of MovieClip. I would like to know if object A parent is same with object B parent. I wanted to dynamically add '.parent' to object A/B till it both reaches the same level (having the same parent object). How can I do that?
My idea was to have something like
objectA = objectA + ".parent"
and make ...
Hi,
I've just started learning as3 and I've been trying to find a good tutorial on dropdown menu's using just xml and as3. Most of what I've come across so far are either static menus or menus driven with heavy use of the timeline.
Is it even possible to build a nice fluid drop down menu completely in code?
If so and anyone has some go...
Hi All! I use Sound object http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/media/Sound.html from my player.
It method play get first param startTime in milliseconds.
How i can get position in bytes by the time.
...
is there any way to handle "ALT" key in flex? When I press alt ley the KeyboardEvent.KEY_DOWN event is not fired and focus moves to browser's main menu(IE, Opera, Firefox)
...
I'm currently looking at structuring my teams projects into a consistent manner that properly utilises packages and is easily version-controlled (via SVN).
I'm interested in any 'best practise' with regards to project structuring and how to use consistent packaging without lumping everything into a gigantic com.domainname.projects folde...
Hi,
For my AIR based application I am trying to create a custom component based on canvas which has an image (as shown below).
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100" height="100" cornerRadius="5" borderStyle="solid" borderThickness="2" dropShadowEnabled="true" borderColor="#EDEDE8" dropShadowColor="#dddddd" sh...
I have a TextField with multiline and word wrap enabled, and a fixed width. I want to calculate the total height of the text inside it.
I tried using TextField.textHeight, but that gives me the height of one line. Because of the wrapping, I can't easily calculate the number of lines to multiply it with the line height. TextField.height ...
How do I create a custom colour scale ideally in Hex? say from yellow to red, depending on the height of an object? is this a correct way to achieve this or is there a better way without having to convert it at the end?:
var r:int = 255;
var b:int = 0;
var maxHeight:int = 52;
var minHeight:int = 21;
var scale:int = 255 / (maxHeight-min...
Hi,
I'm working on dashboard editor in flex, an application that allow users to drag ui objects inside a canvas. i need a solution to save the canvas with the objects inside (with all properties and locations x & y) to allow users to save dashboards to database and to open them .
I need a way to get the canvas insides without parsing eac...
I have a problem reading from Flex a url which has Transfer-Encoding: chunked because the FLex waits for the server to send terminate signal which in chunked transfer isn't sent...
...
Hi,
I am using in-built sort functionality provided by AdvancedDatagrid.
I have multiple columns and suppose I have 10 rows. All 10 rows have the same data in one column.
If I sort on that column, then it sorts and the data in other columns which is different is also being sorted (reshuffled).
My requirement is if I am sorting on a ...
Hi everyone,
I've been testing a lot of things in order to make a drag&drop between a DataGrid and a Google Map Polygon.
1st Attempt : I tried to enable dragging from the dataGrid and add listeners to the Polygon. The problem is that I only get the dragEnter listener working. For example, it seems that no dragDrop event is fired from a...
I am trying to capture ctrl-c.
I have noticed that many times, there is no KEY_UP event for 'c' key. I believe it happens in cases KEY_UP event for 'c' key should be thrown just before or after KEY_UP event for ctrl key. Why it happens? how can i catch the KEY_UP for 'c' key?
...
I am creating a game that needs to be integrated with Facebook. The game is done and once the user complets that game it adds the button that send score to the Facebook wall of the user.
I have downloaded the Facebook api for flash and is able to connect to the user and get its id. But I don't know what command to use to post the score ...
I am trying to write some actionscript 3 code to play short sounds from the library, using a dynamically created string to load it.
In AS2, I could do something like this:
mySound = new Sound();
mySound.attachSound("any concatenated string" + foo);
In AS3 however, the identifier is a class whose name, it seems, must be already known....
Hi
Desperately need help and would be gretaful if someone could see if they can find what is wrong.
I am trying to trigger a swf movie embedded in web page by using a js function.
This is a dry run using sample code I have found, i eventually just want the movie to play and stop via js instructions, when clicking an a href.
Website is ht...
I am using AdvancedDatagrid in Flex 3. One column of AdvancedDatagrid contains numbers and alphabets. When I sort this column, numbers come before alphabets (Default behavior of internal sorting of AdvancedDatagrid). But I want alphabets to come before number when I sort.
I know I will have to write the custom sort function. But can any...
Hi,
I've found some excellent demos of how to mix together sound objects together for live playback. See the working example bellow...
But can it be done programatically without any playback so I can just output the mixed file? Also I'll be adding some volume change info along the way so it'll need to be added in small chunks like how ...