SDK VolumeButton error

Hi all

I just downloaded the sdk and published without making any changes Replaced my course with new files

Everything works fine except for the Volume Button that gives me an error

Did I do something wrong? Please help if possible

Thanks

Martin

ReferenceError: Error #1056: Cannot create property BackgroundUp on customframe components buttons VolumeButton

at flash display::MovieClip/gotoAndStop()

at customframe components buttons::VolumeButton/SetState()[C:\Users\Martin JL\Documents\software\Articulate Storyline\storyline-sdk\storyline-sdk-1 0\src\customframe\components\buttons\VolumeButton as:56]

at customframe components buttons::VolumeButton/OnMouseDown()[C:\Users\Martin JL\Documents\software\Articulate Storyline\storyline-sdk\storyline-sdk-1 0\src\customframe\components\buttons\VolumeButton as:122]

4 Replies
Martin Roberts

Hi Ian

Found the thread earlier and was sorted thanx The real problem was that for some reason my debugger in firefox and IE was giving me errors Runs fine in chrome because there is no debugger installed Im not really confident the problem is sorted It might work fine in chrome with no debugger but Im concerned why the debugger is catching an error in the first place Will do some more digging

Thanx Bro 

James Ver Hague

Hi Martin,

I was running into the same problem and I believe I have a solution for you If you open the CustomFrame xfl file in Flash, unlock the Volume Button layer and then double click the VolumeButton instance on the stage Once in that movieclip, unlock the Background layer and click its keyframe on the 3rd frame Again click the instance of the on the stage Check the instance's name - mine had a capital "B" and it should be lowercase Once I changed this the error went away for me Hope this helps

James

Alex S.

James Ver Hague said:

Hi Martin,

I was running into the same problem and I believe I have a solution for you If you open the CustomFrame xfl file in Flash, unlock the Volume Button layer and then double click the VolumeButton instance on the stage Once in that movieclip, unlock the Background layer and click its keyframe on the 3rd frame Again click the instance of the on the stage Check the instance's name - mine had a capital "B" and it should be lowercase Once I changed this the error went away for me Hope this helps

James

Thanks James This solution works fine The SDK code is a quick n dirty version Non commented, buggy, var declarations and constants where not in use