A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: a setting problem

  1. #1
    prgrmr 4 hours user 4 years
    Join Date
    Dec 2009
    Location
    behind you
    Posts
    54

    a setting problem

    how do I change the settings so that the flash file looks for as. files in a certain file.
    I've done it before but I've forgotten how.
    Proud member of The Absolute Noobs

  2. #2
    Flash/Flex Developer samac1068's Avatar
    Join Date
    Apr 2007
    Location
    Here, no there
    Posts
    1,813
    If you mean import an external as files using AS 2.0 it is:
    Actionscript Code:
    #include "filename.as"

    Remember you can use includes in class files, you must use the AS 3.0 approach.

    But if you are using AS 3.0 it is:
    Actionscript Code:
    import com.filename;
    Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.

Tags for this Thread

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