RTE using FilePublisher in Flash CS 5.5

Hello world. I'm having extraordinary difficulty using the FilePublisher class from the Flash CS 5.5 environment. I think I've tracked down the problem, but have no idea how to fix it.
I'm trying to make a prototype application that essentially functions as a dynamic online powerpoint presentation. To this end I've thusfar created an application (largely from the samples) that allows users to connect to a room hosted through LCCS, see who all is there and supports basic chat.
The problem originates from the next step, where I try to upload images to the service.  In a nutshell, if I try to use any of the methods like browse() or  uploadFileReference(), I get null refs (Error #1009: Cannot access a property or method of a null object reference) despite the fact that I'm instantiating a new publisher on the line immediately prior before trying (publisher==null is false as well at this point).
I've read this post (http://forums.adobe.com/message/1054513) and suspect that the fact that I can't call initialize means the publisher isn't getting added to the display properly. However, I can't use initialize as it is done with the Flex example because the swf won't compile (Error 1061: call to a possibly undefined method "initialize") when I try to call publisher.initialize(), even though the editor can see all of the other methods outlined in the documentation.
Trying to manually add the publisher to the display with AddChild(publisher as DisplayObject) fails, because while publisher traces out to being not null, publisher as DisplayObject DOES trace out as null. So the 64 thousand dollar question is;
How do you get the darn FilePublisher to work with CS 5.5 when you can't initialize() it? Or, how do you cast it so you can?
Also, I'm using 10.1 player, AS3, and the swc compiled as FlashOnly.

Hi,
For the flash only swc, you dont need the initialize functionality. As
mentioned in the post, intialize() function is called when the
FilePublisher component is added to a Flex container. In the flash only
swc we have decoupled it from Flex and its mechanisms, and it required
us to eliminate intialize functionality. So, calling
filePublisher.subscribe() should instantiate all the needed variables.
In summary, the thread you mentioned is Flex specific, and doesn't apply
to the scenario you mentioned. Subscribing to the filePublisher manually
might fix your issue.
If you are still stuck, Can you post your code and debug logs if possible,
Thanks
Arun

Similar Messages

  • Can i use another storage flash for my apple air mackbook(change from current 128Gb to 256GB without any issue)

    Can i use another storage flash for my apple air mackbook(change from current 128Gb to 256GB without any issue)

    There are some upgrade options available from do it yourself sites.
    See the MBair SSD upgrades on mid way down this page:
    http://eshop.macsales.com/shop/SSD/OWC/

  • If i use a usb flash drive which is both os and windows compatible can i transfer files from my mac to a windows pc using the same usb flash drive?

    if i use a usb flash drive which is mac os and windows compatible can i use it to copy files from the mac to a windows machine. i have to do some training abroad and wnat to take the files on a usb from the mac but they will only have a windows operating system available to me.

    Generally, it's not the flash drive that makes it compatible, but the formatting used on it.  In Disk Utility on a Mac, the format is called MS-DOS (FAT).  In Windows, I believe it is called FAT32.
    A USB flash drive formatted that way should be readable and writable on both Mac OS X and Windows.  But you may want to try a "trial run" before relying on it for the trip.

  • How to use Alcon in Flash Builder 4.5

    I am using Alcon as memory and performance profilers.
    I searched around the Internet, only found articles that talk about how to use it in Flash:
    Debug.monitor(stage, 1000);
    But what is the counterpart to this statement in Flex environment? What should I pass to monitor method?
    Thanks.

    Hi
    Currently i haven't found any documentation describing how to compile and use this tlfx.
    I went through the change log to see what was added, and it looked quite good.
    I have tried to compile it, but my experience with fb4 is very limited. I have only worked with it for a couple of months.
    I would like a description of how to compile and use this tlfx liblrary in a flex application, so that i can have table supprt as well as support for bullets and numbering.
    TIA
    Allan

  • Using flex4.1, Flash Builder giving error "flash.filesystem::StorageVolume could not be found."

    Hi there,
              I'm trying to copy some files to Storage Card on a AIR application. Is this possible with the latest version of the AIR SDK (2.0)?
              I am developing in Flash Builder. I have downloaded the lastest flex sdk(4.1)  and used it.
              Flash Builder then recognises the StorageVolume and StorageVolumeInfo classes. However when I then run the app the debugger throws an error on the following line:
    LINE:
    var volumes:Vector.<StorageVolume> = StorageVolumeInfo.storageVolumeInfo.getStorageVolumes();
    Note: I have imported both classes as well.

    I'v read the article
    http://forums.adobe.com/message/2984004#2984004,
    and checked my application.xml, The content of the first two lines is:
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.0">
    Error message from flash builder debug:
    typecheck Player/getLocalVideo()
      outer-scope = [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ mx.core::FlexSprite$ mx.core::UIComponent$ spark.components.supportClasses::SkinnableComponent$ spark.components.supportClasses::SkinnableContainerBase$ spark.components::SkinnableContainer$ spark.components::Application$ spark.components::WindowedApplication$ Player$]
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} ()
      0:debugfile "D:\My Documents\Adobe Flash Builder 4\LiveVideoClient\OnSiteEnforceLawPublish\src;;Player.mxml"
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} ()
      2:debugline 20
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} ()
      4:getlocal0
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} (Player[O])
      5:pushscope
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {Player[O]} ()
      6:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {Player[O]} (null[O])
      7:coerce_s
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {Player[O]} (String?[S])
      8:setlocal 5
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] *[A] *[A] *[A] *[A] *[A]] {Player[O]} ()
      10:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] *[A] *[A] *[A] *[A] *[A]] {Player[O]} (null[O])
      11:coerce mx.collections::ArrayCollection
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] *[A] *[A] *[A] *[A] *[A]] {Player[O]} (mx.collections::ArrayCollection?[O])
      13:setlocal 6
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] *[A] *[A] *[A] *[A]] {Player[O]} ()
      15:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] *[A] *[A] *[A] *[A]] {Player[O]} (null[O])
      16:coerce flash.filesystem::File
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] *[A] *[A] *[A] *[A]] {Player[O]} (flash.filesystem::File?[O])
      18:setlocal 7
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] *[A] *[A] *[A]] {Player[O]} ()
      20:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] *[A] *[A] *[A]] {Player[O]} (null[O])
      21:coerce_s
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] *[A] *[A] *[A]] {Player[O]} (String?[S])
      22:setlocal 8
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] *[A] *[A]] {Player[O]} ()
      24:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] *[A] *[A]] {Player[O]} (null[O])
      25:coerce_s
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] *[A] *[A]] {Player[O]} (String?[S])
      26:setlocal 9
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      28:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      33:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      38:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      43:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      48:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      53:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      58:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      63:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      68:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      73:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      78:debugline 23
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      80:findpropstrict flash.filesystem::StorageVolumeInfo
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} (Object[A])
      82:getproperty flash.filesystem::StorageVolumeInfo
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} (*[A])
      84:getproperty storageVolumeInfo
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} (*[A])
      86:callproperty getStorageVolumes 0
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} (*[A])
      89:coerce __AS3__.vec::Vector
    VerifyError: Error #1014: Class flash.filesystem::StorageVolume could not be found.
    at Player/___Player_WindowedApplication1_windowComplete()[D:\My Documents\Adobe Flash Builder 4\LiveVideoClient\OnSiteEnforceLawPublish\src\Player.mxml:4]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\core \UIComponent.as:12528]
    at spark.components::WindowedApplication/enterFrameHandler()[E:\dev\4.x\frameworks\projects\ airspark\src\spark\components\WindowedApplication.as:2355]

  • Using iPod as flash drive but deleted data space stays used up

    Using iPod as flash drive for files. When I'm finished with the files I deleted this data off the iPod but it is saying the memory is full.
    Theres over 40GB of 'other' data that doesn't exist. How do I clear this? Thanks

    Even though I searched beforehand, I was redirected to this link <https://discussions.apple.com/message/3490336#3490336> AFTER I posted it. So problem solved! Hurrah!

  • I tried to export photos from iMac to iPad using a USB flash drive.  The photos are on the drive but when I plug it into the iPad, the iPad says the device requires too much power.  Any ideas of what type of USB flash drive I should use?

    I tried to export photos from iMac to iPad using a USB flash drive.  The photos are on the drive but when I plug it into the iPad, the iPad says the device requires too much power.  Any ideas of what type of USB flash drive I should use?

    You can transfer photos outside of iTunes. I do it all the time. THat said, i have a 50/50 success rate with them. I'd avoid sandisk and kingston, their bundled software triggers the 'too much power' warning.
    I've had mixed luck with lexar, some work, some don't.
    I did have good luck with an older 4 gig geek squad one.
    Look for drives without software on them, without bright LED lights and I haven't gotten any larger than 4 gig to work, but that may just be me.
    For a less troublesome way? h onestly, I use a SD card that I've formatted with the DCIM folder. I've never had one of them trigger the 'too much power' warning. Just make sure they're not SDXC. those don't work.

  • I have an external camera, IceCam2, connected to my MacBook Air, but I cant switch to the camera when I try to use videocam on a websayt. How do I switch from internal to externl camera? In use is Adobe Flash Player, but I cant open that program, is the s

    I have an external camera, IceCam2, connected to my MacBook Air, but I cant switch to the camera when I try to use videocam on a websayt. How do I switch from internal to externl camera? In use is Adobe Flash Player, but I cant open that program, is the s

    I think the McAfee suite will do the trick when I pay them a one-time fee of $69 or $179 for a year for unlimited support.
    Your call of course but IMO a waste of money. Please read this first:
    There are many forms of ‘Malware’ that can affect a computer system, of which ‘a virus’ is but one type, ‘trojans’ another. Using the strict definition of a computer virus, no viruses that can attack OS X have so far been detected 'in the wild', i.e. in anything other than laboratory conditions. The same is not true of other forms of malware, such as Trojans. Whilst it is a fairly safe bet that your Mac has NOT been infected by a virus, it may have another security-related problem, but more likely a technical problem unrelated to any malware threat.
    You may find this User Tip on Viruses, Trojan Detection and Removal, as well as general Internet Security and Privacy, useful:
    https://discussions.apple.com/docs/DOC-2435
    The User Tip (which you are welcome to print out and retain for future reference) seeks to offer guidance on the main security threats and how to avoid them.
    More useful information can also be found here:
    http://www.reedcorner.net/mmg/

  • Leopard to Snow Leopard can i use a large flash drive to backup first?

    I've been using Leopard for 4 years with no problems. 
    Since Google decided to stop support for Leopard, and I use Chrome a lot I decided to upgrade.  I won't be upgrading to Mountain Lion right right away. I ordered my Snow Leopard disks from Apple.
    I understand that I need to backup.  I want to backup with Time Machine before I upgrade the OS, but I don't have $75+ right now to purchase an external hard drive for this purpose only. 
    Can I use a large Flash Drive to run Time Machine?  Like a 32 GB?   I know that flash drives have a limited number of writes on them and can go bad, so I am thinking I could just use it this one time to make sure I have a clean backup.  If this is possible, then can I set up Time Machine again later when I have an external drive?
    Also, I have 2 cores on my Mac, but I have no idea how to use the 2nd core. 
    I'm also not sure if I need to purchase a specific external drive because I have a mac. 
    Thanks for the help.

    If you only need to make a full backup prior to upgrading, I would suggest using SuperDuper, which for creating a full, bootable clone is free. (It is not free when you start needing to make incremental backups, but you won't be doing that, at least not right now.) For a bootable clone, you only need a Flash drive (or external drive) as big as the total size of the utilized space on your hard drive right now, not as big as whatever the entire drive size is.
    In the past, I would have recommended Carbon Copy Cloner for this, but it's no longer free or donation-ware and you don't have the budget for both that and some kind of external or Flash drive.
    http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html
    You might also want to look around newegg.com for inexpensive USB external drives, or even large enough Flash drives. You'll probably find a much less expensive external hard drive than a Flash drive for this purpose.
    You do not need to use Time Machine, but even if you did you could just make one full backup to a Flash or external drive and then unmount and disconnect it. An external for TM only needs to be so large because it's constantly taking snapshots of your drive and those add up. But you won't be using it that way.
    Anyway, I think you're much better off with a bootable clone, should you need to restore that.
    Don't worry about having 2 cores; that's nothing to do with backing up.

  • Can I install windows 7 on a MBA using a USB flash drive?

    I do not have an external DVD drive. Can I install windows 7 on a MBA using a USB flash drive? If so, what's is the procedure?

    Hi,
    have a look/read here http://www.intowindows.com/how-to-create-bootable-windows-7-usb-to-install-windo ws-7-from-usb-flash-drive-using-windows-7-dvdusb-tool/
    Regards
    Stefan

  • I have Photoshop Eleent 12 and use a Windows PC.  I hae been using a Canon EOS 50D for several years, which uses a Compact Flash Card.  I have always downloaded pictures by using a card reader wich I connect to my computer. I Go to the Organizer, click on

    I have Photoshop Eleent 12 and use a Windows PC.  I hae been using a Canon EOS 50D for several years, which uses a Compact Flash Card.  I have always downloaded pictures by using a card reader wich I connect to my computer. I Go to the Organizer, click on "Import" and select "From camera or card reader".  Once on the Photo Downloader, I select the pictures, chose the folder and click on "Get Media" and all the photos get downloaded. Today I folled the same procedure as always, but ZI'm gettig an error message that reads"Import Failed" followed by another message that reads "Nothing was imported. The file(s) or folder(s) selected to import did not contain any supported file types, or the files are already in this Catalog."  I'm puzzled by this message and don't know what to do o get my photos.  Any suggestions?

    The organizer doesn't care where you send your photos when you download them via the downloader or where they happen to be when you first bring them in if you use the Get Photos command, but once your pics are in the Organizer, you *must* move them from within organizer or it can't find them. You don't have to use My Pictures at all if you don't want to, but regardless of the folder where you put your photos, if you want them someplace else, you use organizer to do it.

  • Using papervision in flash builder and getting TypeError: Error #1009: when using object.pitch(5)

    When i use papervision in flash builder and i am doing a test, when i render a sphere using papervision with the following code it renders me the sphere.
    When i add a line sphere.pitch(2);      ||
    sphere.yaw(2);
    sphere.roll(2);
    i get the following error,
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at PvTest/onRenderTick()[D:\Android 3D\PvTest\src\PvTest.as:39]
    Can anyone help me figure out the error
    For additional Info, these are the imports i am doing:
    import org.papervision3d.objects.primitives.Sphere;
    import org.papervision3d.view.BasicView;

    I followed the steps and read some of your comments on the same top topic in another thread. When I put it on the first frame it was okay but the next button on that page had the same problem.  So what I am guessing is that I have to either create a document class or put the actions where the buttons are.  Am I understanding that correctly?  In the other thread in which you helped someone else; there was so comments about document class.  I found a tutorial on it and the way I understand it is that it you can put you actions in an external document.  But you have to include in the event listener the frame in which you want that action to happen.
    Thaks for your help.  And patience.

  • Can I use the camera flash in 6220 c as a flashlig...

    Hello,
    how can I use the camera flash in my nokia 6220 classic as a flash light?

    when your in camera mode you will see options you will see the flash icon scroll down to on this works best in video mode and just press camera buttons as if you wer taking a photo
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • Can I use classes in Flash 8? I get errors by doing so.

    Hi All,
    Whenever I use classes in Flash 8, I get the below error on
    compiling. How do I create classes to make my programs more
    modular? Can anyone explain me with a simple executable example?

    >> Classes may only be defined in external ActionScript
    2.0 class scripts.
    That's your answer... classes have to be located in external
    .as files.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Can I use Unity3D in Flash?

    Can I use Unity3D in Flash?
    I know Unity3D does not support for Flash anymore.
    Recently I'm trying to bring Unity3D in Flash.
    But I'm stuck now. so I would like to ask about it can be done.
    any comment will be very grateful. Thanks!
    Development environment
    Tool : Flash CC
    Language : ActionScript 3.0
    SDK : Adobe AIR 17
    Platform : Windows OS

    No - but with custom platform support it may be possible for someone to write an extension which outputs from Flash Pro CC to a Unity friendly format.

Maybe you are looking for

  • SUBMIT does not work in background...

    Hi guys, We have a copy program of a standard transaction and once we use this copy program in the main program via SUBMIT... it does not work in background... Why is this so,,, Please advice... THanks!

  • SAP Query - How can I add the description

    Hi, I need to add in my ueries descriptions for different filed: Ex. Condition Type (I only have the BO01, I need to display "Mat/Group Rebate"), Status of the agreement (in stead of C,B, D etc, I need Settlement parrtyaly done.. etc) , Reason for re

  • [SOLVED] systemd user unit for lsyncd

    After following the the systemd/User - Basic setup wiki article I have successfully setup user services for systemd.  I've also setup a systemd user "unit" to run lsyncd.  The user unit appears to start successfully based on the unit status shown bel

  • Business Objects in vmware cluster very slow

    Post Author: aboorkuma CA Forum: Administration Hi I recently move the BO From standalone server to Cluster in vmwrae users are facing problem when accessing the reports , some times page cannot displayed or timeout coming now it is very very slow wh

  • Desktop Icons Change Positions After Restart

    Hi, After I inadvertently synced my computer with another Mac computer my icons change position after restart. I was trying to sync another computer to mine. I have tried the usual suggestions of taking out com.apple.finder.plist and com.apple.deskto