Flex Project Exports - Adobe SWC Distribution

Hi,
I'm having a difficult time trying to find any information regarding this so I would be really grateful for any help here. Let's say I have created an ActionScript project in Flex Builder -- I am not using a Flex SDK, it has been removed from the project's library path -- instead I have added one of the playerglobal SWC files from Flash CS4 to the project. This essentially allows me to program within Flex Builder without the overhead of the Flex Framework - which I never use.
Now, if I wanted to export that project (as a Flex Builder project) when it was completed and make it available via a website, would I run into any legal problems if the playerglobal SWC was exported/distributed along with the rest of the project files - keeping in mind that the project could only be imported/re-published using Flex Builder?
Thanks in advance for any info.

Hi si-robertson, I understand what your dilemma is but I'm not sure I follow why you have your development environment setup like this. You can create pure ActionScript projects from within Flex Builder and these don't use the Flex framework at all - obviously you can't use MXML in these projects .
While AcionScript projects in Flex Builder might use the same compilers as a Flex project they don't compile in the Flex framework classes; so I'm somewhat confused why you'd even need the playerglobal.swc from Flash CS4 in your project as it'd already have a complementary version of it available?
If on the other hand you want to access Flash Player 10 functionality, again if you have the Flex SDK 3.2 or greater you can create content via the pure ActionScript projects without the overhead of the Flex framework.
I know this isn't exactly what you were asking, but in a round-about way it would negate your concern about distributing your project if it contained the playerglobal.swc from Flash CS4 as you wouldn't need to.
HTH
regards
m
Mike Jones
FlashGen.Com
Adobe Community Expert For Flex
Adobe Certified Expert for Flex 3 & AIR
w./ www.flashgen.com
b./ blog.flashgen.com
Catch Me At
Scotch on the Rocks London '09
Flash on the Beach Brighton '09
Author Of Developing Flex Components
Addison-Wesley (Q4 / 2009)

