Uploading a Flex project

Hi everyone
I just finished my first project on Flex. I had used amfphp to connect with a database on SQL.
Everything is up and running on my local host... but how do I upload the project so it works on my web host?
Any ideas?
Thanks!

You might need to set the --use-network=true compiler option.
Project - Properties - Flex Compiler
add --use-network=true to the "Additional compiler arguments:" section.
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
www.ChikaraDev.com
Flex / AIR Development, Training, and Support Services

Similar Messages

  • Is there a way of working collaboratively on a flex project with a small project group?

    Is there a way of working collaboratively on a flex project with a small project group?
    I am part of a small group of developers who wish to work on a single flex project together. Is there a way to set up flex so that the project can be developed by multiple people at the same time. I have seen one thread out on the internet about working locally and then uploading to SVn but this is not an option in this case.
    Any ideas.
    Many thanks in advance
    Dave

    I would say that rushing into development without a source-control system will cost you more in the long-run. If your organisation is serious about developing software it then it needs to invest in the necesary infrastructure, so you should get that process kicked-off as soon as possible.
    In the interim you could set-up a source control server on one developer's machine or commandeer a spare machine to use as a temporary source control server. Just make sure you have it backed-up regularly. Or you could use one of the online source control services; many will support private repositories for a small fee.

  • I want to allow my local Flex projects to communicate with remote cfcs

    I want to allow my local Flex projects to communicate with remote cfcs that are hosted on an external server.
    For example I usually develop my flex apps locally and upload them to a server for testing. If could do the above I could have just have one database to test and run live data.
    How to I set up my services-config.xml to do this. Is this something I should set up in Flex builder?

    You can set up your project in flex builder to connect to the remote server instead of the local one. Also, you could add remote database as a datasource in the cold fusion administrator for the localhost; this would allow you to have single database for testing and production. Personally i like to have my localhost mirroring the production server this allows me to test localy and make sure that everything is working properly before publishing to the live server.

  • Share a flex project into DTR

    Hi experts,
    has somebody experience to share an flex project into DTR? As I know sharing is only possible for DC types supported by SAP.
    Though in NWDS there is a mechanism ('Convert project to Development Component or 'Migrate into Software Component'') possibly to fit this task but it fails always because of, i think,  not supported DC type (there are no Dc type for Flex development).
    But how can I get my flex source code into DTR in order to maintain, version and sharing with other developers?
    Best Regards.
    Cemal

    Hi Cemal,
    if managing versions and sharing code is the only thing you want to do with your Flex resources you can use the [DTR Command line tool|http://help.sap.com/saphelp_nw70/helpdata/en/8f/88d93f130f9115e10000000a155106/frameset.htm] to do this.
    Your are then independent of NWDS (allthough the tool is delivered with NWDS). You'll have to build and deploy your applications yourself and also keep track of the deployed versions.
    If you are using NWDS for your development, use the DTR Perspective to create new DTR clients. Add your (Flex) Project folders under the local DTR client and upload the resources. Your colleges should be able to synchronize these sources, when using the same DTR Client name on their machnie. See [Configuring DTR Clients|http://help.sap.com/saphelp_nw04/helpdata/en/17/73a43f4aa1330ee10000000a114084/frameset.htm] and [Working with the DTR|http://help.sap.com/saphelp_nw04/helpdata/en/83/74c4ce0ed93b4abc6144aafaa1130f/frameset.htm].
    Hope this helps a little.
    Regards,
    Alain

  • Optimising Flex Project

    Hi,
    I'm lookig for any pointers to optimising a flex project for publication including the use of runtime shared libraries, the use of dynamically loading swf's, text files, AMF versus SOAP, issues server side as well as client side. Any all tips/hints welcome. In particular, I'm aware in a Flexbuilder project all files
    in src/asset folder get published to a bin-release folder. My question is, in the case of files that are not used in your project, eg graphic files in your asset folder you may have imported but not referenced in your application, do these files somehow get included in your published swf or are they ignored on publication of your swf. If the latter, no problem, if the former, I should make sure to trim out those files before publication?
    thks
    Colm

    If you embed the images, they will be compiled into the app SWF. If you reference the images via URL, they will not be compiled into the app SWF, and you are responsible for uploading them to the server in the correct relative location.
    For RSL, modules, etc. you need to upload them to the proper location on the server, they will not be in the compiled SWF.

  • Flex project vs. mxml application

    im totally new to flex and actionscript, coming from traditional web app development. ive been watching videos on lynda.com and it has gone well, but one thing it fails to mention and that i couldnt find in the forums or on google is the difference between creating a flex project and an mxml applciation. what's the difference?
    thanks!

    I don't know if you have  knowledge about java or C#.
    The project is a location where you collect all files that you need for your final application: mxml files, as filex, assets ....
    The mxml application is the mxml file that inherit mx:Application and is the main file of the project.
    Here is the start point of what you see in the browser.
    The red circle specify the project and the blue cicrle specify the mxml application.
    There is only one default mxml application in each project, but you can have many mxml files (that can be components) or mxml application that are applications.

  • Error While Uploading Captivate 6 Projects into Oracle LMS

    Hello,
    We have recently updated our Captivate software from Captivate 5 to Captivate 6. We are now experiencing issues when uploading our Captivate projects into our Oracle LMS.  We are unable to upload newly developed courseware as a result, and have many critical learning initiatives with deadlines coming up within our organization.
    We receive the following error when uploading published Captivate 6 files into our LMS:
    Oracle.xml.parser.v2.XMLParseException: Element ‘appearance’ not expected.
    The Log states: “The operation could not find a learning object with the external identifier: and external source: . A new learning object named How to insert an image into Microsoft Word with id 2824 has been created.
    The language en-US is not compatible for the learning object named How to insert an image into Microsoft Word (id: 2824). The language will be set to American English.
    The import process has failed: oracle.xml.parser.v2.XMLParseException: Element 'appearance' not expected.”
    When contacting Oracle, they directed me to contact the vendor and inquire if they have resolved their UNIX issues and corrected the imsmanifest.xml creation piece of the tool.   The  Captivate 6 software on my PC is up to date with the newest patch installed, and I have tried publishing courses with different combinations of preferences and settings and none seem to resolve the issue.
    Any insight as to what is causing this error or what can be done to correct it?  
    Thanks.

    The error message makes me think the LMS is looking for an MS Word document included in your SCORM manifest file.  Some LMSs are very strict about all files in the course needing to be listed in the imsmanifest.xml file.
    Do you have a document in the package that the users need to read or that is linked in some way to your course content?

  • Not able to create a new Flex project in Eclipse

    I am trying to use Flex Builder 3 eclipse plug-in for
    development. But while creating a new Flex project in eclipse, I'm
    getting the following error:
    Template template.jst.web has not bee defined.
    I am using Eclipse 3.3, and have installed the latest WTP
    updates. Can someone point out what I'm missing here?
    Thanks!

    Hi clsung,
    Do you get this error on every Flex Project you are trying to
    create or just on Java/J2EE projects? Flex Builder beta doesn't
    support WTP 2.0 but this shouldn't affect the other kind of
    projects.
    -Gelu

  • How do I upload an idvd project to youtube or facebook?

    I would love to upload an idvd project to youtube to share on facebook. Currently, my imovie does not work (that's another help question for another time). I am not sure if iphoto is an option because my idvd project has many movie clips in the slideshow. Also, I tried the burning option and then ripping the dvd, BUT... for some reason, the music doesn't match the slides when burned on a dvd... but plays fine in the idvd project. In fact, the DVD's burned are not even regonized in the DVD player... but recognized when put into the computer (but audio is off). Anyways... I look forward to your support and help!!

    This tutorial shows you how to upload an iDVD created DVD to youtube.  There are other ways of doing this, but this method is fairly easy and allows you to upload videos longer than 15 minutes.
    http://ilifehelp.com/tutorials/iDVD/youtube/How-to-upload-a-DVD-to-youtube.html

  • How to set "Output folder" and "Outputfolder URL" in Flasbuilder 4b1 for combined Java/Flex project with WTP?

    Hi,
    how can I set the "Output folder" and "Output folder URL" in Flasbuilder 4b1?
    In Flexbuilder 3 I can do this under Project Properties/"Flex Build Path" 
    Under "Flex Build Path" in F4b1 I can see the settings, but they are not editable.
    A message says "The output folder settings for server projects are on the Flex Server Property Page" but under "Flex Server" there is nothing (yet) I can change/set?!
    Is there a workaround?
    Thanks for any pointers!
    Martin Zach

    Yes I'm using Flash Builder b1, build 235740. But your settings panel looks different to mine (see attached).
    Just a thought. When you created the Flex project, did you choose a server technology at that point already? I just remember from Flex Builder 3 that if you didn't choose a server technology when you created the Flex project then it was a pain in the ** to add it later. It involved editing the .flexProperties file manually if I remember correctly.

  • Where does flex builder keep refererences to the flex projects?

    Where does flex builder keep refererences to the flex projects?
    I'm getting an error like this on FB3 startup:
    The folder PR System Intranet does not exist in the workspace so the reference must be somewhere else.
    thanks
    !SESSION 2009-11-02 09:47:52.203 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=1.5.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
    Command-line arguments:  -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.core.resources 2 10035 2009-11-02 09:47:53.610
    !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
    !ENTRY org.eclipse.core.resources 4 567 2009-11-02 09:47:53.829
    !MESSAGE Workspace restored, but some problems occurred.
    !SUBENTRY 1 org.eclipse.core.resources 4 567 2009-11-02 09:47:53.829
    !MESSAGE Could not read metadata for 'PR System Intranet'.
    !STACK 1
    org.eclipse.core.internal.resources.ResourceException: The project description file (.project) for 'PR System Intranet' is missing. This file contains important information about the project. The project will not function properly until this file is restored.
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceMan ager.java:663)
    at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(SaveManager.java:792)
    at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(SaveManager.java:772)
    at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:663)
    at org.eclipse.core.internal.resources.SaveManager.startup(SaveManager.java:1319)
    at org.eclipse.core.internal.resources.Workspace.startup(Workspace.java:1949)
    at org.eclipse.core.internal.resources.Workspace.open(Workspace.java:1713)
    at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:363)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:9 99)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextIm pl.java:993)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:9 74)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:111)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :417)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:189)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:34 0)
    at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackag e.java:37)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java :405)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:83)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :111)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:106)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
    !SUBENTRY 2 org.eclipse.core.resources 4 567 2009-11-02 09:47:53.829
    !MESSAGE The project description file (.project) for 'PR System Intranet' is missing. This file contains important information about the project. The project will not function properly until this file is restored.
    !ENTRY org.eclipse.osgi 4 0 2009-11-02 09:47:53.860
    !MESSAGE An error occurred while automatically activating bundle org.eclipse.core.resources (161).
    !STACK 0

    Thanks but that file contains things like
    <?xml version="1.0" encoding="UTF-8"?>
    <actionScriptProperties mainApplicationPath="main.mxml" version="3">
    <compiler additionalCompilerArguments="-services &quot;X:\Coldfusion9\wwwroot\WEB-INF\flex\services-config.xml&quot; -locale en_US" copyDependentFiles="true" enableModuleDebug="true" flexSDK="Flex 3.2" generateAccessible="true" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="true" htmlPlayerVersion="9.0.28" htmlPlayerVersionCheck="true" outputFolderPath="Staff_Ratings-debug" sourceFolderPath="src" strict="true" useApolloConfig="false" verifyDigests="true" warn="true">
    <compilerSourcePath>
    <compilerSourcePathEntry kind="1" linkType="1" path="H:/flash"/>
    </compilerSourcePath>
    <libraryPath defaultLinkType="1">
    <libraryPathEntry kind="4" path=""/>
    </libraryPath>
    <sourceAttachmentPath/>
    </compiler>
    <applications>
    <application path="main.mxml"/>
    </applications>
    <modules/>
    <buildCSSFiles/>
    </actionScriptProperties>
    I don't see how FB3 knows about the
    Pr System Intranet
    project that seems to be the cause of the errors.

  • Flex Builder 3 Launch Flex Project Error

    FB3 launch Flex Project Error
    quote:
    String index out of range:30
    what's reason? how do i fix it? Thanks!

    quote:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" width="367" height="227">
    <mx:Button x="178" y="10" label="Button"/>
    <mx:ComboBox x="10" y="10"></mx:ComboBox>
    </mx:Application>
    That's code. I can't launch project with debug.
    Thank you.

  • FLEX Builder Pro 3 New Flex Project cannot configure J2EE

    I have FLEX Builder Pro 3 installed on a Windows XP machine.  LiveCycle Data Services is installed (with Tomcat) on a Linux RHEL 5 machine.  When trying to create a new FLEX project and configuring a J2EE server am very confused on what to put in Root Folder and Root URL.  I have tried various paths on the Root Folder (with a drive mapped through windows and also with just using the servername) and keep getting the error message:
    Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml.
    I've located the flex-confing file in the tomcat5\webapps\ROOT\WEB-INF directory, but still get the error.
    Please any help would be greatly appreciated.

    Are your new classes referenced from the old code? Mxmlc employs a questionable form of "as-needed" linking, so classes that are not referenced from the main application are not even compiled. This referencing requirement is recursive; that is, any classes that are to be included have to be referenced from the main application, or from classes referenced by the main application, or from classes referenced by classes referenced by the main application, and so on. But if your new classes are not referenced at all from the old code, they will be ignored.

  • Create library (swc) in Flash Builder 4 / Flex Project (not in a Library Project)

    I want to create a swc file to use it in an other project. I can't use the Flash 4 Library Project to do this, because in a Library Project I
    haven't the possibility to use data/services, which I need for my library. After click on "data / services" I get the message "This view is only for Flex-Projects available".
    Has anyone a solution for my problem?
    Thanks for your help.

    Connect to PHP in FB4 is used when you have a PHP Class and you want to use that in FB, for example Employee.php and it has a Employee class and various methods in that like create, update, get, delete.
    However, if you have exposed your functionality in PHP as a HTTP URL (i.e. it is not a class), then you should be using HTTPService from the data menu.
    So if your file is login.php and is accessible as a URL, then using the HTTPService and enter the URL.
    Does this help?
    -Sunil

  • How to import your Air/Flex project from FB 4.6 to FB4.7

    It seems so easy.. however, I can't figure out how to do it.
    I used to build my projects (Air projects with merged SDK) in FB4, FB4.5 later FB4.6 and now 4.7. But when I import my old project, it gets an old 3.4 AIR SDK. Wtf?
    When I go to the project settings and want to change the sdk to my Flex 4.6 with Air 4.0 SDK, I cant! it sais "This project will use AIR SDK 3.4".
    So I go to FB settings, add the new SDK in Flex SDK's but still I can't change the SDK from my project.
    When I create a new Flex project, I can select the right SDK's. But I never made a Flex project. I make Air projects.
    So it seems to me that Flash builder 4.7 can have multiple Flex SDK's (merged or not) for Flex projects only, and just one SDK for Air projects which you can't be changed.
    O and the default is also freaking old.
    Now who the hell came up with that stuff at Adobe?...
    So I located the Air SDK my FB is using, and replaced it with my Flex4.7 and Air4.0 SDK. No luck, whole FB went nuts.
    Anyone has a clue?

    FlashBuilder (doesn't matter what version) screws this up all the time. There are so many files related to configuration of the workspace, the projects within the workspace and the eclipse environment that it gets messed up all the time.
    I never have this problem in other editors Eclipse based editors like InteliJ, Aptana, FDT etc. It's just Adobe growing / extending a tool which has bad programming in it and not bothering to go back and fix the root of the problem before expanding on it. FlashBuilder doesn't get the attention it deserves from Adobe. If they are not careful in the not too distant future when WebGL is supported on all the major web browsers and tools are released to translate WebGL to OpenGL ES iOS and Android applications AIR might see itself becoming a thing of the past. Esepcially when the tools can't even save the state of the projects they themselves created correctly.

Maybe you are looking for