Importing Flex project into Flash CS5 for use with iPhone packager? Please Help.

Hi all,
I have been developing an application in Flex builder for the iPhone using the iPhone packager, where I've been using the Flex framework.
Now I'm stuck at trying to use my existing libraries in Flash. It seems I can't add the UI components I used in Flex (class VideoExample) to the default Flash container. I need someone's help who has experience with that.
I have created a .SWC file, but when I'm trying to add the container in Flash using addChild(new VideoExample) it doesn't work. I can't load the .SWF externally using loader.load() at runtime, because the application is for iPhone. Any solutions how could I import the project to Flash?
I was thinking about changing the UI components classes from mx.* to fl.*, but I would have to change many code and I'm not sure if it would even work, and I don't want to loose compatibility with mxml.
Please respond, help would be very much appreciated!
Here's my mxml wrapper, from which I start the main application:
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="EntryPoint.main()">
</mx:Application>
Then I have a class which creates the main container:
package {
import mx.core.*;
public class EntryPoint {
    public static function main():void {
        var client:VideoExample = new VideoExample();
        var mxmlApp:Application = Application(Application.application);
        mxmlApp.addChild(client);
Here is the main class VideoExample:
package {
import mx.controls.*;
import mx.containers.*;
public class VideoExample extends Canvas {
    public function VideoExample() {
        super();
        init();
        private function init():void {
        loadImage();
        loadText();
                loadDisplay();
                startConnection();

This forum is for Flash Media Server Developers so most likely you migth get much traction here. I would recommend you to post your query on Flash Builder forum: http://forums.adobe.com/community/flash_builder/using_flash_builder
Also you can try posting here:
Flash Platform Services For Promotion - http://forums.adobe.com/community/promotion
Flash : http://forums.adobe.com/community/flash/flash_general

Similar Messages

  • I am trying to download free lastest version of Firefox for use with Vista. Please help.

    I was told to remove my old version of Firefox, before downloading an update. Removal is complete. I'm not able to download current version. Please help

    Make sure that you do not block JavaScript.
    Try to download the en-US installer from this page: http://www.mozilla.com/firefox/all.html

  • Hi Guys, Can i use Nokia Blutooth Headset with iphone 4, please help me out.  Regards

    Hi Guys,
    Can I use Nokia Bluetooth Headset with iphone 4, please help me out. 
    Regards
    Parveen

    Hi sausage,
    Unless you can find out the Apple ID and password of the previous owner, there is nothing you can do to remove the previous user's information. Return it for a refund.
    Sorry,
    GB

  • How do I import Captivate 4 into Flash CS5?

    I am not a Flash expert obviously. I am trying to import my captivates into Flash and get an error message that the file was not imported because it could not be read. Can anyone help?

    Hello,
    Normally you can export the Captivate file to Flash from the File menu, but I'm not sure it will work between 2 different versions: 4 for Captivate and CS5 for Flash?
    Lilybiri

  • Invoke wallet key for use with DBMS_CRYPTO package

    Hello,
    I intend to use DBMS_CRYPTO and use personal key that is already stored in a wallet (file). Which steps must i take to bring this key as a parameter to DBMS_CRYPTO.ENCRYPT for encypting BLOB. Al examples i found till now use only self created keys.
    Many thanks to enyone who can help me with an advice.
    Ernest

    Sorry, but you're in the wrong forum (as this one is only for issues with the SQL Developer tool). You'll get more answers in the SQL And PL/SQL forum.
    Have fun,
    K.

  • Importing Older Projects into Flash SDK

    I am using the trial version of Flex 4.6 SDK and am trying to import projects that were compiled on an earlier version. I am getting 6 errors:
    1120: Access of undefined property JSON.
    1120: Access of undefined property JSON.
    Can not resolve a multiname reference unambiguously. JSON.
    unable to open 'C:\... '
    unable to open 'C:\... '
    unable to open 'C:\ '
    Here is a link to the project I am trying to work on: http://flowingdata.com/2009/12/09/how-to-make-an-interactive-area-graph/
    I've followed the instructions at the link but the tutorial says to import the files from the Flare library and then get them to work. I'm pretty new with ActionScript so I'm kind of lost on how to get these files debugged. Any help would be appreciated.
    Thanks.

    Find the solution for thr error
    1120: Access of undefined property JSON.
    1120: Access of undefined property JSON.
    Can not resolve a multiname reference unambiguously. JSON.
    in the following URL
    http://www.smarttutorials.net/cannot-resolve-a-multiname-reference-unambiguously-json-in-f lash-builder-4-6-with-smartfox-server/

  • Installing Appletalk capability into XP machine for use with Apple LWIIg

    My problem is one of translation.
    I have downloaded the information on what files to extract from Windows NT 2000 for transfer to Windows XP. However, I have run into a problem. The instructions for insertion of the control files all refer to folder names like C:\Windows\Windows(NT)\ some file name.
    I have searched my C: drive and have not found any folders that have the specified path. I even created the folders, but that did not work either. My LW still does not show up as an option when installing a printer.
    So what is the key?

    I believe I found this in the Apple Archieve. Here is
    the original text:
    "To install AppleTalk protocol to Windows XP
    Required files: (Get them from any system running
    Windows 2000 Professional or Server)
    netatlk.inf, sfmatalk.sys, sfmmon.dll, sfmatmsg.dll,
    sfmwshat.dll, sfmpsprt.dll
    If they can not be found you need to unhide hidden
    and system files.
    Copy the files to their respective places:
    C:WINDOWS(WINNT)\INF\netatlk.inf
    C:WINDOWS(WINNT)\SYSTEM32\DRIVERS\sfmatalk.sys
    C:WINDOWS(WINNT)\SYSTEM32\sfmatmsg.dll
    C:WINDOWS(WINNT)\SYSTEM32\sfmmon.dll
    C:WINDOWS(WINNT)\SYSTEM32\sfmwshat.dll
    C:WINDOWS(WINNT)\SYSTEM32\SPOOL\PRTPROCS\W32X86\sfmpsp
    rt.dll
    AppleTalk Protocol should now be available under the
    list of Protocols you can add in Network Connections
    - Local Area Connections Properties
    This is only good using AppleTalk printers attached
    to the network. The AT printer will show up, if it's
    turned on, under Add Printer-Local printer attached
    to this computer - create a new port - AppleTalk
    Printing devices.
    For more info see:
    http://www.microsoft.com/resources/documentation/windo
    ws/xp/all/proddocs/en-us/sagadd_appletalkport.mspx
    (you do not need to capture the port for the printer
    to work)
    If you can not get acess to these files list an email
    address and I will send them to you."
    The link provides the info on setting up the printer
    port in Windows.
    I will try your fix out tonight, and let you know if
    it works with SP2.
    Thanks for the info.
    I would very much like these files if you are willing to send them on…
    TIA
    -Perry Liebe

  • Recommendations for printer/all in one for use with 10.9+? Help!

    Does anyone have recommendations for a printer/all-in-one that will work with Mavericks? Monochrome (b&w) laser printer/all-in-one preferred. This is for a small office (5-8 people). Frequent pdf printing and 30+ page documents.
    Right now I'm looking at Brother MFC-7860DW (might need something with a larger capacity), Brother MFC-8710DW, Epson WorkForce WF-M1030 (again, may need something w/ larger capacity), and Canon Laser imageCLASS MF4770n or Canon Laser imageCLASS MF4890dw. Also have looked at Canon imageCLASS MF6160dw but reviews are iffy. Any suggestions would be greatly appreciated!!

    Thanks for your help and input, diggernyc. If I was going to say that my question had been answered I certainly would have chosen your response and not my own. It seems silly that you can't undo marking a post as "solved".
    If anyone has suggestions, they are still appreciated. Thanks!

  • I can't sign into certain sites using my iPhone 4S please help!!

    I have recently been unable to login to sites with my iPhone 4S iOS 7.0.4 , sites such as Graze and Digital Spy, I use the correct username and password and it just goes back to the homepage and asks me to login again, very frustrating!

    Settings > Safari > Clear Cookies and Data
    Settings > Safari > Block Cookies > From 3rd parties and advertisers or Never (some login pages require "never")

  • Eye TV Or Other Device for mac with HDMI IN PLEASE HELP!!!???

    I want to k ow if there i a way to get my MAC to Play through and maybe record HDMI signal

    Hi,
    Please except my two pence...
    I would like to purchase an iMac as a replacement to my TV. The iMac has a DVI output which is great for connecting to a projector for presentations however the iMac does not have a DVI input. I have seen 3-party products that enable such as the EyeTV seem fine for analogue but reading some online reviews they don’t seem to stack up if you want to connect your X-Box to you’re iMac.
    As this seems an increasable waist of a fantastic screen, does anyone at Apple know if they indented in adding a DVI input socket to the iMac?
    Or is there is a 3-partry device, either Firewire, USB, or Ethernet for connecting HTMI or DVI devices to a Mac without converting to an Analogue signal along the way?
    Message was edited by: S J Lewis

  • I recently bought a second iphone6 but when restored it i found that the person who used it before left his apple icloude id on and now i dont know the password and i cant use my iphone. Please help me..r

    PLease help me...

    What if I purchase a device that is still linked to the previous owner's account?
    Contact the previous owner as soon as possible and ask them to erase the device and remove it from their account.
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account - Apple Support
    There is no alternative solution

  • "Import Flex Project" Menu Disappear [FB 4.6]

    Hi All,
    I am not sure what's going wrong here but I'm not able to see "Import Flex Project" menu item under File Menu.
    Can any one knows how to get it back ?
    Thanks
    Mac

    I'm having the exact same issue as he described. This doesn't help at all.
    I am using a fresh install of Flash Builder 4.6.
    I have tried closing and re-opening the project, and cannot get the design view to work.
    I have tried creating a completely new project, it comes up bad.
    **Edit**
    I think the problem has to do with the workspace. Most of my projects are flex 4.5. I started using an old flex 4.5 workspace that I have been using for several months. It worked well for a few hours of development, and then the design view started messing up.
    I created a fresh new workspace, and imported the projects into the workspace by using file->import flash builder project->Folder, and manually selected the projects I needed.
    This method worked for me and I am good to go.
    Another point of note, is that my workspace was in my dropbox folder, which may have had some tampering going on in the background, I doubt it, but that could also have been the issue.
    Good luck guys, hope this helps.
    Message was edited by: darkscrypt

  • Import photoshop CS3 layers into Flash CS5?

    Does anyone know if you can import photoshop layers from CS3 into Flash CS5? I am looking to get Flash CS5 for my Win 7 but am worried I won't be able to use it with all my CS3 photoshop work.  Has anyone had experience with this and can tell me one way or the other if it does or doesn't work.  I know CS5 has LOTS of backward compatibility problems.
    Thanks.

    Yes, save the photoshop file as a .ps file and then import it in Flash. You will get pretty much the same import options window that you saw in Flash CS3.

  • Error while importing MS project into cProject

    Hi
    I am getting the below error while importing MS project client file or XML file into cProjects.
    dpr_shared087
    Logon language becomes original language
    Message no. DPR_SHARED087
    Diagnosis
    The logon language is defined as a possible text language in Customizing for Collaboration Projects under Specify Text Languages. Therefore, it is valid.
    System Response
    The logon language becomes the original language of the new object that was created.
    Kindly suggest what configuration data if any is missing.
    Regards
    Srikrishna

    Hi
    I am getting the below error while importing MS project into cProject.
    Error occurred when importing from Microsoft Project
    Message no. DPR_UI_BSP116
    Diagnosis
    When a project is imported from Microsoft Project, the system generates an XML string during internal processing. A project is then created in cProjects from this string.
    The XML string contains errors because the values from Microsoft Project were transferred without verification.
    Procedure for System Administration
    Notify SAP or call the cProjects application with the "DebugMode=X" query string and carry out the import again.
    The XML string that was generated temporarily is then validated against the cProjects XML schema. The error message from the XML parser is then displayed in the popup.
    Kindly suggest, if the below steps for importing MS project is ok or not?
    step 1: Create project in MS project with tasks.
    step 2: Maintain maping fields of MSP in cProject configurat
    step 3: Import MPP file into cProject using "Import" button.
    step 4: I am getting the above error while importing the MPP file.
    Regards
    Srikrishna

  • How to import existing projects into JDeveloper 11g

    I am trying to work with JDeveloper for my application and want to know whether it is possible to import existing projects into the work space in JDeveloper. I am currently working with eclipse IDE and this feature is available in it. How can I connect to clear case from JDeveloper? In eclipse it is very easy to connect to clear case with a plugin installed and check out, check in files from the source control. Any help is greatly appreciated.

    The basic way to import code is to use the "New->Projects->Project from existing code" or "project from WAR" dialogs to create your project.
    You then need to do some tweaking in the project properties->Content (and sub nodes such as resources and Web content).
    And also set the correct JARs/Libraries in the project properties.
    You can use the help->check for update to download the extension to JDeveloper that will let you integrate with Clearcase to do version management.
    This how-to might help you with your migration:
    http://www.oracle.com/technology/products/jdev/howtos/1013/w4wljdev/workshopandjdev.html

Maybe you are looking for