Flex Component Kit for Flash CS3

Hi,
I created a flex component using the component kit for Flash
CS3. The component contains a vector image wrapped as a MovieClip.
In my flex application I add the component as child to a
Canvas. It works well if i add it like -
<mx:Canvas id="container" >
<local:MyComponent />
</mx:Canvas>
or like -
container.addChild (new MyComponent()); //DISPLAYED
However, the component is not displayed when I do the
following -
var array:Array = new Array(new MyComponent());
container.addChild(array[0]); //NOT DISPLAYED
Can somebody tell me why this is so?
I would also like to know if such components can be
instantiated using flash.utils.getDefinitionByName.
I tried it but I get Error #1065: Variable 'componentName' is
not defined
Could somebody please tell me what is going on?

Hi bolaughlin,
Thanks for you reply.
Error 1065:
import MyComponent;
var comp:MyComponent = new MyComponent(); //Error 1065
//Where MyComponent is the Flash CS3 clip that was converted
to Flex component
I have a workaround for this -
I first add the component as an Mxml tag with visibility
false and then remove the component
with actionscript. Now all instantiations work normally (this
includes all components in the SWC).
<mx:Canvas id="container" >
<local:MyComponent visible="false" />
</mx:Canvas>
and in <mx:Script>
container.removeAllChildren();
var comp:MyComponent = new MyComponent(); //Works
var anotherComp:MyOtherComponent = new MyOtherComponent();
//From the same swc; This also works.
I have a feeling this problem is similar to the 'shared
fonts' problem that
existed with Flash MX and below.
Anyway, even though I don't really know whats happening, my
project can
move ahead. Hopefully some Guru will explain this.
Until then...thank you very much.

