Possilbe to create only mxml component using Catalyst ?

Sorry if this has been covered elsewhere, but is it possible to only create an mxml component using Catalyst and not an entire Flex Project (fxp)? There are areas where I would like to use this tool to simply creation of components, but also I might like to write the main app in Flash Builder and just wondering if this is possible?

Hi Jeremy,
Yes, it's definitely possible, though it's not immediately obvious. There's another thread on this subject here:
http://forums.adobe.com/thread/447199?tstart=0
One trick that came up was that you can take the entire contents of your project in Catalyst and convert it to a custom component--that simply moves all the content into a separate non-application MXML component file, which you can then import into Builder and use in your Builder project.
THanks,
nj

Similar Messages

  • How to create custom MXML component accepting other MXML componenents as children

    How can I create an MXML component that when I use it in the "main" MXML, accepts other MXML components...
    For example:
    <s:WindowedApplication>
         <myComponent>
              <otherMXMLcomponent></otherMXMLcomponent>
              <otherMXMLcomponent></otherMXMLcomponent>
              <otherMXMLcomponent></otherMXMLcomponent>
              <otherMXMLcomponent></otherMXMLcomponent>
         </myComponent>
    <s:WindowedApplication>
    How do you declare such a component?
    Thanks in advance

    Bhè non so se ho capito .. ti spiego la prova che ho fatto io.. Dunque, io ho provato a creare un mio componente Custom e a metterci dentro degli oggetti miei di esempio.. Il componente di esempio si chiama mioComponenteCustom e all'interno è strutturato in questo modo:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx">
    </s:Group>
    Al posto dei puntini ci metto quello che voglio.. nel tuo caso i tuoi 2 famosi pulsanti..
    All'esterno chiamerò :
    <mioComponenteCustom>
         <s:DataGrid>
         </s:DataGrid
    </mioComponenteCustom>
    Dove DataGrid è un componente a caso qualsiasi.. Ora, con questa struttura non ricevo errori e sembra andare bene..
    Dimmi se ho capito bene o volevi fare altro..
    Max

  • How to create a new component using SPICE?

    People, I don't know how to create a new component using SPICE.
    I know that it's possible to create a new component and use a SPICE code, but I don't know how to do this very well, and I need the TI ISO124 (Isolation Amplifier), and I have no idea on how to do that. Can somebody help me? I need to develop a layout.
    Thank you!!

    Hi,
    Here is a tutorial that explains in details how to create your own component in Multisim using a SPICE model.
    Hope you find it helpful,
    Mahmoud W
    National Instruments

  • Can we create a custompage component using trinidad

    Hi all,
    We are developing a application where we need to support IE6 so we are using trinidad components for JSF. In our application all the pages have tha same look n feel. Only the central part of the page changes. I wanted to create a template and use it for all the pages but that's not allowed with IE6. So I wanted to customize the panelpage component and create a myownpage component and use it across my application.Is this possible if possible can some one give some info...Plz correct me if this will be a wrong approach
    Edited by: RKadiyala on May 5, 2009 2:42 AM

    Hi,
    Trinidad supports Facelets for templating. Have a look at the Apache MyFaces website for Trinidad
    Frank

  • Using catalyst to create a Badge installer ?

    Hey,
    I am trying to create badge for an AIR project and would like to be using catalyst to do it, I have the AIR SDK and the Flex 4 SDK, both have samples of this, but it uses a FLA file, I would like to create the SWF in catalyst, which i have done, only I am not sure how I can hook it up to the rest of the badge installer ...
    like, how do I ... insert the AIRBadge.as into the fxp? configure the guy? etc. ? I basically understand how it all works, the html, js, etc.  but I don't know how to get it to work properly ...
    please could you provide a little guidance ...
    Thanks so much

    Hi Peter,
    What I am trying to do is create a custom badge using Catalyst and Builder ... my main reason for wanting to use catalyst to do this is to improve production times when generating many of these, it is part of a larger research project into the viability of using Catalyst in production so it is something that I would like to get right ... so what I have is number of example and tutorial badges that I can get working, but I need to theme/customise them in Flash Pro to make them work properly (not what I want to do) ... what I have done is create the art in illustrator and then in Catalyst is set up mouse-overs, button states, etc. ...
    what I am battling with is hooking up the fxp to some AS to get it actually work ... any help here would be great ...
    Thanks

  • How to create package access MXML component?

    Hi
    In ActionScript we can create an internal class which can be referenced by the classes in the same package.
    How can we create the MXML component which can be referenced by the others in the same package?

    Packager Links https://forums.adobe.com/thread/1586021

  • Repeating MXML-Component

    Hi.
    I create some MXML-Component and want to repeat it by data
    received in xml.
    How can i use repeater or some else?
    thank you

    "autoNUKE" <[email protected]> wrote in
    message
    news:g93s3j$o8m$[email protected]..
    > Thank you.
    > But i mean how to repeat mxml file.
    > I create
    BlahBlah.mxml and then i want to repeat it in Repeater or
    > maybe i can repeate it otherwise.
    That is exactly what a repeater does. This example shows
    using an Image
    control, but it can repeat your custom component just as
    easily.
    http://tinyurl.com/6mruur

  • Accessing dataprovider from mxml component.

    Hi,
    I have a dataprovider and would like to access the data from mxml component.
    Basically I have
    Actionscript:
    Bindable]
    private  var dp:ArrayCollection;
    private  
    function dp_handler(e:ResultEvent):void
    dp = e.result as ArrayCollection; 
    I wanted to access dp from mxml component using
    <mx:script>
    <![CDATA[
    mx.core.Application;
    lbl.text = Application.application.dp.getItemAt(0).fieldname;
    ]]>
    <mx:Label  
    id="lbl" x="51" y="136" />
    It keeps telling me dp is unknow property.  Any idea what am I doing wrong?

    Thanks Greg.  That fixed it!

  • Is there a way I can use Catalyst to create my custom flex components but make compatible with 3.5

    I am new to Catalyst and looking for a way to create components in Catalyst to be compatible with an existing application created in SDK 3.5.
    I am working on a project for a client to reskin an existing flex application done in SDK 3.5, but they are not ready to migrate yet to SDK 4.0.
    I really want ot use Catalyst to create some custom components for the new style of this existing application, but the problem is the that the spark component architecture and the old version 3.5 are not compatible. Is there a way around this until they are ready to migrate to 4.0 or will I have to create my components in flash and bring them into flashbuilder with a swc this way instead? What would be the best approach for me at this point, please help?

    No. Flash Catalyst leverages the new component framework that was introduced in 4.0 (aka Spark). Flex 3.5 and earlier used a framework (referred to as MX or Halo). That framework is incompatible with Flash Catalyst.
    Chris

  • Loading an "MXML Component" at run-time creates a null object.

    Hello!
    I have a simple Flex 3 project with an MXML application file (the parent) and an MXML component file (the child).
    At run-time I create childs of this component, and I add it to the stage using a simple "this.addChild()" call.
    Now, besides that, in the creation loop, after every
      newChild = new mcComp();
    I want to setup a few more custom parameters which belongs to this class. For example, now I want to set a label's text, this label is at the child.
    The issue is that the label isn't created until I exit the creation function, and actually, until my code returns control to the Flash Player.
    See my problem here?
    With custom classes which resides at .AS files, when I instantiate them with the "new" operator, they run their constructure's code and eveything is fine.
    But, when I do the same with those MXML components (which by the way are based over the Canvas class), their constructure do not execute and actually no other child of them is created.
    Can anyone please advise? I must be missing some keyword here.. hopefully.

    Hi Natasha thanks,
    The issue is that the creationComplete event doesn't dispatch even when I addChild() the object.
    var child:mcChild = null;
    for(var i:int; i < 3; i++)
         child = new mcChild();
         // setting some properties, labels' text etc'
         this.addChild(child);
    Try this and you'll see - the event doesn't dispatch until you got out of the code flow.
    Anyway after looking at Flex's documentation I solved it differently;
    After the addChild() call the child receives an "initialize" event. After that I could modify my label.
    Thank you though!

  • How to create an ad banner using Flash Catalyst

    This should be an easy question to answer...I've been able to create a variety of ad banners using Flash Catalyst but none of the online tutorials show how to link the ad banner to a URL...i.e. when someone clicks on the banner.  I don't like the idea of having to create a button + Go To URL (on click) because the button doesn't appear on all screens/states, etc.
    Is there a way to turn the entire project into a button without losing the animation action?  i.e. so that no matter what state the banner is in, if someone clicks on it, they go to the URL?

    Hi Chris,
    Thanks for your advice.  It's for our own sites, so we can accept the overhead.
    The animation is simply fade in image, fade out image, fade in text message, fade out text message, fade in next image, etc.
    So, when you say "they are instead wrapped inside a single custom component", I understand it conceptually but need a few details:
    1.  Does this mean I first create the custom component (before doing anything else)?
    2.  At what point to I import/load my Photoshop file with all of the layers?
    Jim

  • How to add interface to customlize MXML Component when use Flex Builder 3?

    How to add interface to customlize MXML Component when use
    Flex Builder 3?

    David,
    I don't believe you can add the interface via the creation
    dialog in FlexBuilder 3. You can always manually add the
    "implements" property to your MXML Component root tag. Something
    like this: <mx:VBox implements="com.mycorp.IMyInterface">
    If you want autogeneration of the interface, then create an
    ActionScript class with that interface and then copy the generated
    functions and setter/getters into the script block of your MXML
    component.

  • Error when using instantiated mxml component in popupmanager

    Hi,
    Im getting the following error when trying to create a popup:
    Error #1007: Instantiation attempted on a non-constructor
    The code looks as follows
    var browserPop:CustomBrowser = new CustomBrowser();
    browserPop.targetType = "file";
    browserPop.fileType = "jpg";
    var pop:TitleWindow =
    PopUpManager.createPopUp(this,browserPop as Class, true) as
    TitleWindow;
    Where CustomBrowser is an MXML component extending
    TitleWindow.
    If i use:
    var pop:TitleWindow =
    PopUpManager.createPopUp(this,CustomBrowser, true) as TitleWindow;
    it works fine but i need to be able to set some public
    properties and therefore instantiate it first. Any help would be
    appreaciated.
    Thanks in advance
    Eric

    Create you component using the popupmanager, then cast it to
    the
    specific type to access it's public methods and/or variables.
    Like so for mxml component ExceptionPopup:
    var popup:IFlexDisplayObject;
    popup =
    PopUpManager.createPopUp(_parentPanel,ExceptionPopUp,true,null);
    (popup as ExceptionPopUp).addRecords(ev.errorMessage);
    (popup as ExceptionPopUp).title = "title";
    (popup as ExceptionPopUp).userText.text = "some user text"
    PopUpManager.centerPopUp(popup);

  • Is there a way I can use Catalyst to create my custom flex components but make it compatible with SD

    I am new to Catalyst and looking for a way to create components in Catalyst to be compatible with an existing application created in SDK 3.5.
    I am working on a project for a client to reskin an existing flex application done in SDK 3.5, but they are not ready to migrate yet to SDK 4.0.
    I really want ot use Catalyst to create some custom components for the new style of this existing application, but the problem is the that the spark component architecture and the old version 3.5 are not compatible. Is there a way around this until they are ready to migrate to 4.0 or will I have to create my components in flash and bring them into flashbuilder with a swc this way instead? What would be the best approach for me at this point, please help?

    No. Flash Catalyst leverages the new component framework that was introduced in 4.0 (aka Spark). Flex 3.5 and earlier used a framework (referred to as MX or Halo). That framework is incompatible with Flash Catalyst.
    Chris

  • I have an airport extreme and express, if I use the extreme as a base station connected to my old router can I use the express to extend the signal while also creating a new network that only I can use?

    I have an airport extreme and express, if I use the extreme as a base station connected to my old router can I use the express to extend the signal while also creating a new network that only I can use? Essentially having two wifi connection off the same network? If so how do I set this up?

    Extending using a wireless connection always results in a performance compromise.
    If the Express is going to extend using a wireless connection, then the Express will need to be located about half way between the AirPort Extreme and the general area where you need more wireless coverage. The more that you have line-of-sight between the Extreme and Express, the better the network will operate.
    Remember......the Express can only "extend" the quality and signal speed that it receives, so it needs to be located where it can get a very good signal from the Extreme. Although Apple cleverly uses the term "extend", a more accurate term for the Express would be "repeater".
    If the Express will extend by connecting to the Extreme using a permanent, wired Ethernet cable connection......highly recommended for best performance.....then the Express can be located exactly where you need more wireless coverage. There is no signal loss at all through the Ethernet cable, so the Express gets a full speed signal no matter where it might be located.
    Post back to let us know which way to you want to go.

