
February 23rd, 2012, 01:07 AM
|
|
Registered User
|
|
Join Date: Feb 2012
Posts: 1
Time spent in forums: 51 m 45 sec
Reputation Power: 0
|
|
|
Flex - XML value to Function
When you call a value out of an external xml sheet you end up with a value in Flex's variable
Code:
protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
{
getDataResult.token = your_file.getData();
}
<fx:Declarations>
<s:CallResponder id="getDataResult"/>
<your_file:Your_file id="your_file"
fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
showBusyCursor="true"/>
</fx:Declarations>
My Question and problem is I can't seem to get the value into a number variable to enter (in place of the number) in the function below. I am a seasoned php/mysql guy and seem to be missing something basic here.
Code:
TweenLite.to(fill, .8, {y:"-290", delay: 0.1})
|