A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Making a Flex SWC usable with Flash CS3

  1. #1
    Senior Member ozmic66's Avatar
    Join Date
    Oct 2005
    Posts
    472

    Making a Flex SWC usable with Flash CS3

    Hey all,

    I've been looking all over, and I haven't been able to find a single solution to this problem online, so I turn to the good people of flashkit AS3 forum for an answer

    I would like to create a compiled class library which can be used with flash CS3. It's easy to do this with Flex.. just create a new Flex Library project, add some code, and you get an .swc file in your bin folder. It looks like this swc file cannot be read by cs3 though...

    Any suggestions will be greatly appreciated

    - Oz
    Pixelwave Flash-based iPhone framework
    iPhone Games: Flyloop | Freedom Run

    Twitter: Oztune

  2. #2
    Member
    Join Date
    Oct 2000
    Posts
    93
    I dont use Flex but I use .swc files with Flash all the time. Did you try adding the swc to your components folder so they show up in the components panel? (make sure to restart Flash)

    Adobe Flash CS3\en\Configuration\Components
    Local Settings\Application Data\Adobe\Flash CS3\en\Configuration\Components

  3. #3
    Senior Member ozmic66's Avatar
    Join Date
    Oct 2005
    Posts
    472
    Yep

    The component doesn't even show up in the components window
    Pixelwave Flash-based iPhone framework
    iPhone Games: Flyloop | Freedom Run

    Twitter: Oztune

  4. #4
    Member
    Join Date
    Oct 2000
    Posts
    93
    Is it an AS2 or AS3 component? If its AS2, it will only show up if your publish settings for the current file are AS2.

  5. #5
    Senior Member ozmic66's Avatar
    Join Date
    Oct 2005
    Posts
    472
    I'm using AS 3.0 and Flash CS3
    Last edited by ozmic66; 06-07-2007 at 02:41 AM.
    Pixelwave Flash-based iPhone framework
    iPhone Games: Flyloop | Freedom Run

    Twitter: Oztune

  6. #6
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    Did you check the box, which says to show up in the component window?

    Just asking
    - The right of the People to create Flash movies shall not be infringed. -

  7. #7
    Senior Member ozmic66's Avatar
    Join Date
    Oct 2005
    Posts
    472
    Where would such a box be ?

    Up until now I've been using Flex to create a Flex Library Project.

    Is there a similar type of project in Flash CS3?
    Pixelwave Flash-based iPhone framework
    iPhone Games: Flyloop | Freedom Run

    Twitter: Oztune

  8. #8
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    When you click on the component in the library and open the component definition there is a checkbox, which says: Display in components panel

    I am not sure that is the problem you have.
    - The right of the People to create Flash movies shall not be infringed. -

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