Uploading Flex project breaks it

Hi there,  This is probably a result of something incredibly silly. A while ago I would find it easy to create a release version in FB3 and put the new SWF online. It always works, I just restructured my code to use multiple .AS files which I include in the mxml as such:   Whenever I upload the project online now, the application hangs (http://eplant.mozzly.com/ePlant.html). Just sits there doing nothing. I'm wondering if I'm missing something important...what the heck could I have forgotten to do? If I pop the file into a local webserver on my dev system...it loads correctly.  The application depends on a config.json file which is the first thing it pulls. The web version doesn't seem to do this but my locally hosted one works perfectly...  Ack. What could it likely be?

Generally you upload all files within the bin release folder
Sincerely,
Michael
El 30/04/2009, a las 11:55, redcameron <[email protected]> escribió:
>
Erm, so I did the Clean project thing. Honestly I'm not sure which 
file I should be using. I upload it and there always seems to be a 
2kb difference. As for using the compile option - how do I do that?  
heh.  Thanks guys.
>

Similar Messages

  • 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

  • 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.

  • Can't importing a Flex project within a Java project

    Hello,
    I am taking over an existing project from a vendor that is no longer involved that has a two Flex projects inside of the Java project. I am using the Flash Builder plugin inside Eclipse.  I have checked out the Java project locally and brought it into Eclipse and it builds perfectly.  My issue is in getting Flash Builder to recognize or import the two Flex projects within.  I have tried various methods of adding or importing the Flex project into my workspace but they all break the file structure in one way or another and thus make it impossible to compile in the structure that was set up.  It looks like Flex was set up to build into the webapp/flash/projectname/build folder.  No matter what I do Flash Builder creates other output folders or project folders.  I have tried add project type, import and new.  The original .project and .actionScriptProperties files are there but Flash builder seems to ignore them and create new ones elsewhere.
    The file structure looks like this:
    javaproject
         src
              main
                   Flex
                        flexprojectone
                        flexprojecttwo
                   java
                   resources
                   webapp
                        flash
                             flexprojectone
                                  build
                             flexprojecttwo
                                  build
                        internal
                        lib
                        themes
                        WEB-INF
    Thank you
    Greg

    I am having same trouble. Installed JDK 5.0 Update 5. Installed the Studio. Ctrl+Shift+N, the only option I have is Web Application with Existing Ant Script.. Please advise how to solve this problem. thx

  • 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 MSP project into SAP PS

    Dear Friend's,
    For uploading MSP project into SAP PS we are using openps4MSP version 4.0 & MSP version 2007. incase of SAP PS to MSP downloading is ok.
    While uploading we are getting following error. Also I have gone through relevant notes on MSP PS interface still I am unable to understand what exactly is the missing.
    Action log is as follows.
    The WBS.Maintain BAPI was called.
    - duration in sec.:0.109396699997887
    - return code: E
    - I CJ546 WBS-Dates Create
         Start date is in the past
         - object ID: B1101501000000000 /
    - I CJ546 WBS-Dates Create
         Start date is in the past
         - object ID: B1101500000000000 /
    - E CN009 NetworkActivity Create
         Network 4003941 does not exist
         - object ID: 0000040039410010 /
    - E CN009 NetworkActivity Create
         Network 4003941 does not exist
         - object ID: 0000040039410020 /
    - E CJ280 NetworkActivity Create
         Termination: Too many errors (more than 10% of methods)
         - object ID: 0000040039410020 /
    ERROR test import into PS system failed
    ERROR updating PS project
    Thanks & Regards,
    Suvin

    Hi,
    Which type of scheduling setting have you configured for WBS scheduling and for n/w. ?
    Also, download calendar from SAP to MSP and then add column 'Task Calendar' in which select the downloaded calendar.
    Check SAP NOTE 579761
    Regards,
    Harsh.
    Edited by: Harsh Saxena on Aug 10, 2011 3:18 PM

  • 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 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

Maybe you are looking for