Similar Messages

  • Export small flex project to mobile?

    Hi everyone! I am just learning Flex and have stumbled upon a problem...
    I have created a small Flex project in Flash Builder 4 and it works very well on desktop and in a browser. However I need it to run on mobile phone with only Flash Lite support... is that possible? Flash professional can do this but I can't import fxp into Flash CS5.
    I also don't see the point of the fact that Flash CS5 can export for iPhone and other mobile devices and has Device central integration when it isn't an app developing tool at all. Flash Builder should have this features!
    Anyway, my application is very simple and I believe Flash Lite should be able to handle it. Is there a way to do it?
    Thanks in advance

    Due to Apple license restrictions, Adobe will no longer be continuing development of the Flash to iPhone Exporter application; and as such I do not expect the feature to be intergrated into Flash Builder.
    Last I heard Flash Lite did not support ActionScript 3; and therefore would not support Flex based applications.
    I expect that as Adobe releases their Flash Player for Mobile; you'll see a lot more tooling support for such things.  I expect a lot of talk / announcements / releases around this sort of functionality around Max this year, if not before.
    In the meantime, there are a few other mobile options out there.  Check out Elips Studio from OpenPlug as one of them.

  • Flex project into a single SWC file!!

    please help me with this problem:
    i created an image gallery using actionscript 3.0 classes in Flash CS4...in one of the classes, i used a mask Movieclip to mask the thumbnails in the gallery...this mask movieclip is a rectangle Movieclip symbol in the library that is exported for actionscript...
    in order to run my application in Flex 3, i did the following:
    a. i placed the classes in a folder called "com"
    b. i placed my assets (the images) in folder called "images"
    placed both "com" & "images" folders in the "src" folder of my Flex project
    c. i exported the mask movieclip symbol from the Flash library as a SWC file, and placed the SWC file in the "lib" folder of my Flex project
    d. i dragged my custom component (image gallery) onto the stage
    e. in the main MXML application file, i went to "Design Mode" and found my custom component under the "Custom" folder..i dragged the component on the stage
    and my gallery worked fine!
    now the problem happened when i tried to compile the WHOLE Flex project as a SINGLE SWC file...in order to compile the whole Flex project as a SINGLE SWC file, i did the following:
    1. i created a new Flex Library Project
    2. i placed my classes folder ("com") and my images folder ("images") in the "src" directory of the Flex library project
    3. i went to Project --> Properties --> Flex Library Build Path -->
    - on the "Classes" tab, i checked the ("com") folder which contains all of the classes
    - on the "Assets" tab, i checked the ("images") folder which contains all of the images
    - on the "Library Path" tab, i clicked the "Add SWC" button, browsed to my mask movieclip SWC file (that i created earlier from the mask movieclip symbol in the library in Flash CS4) and selected it
    I then pressed Ok,and now a SWC file that represents my project was created in the "bin" directory of my Flex library project
    4. I created a new Flex project, and in the "lib" folder i placed the SWC file that was created in the Flex Library project...in the main MXML application file, i went to "Design Mode" and found my custom component under the "Custom" folder..i dragged the component on the stage
    BUT NOTHING DISPLAYS!!
    so obviously there's a problem in "condensing" the whole project as single SWC file
    could someone please help me!!
    thanx a lot

    I am also facing same problem, when i am including librabry in  application not able to see any image...............can you tell me the solution.................................thanks

  • 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 create new themes in adobe flex projects

    How to create new themes in adobe flex projects 

    I too would like to understand this and find more information about this.
    I would like to produce my own theme. But how??

  • Options for exporting a project in Adobe premiere Pro CS5.5

    When Exporting a project from Adobe premiere Pro CS5.5 I use the format of Windows Media file and Preset HDTV 1080P 30 HighQuality. At the bottom of the window there are some options that say "Use Maximum Render Quality" And "Use Frame Blending". I used these two options on my first video I exported but I want to know for the future what both of these options do exactly to my film and if they could adversely effect things like lighting and the frame rate of a clip or anything?

    Max Render Quality does what is says: gives better picture quality, but will lengthen the export process.
    Frame Blending you check when output framerate differs from timeline framerate.

  • File Export Adobe Premiere Pro Project

    Which script (a line of code, probably) implements this menu item: File>Export>Adobe Premiere Pro Project?

    This may be helpful:
    http://aenhancers.com/viewtopic.php?f=8&t=889
    Mind that even when you can activate a menu command by this method you may not be able to control the resulting dialog via scripting.  That's one of the reasons why this method of accessing commands isn't published.
    If there's a function in After Effects that you'd like scripting access for, feel free to send us a feature request (yes, they do get looked at!):
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • How to export AE Projects to Adobe Premiere?

    I want to color correct my videos. How can I transport my color corrected videos to Premiere? What do I export it as? I tried both AE project and Adobe Premiere Project and they both don't work. Thanks!

    Here's a page that outlines the various ways to exchange data between After Effects and Premiere Pro.
    When you export a project or use copy and paste, aspects of an After Effects project have to be converted into Premiere Pro project features, or vice versa. This conversion is far from complete, and it's not intended for perfect fidelity. This page has tables to show what is converted and how.
    If you want perfect fidelity, you need to either use Dynamic Link or render and export an intermediate movie.

  • EASY WAY TO EXPORT PROJECT FOR ADOBE PREMIERE C4

    Does anyone have another solution to export your video project from Adobe Premiere C4 other than going through Adobe Media Encoder and DVD.
    We're looking for something as Simple as it was for Premiere Pro 2, export movie, AVI, then you had a quick and easy way to use the file in
    many ways.  It seems encore and Media Encoder has too many issues and take too long.
    HELP.
    Ernie Sigmon   [email protected]

    If you're having a specific problem with the Adobe Media Encoder, you can try asking in it's forum.
    http://forums.adobe.com/community/ame

  • Flex Build Path: fiber.swc, playerfds.swc & dcradSwcs automatically added after I removed them

    Hi,
    I'm working on an application which uses old Flex 3.4 (used for Adobe LiveCycle). This SDK already contains fiber.swc and playerfds.swc so I removed them from Flex Build Path. But if I reopen the project, the removed lines are there again.
    So whats wrong? Bug? This is a serious issue for me since some classes from newer fiber.swc is not backwards compatible to version 3.4.
    I'm using Flash Builder Premium 4.7. It would be great if I could solve that because I have to remove these paths everytime I open the project.
    cu Floh

    Few things I've discovered that might be able to help you.
    Make sure you download both the newest version of the playerglobal.swc (for flash player 10.1), and replace it either in your SDK files, or have it in a library (in Flex 3 you need to disable the older playerglobal, I'm not sure about FB 4)
    Use the newest OSMF.swc available from the OSMF downloads page.
    Make sure you have the compile settings for OSMF set up in your compile line (mangle for FB4 if needed):-define CONFIG::LOGGING false -define CONFIG::DEBUG false -define CONFIG::FLASH_10_1 true
    I've been able to compile flex projects using OSMF doing these steps.
    Hope this helps.
    -Will

  • Workspace Flex projects

    I have a  workspace with two projects. Project #1 references an external SWC library. Project #2 references SWC #1. Do I also need to referecence an external SWC library in projecct #2?
    Thanks

    Fixed: In Project prefs: Flex Build path: added the similar swc folder called "local" from FB 4.6 eclipse/plugins directory and removed the 4.7 one.
    For some reason the 4.7  eclipse/plugins/com.adobe.flexbuilder.project_4.7.0.345990/dcradS wcs/4.5/locale folder has localisation folders in it and not swc's like in FB 4.6..

  • Add a TextArea to a Sprite, in a Flex project

    Hi guys!
    I'm fighting with this problem and i can't get the solution.
    I've a Flex project (in FB 3.0.1) with a Sprite in which i do some drawings (coded in AS3). The Sprite is wrapped in UIComponent, that is contained in a WindowedApplication.
    Now, i want to display a TextArea in the Sprite. As long as i understood i can't add an mx.controls.Textarea to Sprite (i tried it and nothing is displayed), but i can use fl.controls.TextArea.
    i tried to import fl.controls.TextArea but FB can't find the package. How can i include it in build path ? Where i can find the right SWC ?
    Before you suggest me to recompile library sources i tell you i don't own Flash CS and i don't know where to find sources.
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/TextArea.html says Runtime AIR 1.0 and Player 9.0.2 . Why it's not included in FB 3 ??
    Thanks

    yes you can add TextArea to Sprite
    set the x,y, width and height of the TextArea object and added to Sprite using
    spriteObj.addChild(textareaObj);
    If this post answers your question or helps. Please mark it as such

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

  • 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

  • Ipod nano 7th recongised, but can't sync music onto it

    my ipod 7th generation does get recongised by my computer, but it won't allow me to upload new things, nor delete old things on it.  It's not the same computer i first synced it to, because that computer crashed. But i would like to keep the music th

  • Cannot find file #01, do you want to search?"

    We recorded a song yesterday and saved it as properly as the other sessions we also recorded. Today I want to open it, but it always says "Cannot find file #01, do you want to search?" But I've got the problem only with one file, the other songs are

  • IPhoto will not load with old library

    Help! When I try to open iPhoto, the white box appears (with no albums or icons), the wheel never stops spinning, and I have to force quit. When I created a new library, it worked perfectly fine, so i think it's the old library thats messed up. I hav

  • PO print mesage ?

    Hi experts, When i print  PO directly in the PO view mode with PRINTER ICON .   i am getting PRINT . but after that  PO MESSAGE icon inside message status still in YELLOW colour. if print with ME9F    its changing to GREEN colour Indicator.  so that

  • Browser and secured server communication

    I want to know that How the Browser communicates with the secured server ? please Explain in detail with Example (if possible) Thanks In advance