Similar Messages

  • Problem Installing Flex Component Kit for Flash CS3

    i have downloaded the mxp files from here:
    http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex_skins
    And installed them using the extension manager (flash cs4) but i don't get the new commands added (rebooted flash cs4, of course...)
    Any ideas please?

    Would you mind posting your question on the Flex Kit for
    Flash CS3 discussion page on Adobe Labs? This way the engineers
    developing the kit can respond.
    Here's the link:
    Flex
    Kit Discussion

  • Flex Component Kit for Flash CS4

    Is there a Flex Component Kit for Flash CS4? All I have found
    is a download for Flash CS3.

    There isn't. But the CS3 kit works for CS4 too.

  • Flex Component Kit for Flash Professional - still available?

    Is the Flex Component Kit for Flash Professional still available for download somewhere?
    We are currently trying to get some old stuff done in Flash to port over to flex and convert a MovieClip made in Flash to an SWC/Flex component.
    The link stated here at the bottom Flex Component Kit for Flash Professional (Adobe - Flex Downloads) does not work.

    There isn't. But the CS3 kit works for CS4 too.

  • When will Adobe release Flex Component Kit for Flash CS4?

    Any idea when will Adobe release Flex Component Kit for Flash CS4?

    There isn't. But the CS3 kit works for CS4 too.

  • Flex component kit for Flash.

    Hi,
    I have installed Flash CS3 <no extension manager> and
    Flex 3 builder. I want to import movie clips I made in Flash in to
    Flex builder. Please guide me exactly which patches and software do
    I need exactly and the process of importing these assets.
    Thanks.

    http://weblogs.macromedia.com/pent/
    search there

  • Flex Component Kit for Adobe Flash Professional CS4

    I installed Flex Component Kit for Adobe Flash Professional CS4 and nothing appears at Command menu.
    I use OSX 10.6 portuguese language.
    Any suggestion?

    There isn't. But the CS3 kit works for CS4 too.

  • Flex component kit for cs4:

    Hello people:
    I've got flex component kit for cs4 installed. i can see the "convert to flex component" option in the flash menu and can convert movie clips into swc's; am able to import the movie clip to flex by going to the project menu in flex, selecting properties and selecting the paths to the swc file, but i cannot see the movieclip turned flex component in any of the perspectives or anywhere niether do i see them whn i try to use them by mxml code hint.
    can anyone assist me in anyway because i get errors if i try to hard code the component name into the project.
    Thanks:

    There isn't. But the CS3 kit works for CS4 too.

  • Using Flex Component Kit for FlashCS3 in Flash Builder

    Hi at all,
    i apologize for my english.
    I'm using Flash Builder 4 and i've created a movie clip symbol in Flash CS4.
    I convert the flash symbol in Flex Component but Flash Builder sends a "Verify Error" because the mx.flash.UIMovieClip class in the Flex Component Kit package is not updated at mx.flash.UIMovieClip in Flex4 library,
    Is there a updated version of Flex component kit? At this moment i'ive a 1.1.2 version.
    Thanks.
    F.

    You should be able to get version 2.0.0 of the MXP in the open source repository:
    http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/flash-integration/

  • Flex Component Kit - FB3 - Not found

    Hi - I searched but I don't find the Flex Component Kit for
    Flash CS3 for FB3.
    The following page says that the final version would be
    included in the FB3 SDK but it's not there. Does somebody where to
    get it?
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1273 018

    It was posted a day later.
    http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex%5Fskins

  • Flex Component Kit Unavailable

    All the MXP downloads on this page
    http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex%5Fskins#fxcompkit
    returns null. Where do I download the Flex Component Kit
    from?

    Oh and I am not looking for
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1273 018,
    just in case anyone should think of suggesting that. I am looking
    for Flex Component Kit for Flash CS 3, for Flex 3.

  • Skinning Kit for Flash CS4 ??

    Maybe I`m missing something but after spending hours searching for info on Flash CS4 skinning for Flex 3 I have come up with nothing. It seems that this feature ended with CS3.
    Anybody here know about tuts / info / resources / downloads for Flash CS4 skinning for Flex 3 ??

    You can use the same mxp that CS3 uses.
    2009/4/16 toft <[email protected]>
    Huh ?
    >
    I cant install the Skinning Kit for Flash CS3 on CS4, the component kit for
    CS3 installs but doesnt show up in CS4 as described in the readme file.
    >
    So have you tried this yourself or are you just guessing here ??
    >

  • [svn:fx-trunk] 7765: Fixing up some copyrights, adding copyrights, and fixing up some legal-eese for the Flash Component Kit For Flex.

    Revision: 7765
    Author:   [email protected]
    Date:     2009-06-11 15:58:18 -0700 (Thu, 11 Jun 2009)
    Log Message:
    Fixing up some copyrights, adding copyrights, and fixing up some legal-eese for the Flash Component Kit For Flex.
    Also, updating the MXP to get latest changes to base classes.
    QE Notes: -
    Doc Notes: -
    Bugs: SDK-21670
    Reviewer: No one (just header updates)
    tests: checkintest (seem to fail due to local changes to ScrollBar, which I'm not checking in here)
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21670
    Modified Paths:
        flex/sdk/trunk/frameworks/flash-integration/FlexComponentKit.mxp
        flex/sdk/trunk/frameworks/flash-integration/readme.txt
        flex/sdk/trunk/frameworks/projects/flash-integration/FlexComponentKit.mxi
        flex/sdk/trunk/frameworks/projects/flash-integration/JSFL/Convert Symbol to Flex Component.jsfl
        flex/sdk/trunk/frameworks/projects/flash-integration/JSFL/Convert Symbol to Flex Container.jsfl
        flex/sdk/trunk/frameworks/projects/flash-integration/JSFL/MakeFlexComponent.jsfl
        flex/sdk/trunk/frameworks/projects/flash-integration/readme.txt
        flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as
        flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as

  • DateChooser Component for Flash CS3, AS3.0

    Where and how do I get the datechooser for Flash CS3, AS3.0?

    which version of flash cs3 do you have?

  • Problem installing flex component kit

    Exercise: Skinning components graphically (PDF, 1,520K)
    I have trouble installing the flex component kit. It says the
    version of my product is incorrect. Is it because of the german
    version?

    There isn't. But the CS3 kit works for CS4 too.

Maybe you are looking for

  • Screen rotation doesn't work on Dell Venue 11 Pro

    I'm running Windows Technical Preview for Enterprise Build 9879 on a Dell Venue 11 Pro. It has the Intel Core-i5-4300Y processor and Intel HD graphics chipset. All devices are recognized in Device Manager, but the screen does not rotate if I turn the

  • Calling web service from Delphi7?

    Hi, anyone could send me a demo, calling a wsdl web service from Delphi 7? i am beginner for web service & sap. Any help will appreciate. Thanks.

  • How to read properties stored in jar file

    Hello I got one question. I created properties file in my project, which contains some texts for panels. When I start application from JBuilder all works fine. This priperies file is stored in path "cmt/locales/CMTModule.properties". Problem is only

  • Getting Dates to your desire

    Hi there, I want the Date to be in the string format and also I don't want the time part of the date. I am using a Calendar for this purpose to trim that part by Instantiating a DateFormat.. and I ended up something like this import java.util.Date; i

  • IPad iPod App working horribly after update

    After the update, my ipod app on my ipad 2 has been working horribly. When I click on a song, a different song will play, and when i try to go back a song, it skips and repeats. There is just so many problems. When im listening, a song will come on a