dcsimg
A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: What is __AS3__.vec.Vector

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Posts
    13

    Question What is __AS3__.vec.Vector

    Is there a defined value to __AS3__ in the Flash compiler? The IDE is saying that __AS3__.vec.Vector cannot be imported. Is there documentation about doing these type of imports or about __AS3__ package? Can all classes be imported like this?

    Vector is a FP10 class

    It appears this information was gleaned from describeType. Where is the __AS3__ package documented though?

  2. #2
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    You don't need to import the Vector class, since it is located at the top level.
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

  3. #3
    Junior Member
    Join Date
    Jun 2007
    Posts
    13
    I know that, it is in a library, as3isolib

  4. #4
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    Then you need to import like this:

    import as3isolib.......
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

  5. #5
    Junior Member
    Join Date
    Jun 2007
    Posts
    13
    I don't think you are understanding the question. I know how to use Vector and do imports. I would like to know about the documentation of __AS3__.vec.Vector. If you search Google, there are instances of this type of import. If you've never seen this used before or aware of it, you probably can't answer the question.

  6. #6
    Ө_ө sleepy mod
    Join Date
    Mar 2003
    Location
    Oregon, USA
    Posts
    2,441
    It's a bug in flashbuilder: https://bugs.adobe.com/jira/browse/FB-15655
    Please use [php] or [code] tags, and mark your threads resolved 8)

  7. #7
    Junior Member
    Join Date
    Jun 2007
    Posts
    13
    thx

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