;

PDA

Click to See Complete Forum and Search --> : [RESOLVED] reference to an cuepoint array results in undefined ?


banshee007
03-20-2007, 05:02 PM
Hi,

in flex in have an array :

[Bindable]
public var myCuePoints:Array = [
{name:"1",time:2},
{name:"2",time:5},
{name:"3",time:7},
{name:"4",time:10},
{name:"5",time:15},
]

If want to go to a specific cuepoint with a button, but i cannot seem to get any value out of the array. I tried :

tracerVideo.text+="\ncuepoint0_0:" + myCuePoints[0][0];

but this gives me "undefined" ?

Anyone an idea ?

Also i have another video related question : is it better to store cuepoints in the flv instead of using cuepoints in flex ?

thx,

b

banshee007
03-22-2007, 11:23 AM
solution : myCuePoints[0].name and myCuePoints[0].time