Flex Project Inside Flex Project???

Im working on a Air project but i cant seem to get a componet working within that project. I can how ever get it working as a standalone project. What im wondering now is what are my options for embeding this flex project with my main project??

You can compile it into a swf from the standalone project and then load it into your Flex project using SWFLoader. Does that work for you?

Similar Messages

  • How do you put projects inside of projects?

    Is there a way to "nest" one project inside another?
    I dont know how to do it in FCPX.

    Select the contents and press Option-G. You'll then get a dialog asking you where to save the compound clip. You can then place that compound clip inside any other project. To edit inside the compound you double clip it to open it. This is pretty much the way it was in legacy FCP. The nested compound however is not fully recursive. It does not ripple the length of the project it's netsed in.

  • BlazeDS locking $ProjectName-debug folder and not allowing flex builder to build project

    Hi all,
    Im new to Flex. I'm trying to setup my development environment. What I've noticed is that when blazeds is started and I run a flex project, it creates a folder in the blazeds root folder named $ProjectName-debug (replace $ProjectName with the actual project name). Once this folder is created, and the flash page is accessed, it cannot be deleted until blazeds is actually stopped. The files on that folder seem to be locked. While this folder is locked, eclipse cannot seem to re-build the project (specifically clean). Thus every small change I make to the project, I'm currently having to stop blazeds, clean the flex project, start blazeds, run the flex project.What makes things worse is that I have to start our application along with blazeds so it can retrieve the data from the app (which takes a few minutes).
    I'm wondering if other people are having to go through this pain or if they've figured out a way to get around this. I would ideally like to have a way where I'm able to rebuild the project and hit f5 and reload the page and see the changes. I understand this is not possible with debug.
    If anyone has figured out a way to incorporate blazeds to their development environment in a more practical way, please let me know. We just switched from tapestry/gwt to flex. We used to be able to update on the go thus development was much simpler.
    Regards,
    Udam

    if you see a red error in your "problems" tab inside
    flexbuilder, your project most likely will not be built fully, or
    correctly, in that case running that project does not makes sense
    at all, you need to make sure "problems" tab is clear of errors
    (you might see warnings, but they are not very harmful) .if ther is
    no errors, hitting ctrl+B builds the project and choosing Project
    --> Clean ... clears output folder and rebuilds the project P.S
    Unless you uncheck checkbox that says "automatically build project
    after clean".
    IMHO, turn off Auto Build and manualy build the project that
    will take care of most issues, plus use (project --> clean) when
    you need to make sure you have latest build .
    Kind Regards
    Levan.

  • Creating a project in Flex Builder for the Hybrid Store sample Application

    Hi all,
    How to create a project in Flexbuilder for the hybrid store
    sample application.
    I downloaded the source code of hybridstore application,
    Now i have to create a project for it to run that application
    in my system,
    will you please tell me how to create a project for this
    sample.
    I have also read the readme.html file. but i could not follow
    exactly what they are saying.
    what i did is, I unzipped the source code into a folder
    hybridstore.
    I opened the flexbuilder : File -- new -- flexproject ( i
    have selected) then i have given name to my file (hybridstore) ,
    and set the path to the hybridstore folder where the source code
    exists.
    but it as created hybridstore.mxml file also.
    it is not working.
    will you please till me how to create project for this
    application.
    I have created project for other samples like restaurent
    finder, dashboard. they are working fine.
    I got problem with this sample only.
    Thanks in advance
    Regards
    Avanthika

    Hi,
    thanks for your reply,
    I have tried to open using file import, but still it is not
    working.
    in the readme file for this application , contains how to
    Creating a project in Flex Builder for the Hybrid Store
    application:
    Name your default application catalog.mxml.
    Prevent Flex Builder from generating an HTML wrapper: select
    Project > Properties. Select the Flex Compiler page, deselect
    the Generate HTML wrapper file option .
    Create a Run configuration for your project but deselect the
    Use defaults option and instead assign the Run setting to the
    hybridstore.html in your project's bin directory.
    To enable debugging of the Hybrid Store application you must
    create a copy of hybridstore.html. Open it in an editor (you can
    right-click on the file and select Open With > Text Editor).
    Find the line that says "src", "catalog" and change it to "src",
    "catalog-debug". Assign the Debug setting to this new HTML file.
    As i am new to flex , i could not know how to do this.
    please help me how to do this.
    regards
    Avanthika

  • Flex Builder 3 New Project

    I am trying to get Flex Builder 3 setup but having some
    problems configuring it to communicate with the app server. I had
    this working once but cannot get it back. Flex builder is installed
    on my XP machine and CF is installed on my Redhat 5 box with
    Apache.
    Here are my steps:
    1. Create new flex project
    2. Project Name: myfirstflex.
    3. Project location: N:\myfirstflex (mapped to samba share)
    This is actually /var/www/html/myfirstflex on the RH box.
    4. Application Type: Web Application(runs in Flash Player)
    5. Server Technology: Coldfusion. Use remote access service
    is checked. LCDS is selected at the moment but does not seem to
    matter which one is selected.
    6. Server Location: Standalone
    7. Coldfusion Root Folder: O:\WEB-INF\flex (samba share on RH
    box) This is actually /opt/coldfusion8/wwwroot/WEB-INF/flex.
    8. WebRoot: N:\myfirstflex (same as step 3)
    9. Root URL:
    http://myserver/myfirstflex
    Upon on validation I get " Invalid root. The WEB-INF/flex
    folder must contain either flex-config.xml or services-config.xml."
    Like I said I had this working once but cannot get it back. Does
    anyone see something I am overlooking?

    I'd love to help because I know how frustrating it is to get
    it working. Unfortunately, I run CF locally and IIS as the web
    server. However, maybe my settings will spark something that you
    can use:
    1
    2. myFirstFlex
    3. C:\Documents and Settings\[useraccount]My
    Documents\myFirstFlex
    4. Web application/
    5. Coldfusion/ColdFusion Remoting
    6. Standalone
    7. c:\coldfusion8
    8. c:\inetpub\wwwroot
    9.
    http://localhost/
    is what works for me

  • Facebook actionscript API not working with Flex 4.5 Mobile Project

    Will the following API work in a Flex 4.5 mobile project?
    http://code.google.com/p/facebook-actionscript-api/
    I tried a simple Facebook.int() and I keep getting the following error...
    Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime.
    at Error$/throwError()
    at flash.external::ExternalInterface$/addCallback()
    at com.facebook.graph::Facebook/init()[C:\Users\MikeHunt\Work\facebookGraphApi\api\com\faceb ook\graph\Facebook.as:599]
    at com.facebook.graph::Facebook$/init()[C:\Users\MikeHunt\Work\facebookGraphApi\api\com\face book\graph\Facebook.as:165]
    at views::LoginView/init()[/Users/edgar/Documents/Adobe Flash Builder 4.5/socialMessenger/src/views/LoginView.mxml:15]
    at views::LoginView/___LoginView_View1_initialize()[/Users/edgar/Documents/Adobe Flash Builder 4.5/socialMessenger/src/views/LoginView.mxml:3]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\co re\UIComponent.as:13128]
    at mx.core::UIComponent/set processedDescriptors()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent .as:1871]
    at mx.core::UIComponent/initializationComplete()[E:\dev\4.5.1\frameworks\projects\framework\ src\mx\core\UIComponent.as:7660]
    at mx.core::UIComponent/initialize()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\ UIComponent.as:7639]
    at spark.components::View/initialize()[E:\dev\4.5.1\frameworks\projects\mobilecomponents\src \spark\components\View.as:990]
    at views::LoginView/initialize()
    at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.5.1\frameworks\projects\ framework\src\mx\core\UIComponent.as:7485]
    at mx.core::UIComponent/addChildAt()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\ UIComponent.as:7189]
    at spark.components::Group/addDisplayObjectToDisplayList()[E:\dev\4.5.1\frameworks\projects\ spark\src\spark\components\Group.as:2037]
    at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\4.5.1\frameworks\project s\spark\src\spark\components\Group.as:1628]
    at spark.components::Group/addElementAt()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\c omponents\Group.as:1387]
    at spark.components::Group/addElement()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\com ponents\Group.as:1345]
    at spark.components::SkinnableContainer/addElement()[E:\dev\4.5.1\frameworks\projects\spark\ src\spark\components\SkinnableContainer.as:761]
    at spark.components::ViewNavigator/createViewInstance()[E:\dev\4.5.1\frameworks\projects\mob ilecomponents\src\spark\components\ViewNavigator.as:1954]
    at spark.components::ViewNavigator/commitNavigatorAction()[E:\dev\4.5.1\frameworks\projects\ mobilecomponents\src\spark\components\ViewNavigator.as:1867]
    at spark.components::ViewNavigator/commitProperties()[E:\dev\4.5.1\frameworks\projects\mobil ecomponents\src\spark\components\ViewNavigator.as:1236]
    at mx.core::UIComponent/validateProperties()[E:\dev\4.5.1\frameworks\projects\framework\src\ mx\core\UIComponent.as:8209]
    at mx.managers::LayoutManager/validateProperties()[E:\dev\4.5.1\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:597]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.5.1\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:783]
    at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.5.1\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1180]

    This is the error because the runtime does not find any way to call Java script that usally is called through External interface. So my guess is you are using a AIR project. U just need to download the latest swc http://code.google.com/p/facebook-actionscript-api/downloads/list for destop in your case and don't forget to but FBJSBridge.js to put in your source that will b used to help AS call Facebook API from AIR runtime
    Hope it make some sense
    Piyush Negi

  • Flex mobile project standalone flex server resets to J2EE and can not change

    Developing an Android mobile project with FB 4.5. Set original project-->properties-->flex server to standalone with coldfusion as server.  After setting web root, Root URL and Coldfusion root folder app works fine with CF. Sometime during development, flex server gets set to J2EE and CF access halts.  Go back into project-->properties-->flex server and reset server to 'standalone' with original settings.  click Apply or OK and assume that it is reset but it does not.  Go back into flex server settings and it is still J2EE.  I have seen this issue before and can not resolve it or find any other threads where there is a resolution to this.  My only way to continue is to start a new mobile project, import the files and continue.  This is not an acceptable way to design any mobile project!!  HELP!!

    Developing an Android mobile project with FB 4.5. Set original project-->properties-->flex server to standalone with coldfusion as server.  After setting web root, Root URL and Coldfusion root folder app works fine with CF. Sometime during development, flex server gets set to J2EE and CF access halts.  Go back into project-->properties-->flex server and reset server to 'standalone' with original settings.  click Apply or OK and assume that it is reset but it does not.  Go back into flex server settings and it is still J2EE.  I have seen this issue before and can not resolve it or find any other threads where there is a resolution to this.  My only way to continue is to start a new mobile project, import the files and continue.  This is not an acceptable way to design any mobile project!!  HELP!!

  • Design view not working after importing project from Flex Builder

    After importing a project from Flex Builder to Flash Builder I am no longer able to see anything in the design view. I am using the flex 4.5 sdk.
    Any idea how I can get this design view working? I heard it could have something to do with the metadata directory but am slightly lost here?...
    Adam

    Could you please provide more information as to what exactly are you importing. Also does Design View not lauch at all or does it give errors. Would it be possible for you to share the logs.
    Meanwhile you can try cleaning the workspace and importing again to see if that solves the issue.

  • Tutorial for creating a J2EE project with "Flex Builder 3 Beta 3 " ?

    Hi,
    I'm trying to set up a Flex environment with:
    Flex Builder 3 Beta 3 stand alone
    WTP (from eclipse update manager)
    LCDS 2.5 (with JRun)
    JBoss 4.2.2GA
    At this moment I successful installed everything (but not set up). I added WTP at Flex Builder3 (with the eclipse update manager). I copied the two flex-tomcat files in jboss.
    Then in Flex Builder 3 I created a new Flex Project. In the wizard first window, I selected J2EE, Livecycle and WTP. Then in the next window I need to configurate the J2EE server.
    I couldn't find any information/tutorial for this window? Is there a tutorial for this?
    This window ask me:
    Target Runtime: I created a new one for JBoss 4.2.2 (during this process flex builder asked me to add a project but actually I'm creating this project so I hadn't any project to add (??)).
    ContextRoot: name of the project I'm creating (default). Is it good?
    Content Folder: the default is "WebContent". Is it good?
    Flex War File: What is that? Where do I find it?
    Thanks a lot,
    Jerome

    The settings you mention all sound fine, but the I believe the Flex War file may be what you referred to as the flex-tomcat files (specifically the one should be called flex.war from the install folder).
    You don't need to deploy the flex.war file to JBoss manually, when you create a project, you just select the file in the wizard and it is extracted and used as a template for the new project. In fact, it may cause a port conflict with your project if you do deploy manually it (unless you tweak some of the config files), so it's probably worth removing it from the deploy folder if you did put it there. The other file, flex-admin.war, can stay without causing issue.
    The closest to a tutorial that I am aware of is if you search "New Flex Project" in the help system, it talks about what each of the options should be when creating LCDS projects.

  • How to compile flex builder project from flex sdk?

    I built one flex project in flex builder, and need to change and maintain in an flex SDK environment.
    I am wondering whether there is any tools in flex sdk to do so.
    Thanks

    You could use Ant tasks
    http://livedocs.adobe.com/flex/3/html/help.html?content=anttasks_1.html

  • Flex mobile and PHP project

    Hi! Recently I've downloaded the Flash Builder for PHP to work with my Zend Server remotely located in OpenShift online. I did not  download and install the Zend Server physically on  my computer. Hence, when creating the Flex mobile and PHP project, I couldn't find my web root address. Now I have an error connecting to the MySQl database in the server from the Flash Builder. Can someone help me with this? I'm new to using these programs.
    I'm following this guide on building mobile apps:
    http://files.zend.com/help/Flash-Builder-for-PHP/Getting-Started/Mobile/build_a_mobile_(ph p)_application.htm#Step_13:_Preview_the_Mobile_Application_Using_the_Desktop_Emulator

    PHP is server side.
    If you want to have a app to function offline you would probably need sqlite and then code actionscript to synch data when the device regains it's connectivity.

  • Flex 4.5:Convert mxml project into IOS project for ipad and iphone

    Hi All,
    I created a mxml project and now i want  to convert the same project in Flex builder 4.5 IOS project for iphone and ipad but its seems the mobile project doesnot support mxml.
    I am using module and moduleloader and in Flex 4.5, they said the use of this is discourage. I didi not get any alternative of them.
    Please help me to convert this application in IOS.
    Thanks,
    Saurabh Shrotriya

    Modules are not supported on iOS due to Apple's App Store terms of service.

  • Cannot convert mx.events::CloseEvent@88d8941 to spark.events.PopUpEvent. -----flex 4.7 Mobile project

    in flex 4.7 Mobile project,use s:TitleWindow:PopUpManager.removePopUp(this);why show "cannot convert mx.events::CloseEvent@88d8941 to spark.events.PopUpEvent"?

    This is the error because the runtime does not find any way to call Java script that usally is called through External interface. So my guess is you are using a AIR project. U just need to download the latest swc http://code.google.com/p/facebook-actionscript-api/downloads/list for destop in your case and don't forget to but FBJSBridge.js to put in your source that will b used to help AS call Facebook API from AIR runtime
    Hope it make some sense
    Piyush Negi

  • Shifting Flex project from Flex SDK 3.5 to Flex SDK 4.0

    Hi,
    I am currently working on a Flex project using Flex 3.5 SDK. I want to shift my project to Flex 4.0 SDK.
    When I changed the project settings to use SDK 4.0, I got lot of unknown location errors.
    1) 1046: Type was not found or was not a compile-time constant: ImportExportConfiguration
    2) 1061: Call to a possibly undefined method setSelection through a reference with static type mx.core.ITextInput
    While the same code of flex was working satisfactorily in Flex SDK 3.5.
    Please tell, how can I get rid of these error and successfully shift my project to Flex SDK 4.0.
    Regards,
    Nitika Agarwal

    Hi,
    While I am migrating my project from flex 3.5 to Flex 4, I have to keep the Flex 3 compatibility mode off and theme as Flex 4 default theme that is Spark.
    Then while i compile I get foloowing errors:
    The   style 'backgroundAlpha' is only supported by type 'mx.controls.TextInput'   with the theme(s) 'halo'.
    The style 'backgroundColor'   is only supported by type 'com.app.model.WLSMSTextArea' with the theme(s)   'halo'.
    The style 'borderColor' is   only supported by type 'mx.controls.ComboBox' with the theme(s) 'halo'.
    The style 'borderThickness'   is only supported by type 'mx.containers.Canvas' with the theme(s) 'halo'.
    The style 'cornerRadius' is   only supported by type 'com.app.model.WLTextInput' with the theme(s) 'halo'.
    The style 'cornerRadius' is   only supported by type 'mx.controls.TextArea' with the theme(s) 'halo'.
    The style 'fillAlphas' is   only supported by type 'mx.controls.Button' with the theme(s) 'halo'.
    The style 'fillAlphas' is   only supported by type 'mx.controls.ComboBox' with the theme(s) 'halo'.
    The style 'fillColors' is   only supported by type 'mx.controls.Button' with the theme(s) 'halo'.
    The style 'fillColors' is   only supported by type 'mx.controls.ComboBox' with the theme(s) 'halo'.
    The style 'themeColor' is   only supported by type 'com.app.model.WLSMSTextArea' with the theme(s)   'halo'.
    The style 'themeColor' is   only supported by type 'com.app.model.WLTextInput' with the theme(s) 'halo'.
    What is the resolution for these, as for most of the controls there is no substitute to these properties. If I do not want ot change my <mx:> controls to <s:>controls because it will hamper my UI look and field, which I cannot afford to do.
    I have added following lines at the beginning of my stylesheet (*.CSS) as well:
         @namespace "http://www.adobe.com/2006/mxml";
        @namespace "library://ns.adobe.com/flex/mx";
        @namespace s "library://ns.adobe.com/flex/spark";
         Button { .... }
         ........ / * other styles */
    Please help me on this.
    Regards,
    Nitika

  • Blank webpage when run project form Flex Development

    When I Run my project in Flex Development to see how my changes look, I get a BLANK webpage.
    I have dumped the browser's cache and deleted the SWF in the bin_debug folder.
    Still get a blank page. Only way to see changes is to compile.
    What gives?

    I used to do
    1. Ctrl + Shft + delete in Mozilla
    2. Close project --> Clean project.
    3. Ensure there are no more errors in project.

Maybe you are looking for

  • How can I email multiple photos on ipad using ios6?

    Before I loaded the new ios6 i could email multiple pictures at one time using my ipad, now it doesn't give me that option.  Any advice on how to fix this?

  • Any calendar app that can display two calendars per day side by side?

    Is there any app that can display two calendars (data sync with iCloud Calendars) side by side?  e.g. one calendar for planning and the other for actual / diary.

  • Password protecting a single folder

    I have a question about permissions for a single folder. Here is what I want to be able to do: I want to password protect access to a single folder. I want to be able to double click on it... input a password and be granted access to it. Also, when t

  • Document renewal notification?

    Anyone doe this type of workflow? I need to upload documents and set a renewal date. As that date approaches send an email notification. I was thinking about using BPEL for the process unless there is an easier approach. Thanks

  • DB13 Full Database Backup - Error

    Hello Everybody, Got this error with DB13 Full Database Backup. 2006-05-28 07:20:13.92 spid91    BackupMedium::ReportIoError: read failure on backup device ' ERB-HQ-BK2\SAPBK\DVE.BAK'. Operating system error 59(An unexpected network error occurred.).