A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] reference to an cuepoint array results in undefined ?

  1. #1
    Member
    Join Date
    Nov 2005
    Posts
    68

    [RESOLVED] reference to an cuepoint array results in undefined ?

    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

  2. #2
    Member
    Join Date
    Nov 2005
    Posts
    68
    solution : myCuePoints[0].name and myCuePoints[0].time

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center