Maybe you are looking for

  • Firefox will not start,no msg.I am now running with I E. clsosed ok.

    Nothing happens no msg,no errors.Checked task mngr.Firefox was active and i closed it.It came up ok,the next morning it happened again,checked TM but fire fox was not active.I tried to uninstall 8.0 and install again.I get a msg to close Firefox befo

  • DataBase unavailable and Mirrored Db role has chnaged.

    Hello All, We got below errors in our principal and Mirror db servers. 1) The mirroring connection to "TCP://servername.domain.com:5022" has timed out for database "Db name" after 10 seconds without a response.  Check the service and network connecti

  • Windows filed to start, a recent hardware or software change might be the cause

    My lenovo edge 72 system motherboard and power supply has been damaged, it won't have no longer life, so i brought new system as same brand but the motherboard and processor are different model, the old system's hard disk i have replaced with new sys

  • To position the cursor

    How to position the cursor at next item if i choose kod_kat_pkj = '2' then the cursor will go(jump to) to kod_ngra ( state) Begin --Job categories      begin           select initcap(nama)           into :lmd_pmk_pkj.kod_kat_pkjn_d           from lmd

  • Vista file sharing with OS 10.3.4

    Are there known issues with Windows Vista OS connecting and file sharing with Mac OS 10.3.4? We can connect Windows XP with Mac OS 10.3.4, but two Vista machines cannot. Any ideas?