PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197
Custom FLV playback component skin
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Custom FLV playback component skin

  1. #1
    Member
    Join Date
    Nov 2010
    Posts
    51

    Custom FLV playback component skin

    Hello...

    i am trying to create a custom skin for my FLV component in CS5 ..but adobe's fla files have errors when i decompile...

    I get this error...

    Actionscript Code:
    Error 1046: Type was not found or was not a compile - time constant : NetStreamPlayOtions

    When i do publish flash does recognise the custom.swf skin...when i do add it in my movie though i get this error

    Actionscript Code:
    Error #2044: Unhandled skinError:. text=Error #1009: Cannot access a property or method of a null object reference.

    Anyone did this before?

    Thanks for your time!

  2. #2
    AS2 intolerant person
    Join Date
    Jan 2009
    Location
    Swansea
    Posts
    352
    Type was not found or was not a compile - time constant : NetStreamPlayOtions

    That means NetStreamPlayOtions is not imported or found in your package structure.
    It could be because you mispelt NetStreamPlayOtions when it should be NetStreamPlayOptions (options has a T in it).



    Cannot access a property or method of a null object reference.

    This error means you are trying to access a property of a variable that hasnt been instantiated.

    actionscript Code:
    //for example if you trace this:

    var mc:MovieClip;
    trace(mc);

    //that traces: null

    //if you trace this:

    var mc:MovieClip;
    trace(mc.x);
    that sets off an error because the property cannot exist for something that is null.
    this works for example:

    actionscript Code:
    var mc:MovieClip = new MovieClip();
    trace(mc.x);



    flos

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