Flash cs6 osmf loading static plugin problems

Hello everyone...im using the osmf walkthroughs to learn static plugins...im having a problem with the WTO8_SimplePlugin walkthrough
i keep getting:
C:\xampp\htdocs\Arthub\flashTumi\WT08_SimplePlugin.as, Line 52
1120: Access of undefined property AkamaiBasicStreamingPluginInfo.
and also :
C:\xampp\htdocs\Arthub\flashTumi\WT08_SimplePlugin.as, Line 52
1120: Access of undefined property AkamaiBasicStreamingPluginInfo.
'm new to this and all the replies to similar threads are for flash builder and flex but im using flash professional CS6...please help!!!
Thank you very much!!
Tumiso....

Unfortunately it's a compile time error not a runtime error. If it was runtime then yes you could certainly check the typical isSupported() method most ANEs have. Although you need to compile to get to that point and the compiler is throwing the error.
Flash CS5.5 didn't have a problem because you needed to package with ADT command line to include a native extension as it had no idea what it was so it makes sense you could test using it. Flash Builder users (which has had ANE support) have had to deal with keeping ANEs from being packaged to avoid the same compiler errors you're getting. We're very used to the PITA that it is
All an ANE developer needs to do is provide an implementation for a particular platform, even if it doesn't work, and you won't get errors. During creating the static library for the ANE the iOS developer could specify support for it in the build. Unfortunately the ANE you're using doesn't have that. It's telling Flash it only works on a device.

Similar Messages

  • Flash cs6 load static plugin problem

    Hello everyone....I'm having a problem with getting WTO8_SimplePlugiin to work!! I'm new and using the walkthroughs to learn.
    i keep getting an:
    C:\xampp\htdocs\Arthub\flashTumi\WT08_SimplePlugin.as, Line 52
    1120: Access of undefined property AkamaiBasicStreamingPluginInfo.
    and also the :
    C:\xampp\htdocs\Arthub\flashTumi\WT08_SimplePlugin.as, Line 3
    1172: Definition com.akamai.osmf:AkamaiBasicStreamingPluginInfo could not be found.
    I tried looking for solutions on this forum,but all the answers seem to help flash builder and flex developers, i need a solution for flash professional cs6...what am i missing???
    Tumiso[south africa]
    thanks everyone...

    I solved it by my self. Font Book - File - Restore standard fonts - install again Open Sans and it works.

  • Flash CS6 IDE Air Native Extensions problem HELP

    i'm trying to test out CS6's new native extension (ANE) but I'm having a difficult time getting it to work.
    First I went to Adobe's page: http://www.adobe.com/devnet/air/native-extensions-for-air.html
    Downloaded the "Vibration" ane and then through the Actionscript settings panel added the .ane file to my app and then in my actionscript tried to add the code:
    import com.adobe.extensions.Vibration
    var vibe:Vibration;
    vibe = new Vibration();
    vibe.vibrate();
    But when I go to compile I get this error:
    Scene 1, Layer 'Layer 2', Frame 1, Line 3
    1172: Definition com.adobe:Vibration could not be found.
    What do I need to do to get this running? I've tried several different things and variations on the above code but nothing seems to do it. Help!

    Well that gets me furthur than before. Thank you. I had to change a few things.
    import com.adobe.extensions.Vibration
    I had to change to:
    import com.adobe.nativeExtensions.Vibration
    but now when I test in the debugger I get this error:
    [SWF] iOS.swf - 3827 bytes after decompression
    Vibration Constructor
    Vibration Constructor: Create an extension context
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
              at com.adobe.nativeExtensions::Vibration$/initExtension()[/Users/mgarner/Dropbox/_apps/score board/com/adobe/nativeExtensions/Vibration.as:58]
              at com.adobe.nativeExtensions::Vibration()[/Users/mgarner/Dropbox/_apps/scoreboard/com/adobe /nativeExtensions/Vibration.as:32]
              at iOS_fla::MainTimeline/frame1()[iOS_fla.MainTimeline::frame1:14]
              at runtime::ContentPlayer/loadInitialContent()
              at runtime::ContentPlayer/playRawContent()
              at runtime::ContentPlayer/playContent()
              at runtime::AppRunner/run()
              at ADLAppEntry/run()
              at global/runtime::ADLEntry()
    And when I publich to app the phone doesn't vibrate, but all my other functions and actions are working. Any ideas?

  • Flash cs6 native ane publish problem

    hi! i was very lucky to download and test flash cs6, but there are directly problems with the publish function
    after i add an ane file, i get this error:
    DVFreeThread - CFMachPortCreateWithPort hack = 0x18fe90, fPowerNotifyPort= 0x19d5a0
    DVFreeThread - CFMachPortCreateWithPort hack = 0x1a96b0, fPowerNotifyPort= 0x18c5e0
    DVFreeThread - CFMachPortCreateWithPort hack = 0x19d0a0, fPowerNotifyPort= 0x19d5a0
    invalid profile specified 'Application does not support current profile'
    if i'm testing another ane file, i get this error:
    DVFreeThread - CFMachPortCreateWithPort hack = 0x32a460, fPowerNotifyPort= 0x319fc0
    DVFreeThread - CFMachPortCreateWithPort hack = 0x1454b0, fPowerNotifyPort= 0x12c400
    The content cannot be loaded because there was a problem loading an extension: Error: Requested extension com.wolfknock.idialog is not supported for MacOS-x86.
    both ane files was supported on the cs5.5 version. so should cs6 not be besser than 5.5?
    i'm using the default deliverd air3.2 and mac lion..
    maybe it's because the new option ios sdk 5.1 (checkbox?)

    Unfortunately it's a compile time error not a runtime error. If it was runtime then yes you could certainly check the typical isSupported() method most ANEs have. Although you need to compile to get to that point and the compiler is throwing the error.
    Flash CS5.5 didn't have a problem because you needed to package with ADT command line to include a native extension as it had no idea what it was so it makes sense you could test using it. Flash Builder users (which has had ANE support) have had to deal with keeping ANEs from being packaged to avoid the same compiler errors you're getting. We're very used to the PITA that it is
    All an ANE developer needs to do is provide an implementation for a particular platform, even if it doesn't work, and you won't get errors. During creating the static library for the ANE the iOS developer could specify support for it in the build. Unfortunately the ANE you're using doesn't have that. It's telling Flash it only works on a device.

  • Need help with Flash CS6 swf files

    I have upgraded to Flash CS6 from CS5.  My problem is now whenever I made an swf movie, install it into an html page then upload it is doesnt show up.  I didnt have this problem with CS5.  I run it in test and it works on my computer but when I upload it it doesnt.  I have uploaded the script folder so that wouldnt seem to be the problem.  I dont know what is going wrong.  Some help would be greatly appreciated.
    Thanks
    Brent
    http://baconball.com/index2013.html

    open your fla is flash pro.
    click file>publish settings
    tick swf and html wrapper
    click file>publish
    upload the newly published swf and html to your server.
    open the newly published server html using your browser.
    any problem?  if yes, post the url to your newly published html.

  • Flash CS6 won't launch.

    Hi there,
    My Flash CS6 won't launch anymore. I've used it before but am not able to anymore.
    When I start Flash CS6 the loading screen pops up and disappears after a few seconds without starting the program.
    Solutions I've tried without results;
    - Opening a Flash file directly to start Flash
    - Reinstall Flash
    Im running Flash on Windows 7 64-bit.
    If anyone can help me to get it running it would be greatly appreciated.
    Thanks,
    Luuk

    This might help you
    http://www.adobe.com/support/contact/cscleanertool.html

  • [svn:osmf:] 10579: Removed the src folder for the AkamaiBasicStreamingPlugin, this folder structure made it impossible to load the swf as a static plugin .

    Revision: 10579
    Author:   [email protected]
    Date:     2009-09-24 16:40:08 -0700 (Thu, 24 Sep 2009)
    Log Message:
    Removed the src folder for the AkamaiBasicStreamingPlugin, this folder structure made it impossible to load the swf as a static plugin.
    Modified Paths:
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/src/AkamaiPluginSample.mxml
    Added Paths:
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/AkamaiBasicStreaming PluginInfo.as
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/events/
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/events/AkamaiMediaEr ror.as
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/events/AkamaiMediaEr rorCodes.as
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/net/
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/net/AkamaiNetConnect ion.as
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/net/AkamaiNetConnect ionFactory.as
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/net/AkamaiNetLoader. as
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/net/AkamaiNetNegotia tor.as
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/net/AkamaiNetStream. as
    Removed Paths:
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/src/

    Hello
    On my flash, I already have those parameters in place.
    I don't think there would be any security issues however, since I have used a player .swf which loads from the media site and plays the videos without a problem.
    http://www.iongeo.com/channelguide_test_dev/
    click on the four images at the bottom of the screen to see how it works.
    Now, I am pretty much doing the same thing, but this time embedding the other swf to load the videos.  As I mentioned, I was able to do this when everything was on our server, but now there is an issue for some reason when I try to load the .flv into the .swf from the other media server.

  • [svn:osmf:] 10587: Modified the Akamai Plugin Sample app: 1) Added the new MAST plugin; 2) Added support to load the plugins as static or dynamic

    Revision: 10587
    Author:   [email protected]
    Date:     2009-09-24 18:42:35 -0700 (Thu, 24 Sep 2009)
    Log Message:
    Modified the Akamai Plugin Sample app: 1) Added the new MAST plugin; 2) Added support to load the plugins as static or dynamic
    Modified Paths:
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/.actionScriptProperties
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/.project
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/src/AkamaiPluginSample.css
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/src/AkamaiPluginSample.mxml

    Revision: 10587
    Author:   [email protected]
    Date:     2009-09-24 18:42:35 -0700 (Thu, 24 Sep 2009)
    Log Message:
    Modified the Akamai Plugin Sample app: 1) Added the new MAST plugin; 2) Added support to load the plugins as static or dynamic
    Modified Paths:
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/.actionScriptProperties
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/.project
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/src/AkamaiPluginSample.css
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/src/AkamaiPluginSample.mxml

  • Load Akamai plugin example using Static plugin loading method

    Hi,
    I want to load Akamai plugin example using Static plugin loading method. For that, I passed "com.akamai.osmf.AkamaiBasicStreamingPluginInfo" as a class defination, but I got error stating, ReferenceError: Error #1065: Variable AkamaiBasicStreamingPluginInfo is not defined.
    Makjosh once sent a post that the title was "Getting an error while loading the plugin using static plugin load method". I then follow the solution. But how can I add the dependent project(Flex/AS Build Path -> Library Path -> Add Project). As a result, I do not find the AkamaiBasicStreamingPlugin project only having the NetMocker project and the StrobeUnit project in it.
    So I try to link the AkamaiBasicStreamingPlugin project use the following method(project properties->Project References->select "AkamaiBasicStreamingPlugin"), it still causes the same error.
    Please help me.
    Thanks.

    Hi,
    A couple of things to look at:
    1) Make sure you have the import statement in your project:
                import com.akamai.osmf.AkamaiBasicStreamingPluginInfo;
    2) Make sure you add the AkamaiBasicStreamingPlugin folder to your Flex Build Path (right click project, select "properties", then "Flex Build Path", in "Source Path" you need to add the plugin folder).
    3) If you are still getting Error #1065, you can try a trick where you force the swf compiler to pull in the class:
                private static const loadTestRef:AkamaiBasicStreamingPluginInfo = null;
    Now you should be able to use getDefinitionByName to load the plugin:
                    var pluginResource:IMediaResource;
                    var pluginInfoRef:Class = flash.utils.getDefinitionByName(className) as Class;
                    pluginResource = new PluginClassResource(pluginInfoRef);
                    pluginManager.addEventListener(PluginLoadEvent.PLUGIN_LOADED, onPluginLoaded);
                    pluginManager.addEventListener(PluginLoadEvent.PLUGIN_LOAD_FAILED, onPluginLoadFailed);
                    pluginManager.loadPlugin(pluginResource);
    Hope that helps,
    - charles

  • PHOTOSHOP CS6 PLUGIN PROBLEM; I have PS CS6

    PHOTOSHOP CS6 PLUGIN PROBLEM; I have PS CS6 & a mac osx 10.7.5  I have downloaded the pluginhttps://sourceforge.net/projects/panotools/  I drag it to the applications folder  (applications/photoshop/plugins) and it shows up there, but it does not show up when I reopen photoshop, can anyone tell me if this is a valid plugin or what I am doing wrong?

    Thank you for the link, I don't see where the licensing is listed at all, I also don't see where it says it is for existing CS2 users only & the line install a special version that does not require activation -                                   
    doesn't scream it'd be a problem to load it especially since I already own a later version that I can't use the plugin on - …I don't find the site all that informative.  I appreciate all the answers & responses to my use of CS2 but I'd really just like to receive an answer to the original question of if the plugin works with it or not…if anyone has that answer I'd appreciate it.
    Is there a place I can purchase it?  I will gladly do so if I can get the plugin to work-that is my goal.

  • Flash CS6 crashing on loading screen - everytime.

    Hi All,
    Ive just purchased Adobe Design and Web Premium.
    Ive managed to run other applications without any problem, like Photoshop 64bit, Illustrator 64bit, InDesign and Dreamweaver.
    However, everytime I tried to run Flash Professional CS6 it crashes when the loading screen appears.
    It says "Adobe Flash CS6 has stopped working"
    My system is running on Win 7 64bit
    Ive also updated my windows and ran Adobe Updates.
    Oh also tried uninstalling and clean up using the Adobe Creative Suite Cleaner
    Still it crashes... only Flash Pro. The rest aint got any problem.
    Would appreciate if there's any help or tips you can give.

    Is anyone esle still having this problem? I tried removing preferences and still got the error. I also uninstalled the entire CS6 install, ran the Adobe CS6 cleaunup tool and removed everything, reinstalled. I can get it to run if I run it as Admin, but that's annoying to click away the UAC prompt all the time and I don't like running programs as admin if I can avoid it for general security reasons..
    I thought it might be like Photoshop where it's incorrectly setup to run from a multi- hard disk environment like mine where the registry is setup to have user folders and files on a separate drive ( see this photoshop thread) but there doesn't seem to be any way of changing scratch disks in InDesign like the photoshop work-around.
    Anyway, here's my system info:
    Windows 7 Ultimate x64
    xeon x5550 ht
    8gb RAM
    ATI Firepro 1gb
    2 disks
         C: = windows system and software files
         D: = users folder

  • Flash CS6 crashes while loading

    Hi everyone,
    I have problem with loading fresh installed Flash CS6.
    Yesterday I reinstalled system (win7, 64bit), and start downloading and installing Adobe programs. Everything worked fine, Flash started, I made few banners, and gone to sleep.
    Today, when I started computer, I got notification that there are some updates, also for Flash.
    After installing that I can't start Flash. I'm clicking on icon, I see welcome screen, and while 'Initializing fonts' everything just dissapear. No error, no alert, nothing.
    Any idea?
    Thanks,
    Pawel

    Hello,
    The logs can be found at:
    Win: Program Files\Common files\Adobe\Installers or \Documents and Settings\<user>\Local Settings\ApplicationData\Adobe\AAMUpdater\1.0\
    Mac: /Library/Logs/Adobe/Installers or ~/ Library/ApplicationSupport/Adobe/AAMUpdater/1.0/
    Regards,
    Suhas Yogin

  • Flash cs4 mac - Error opening URL '/:Users:someting.swf' - Not a "loading external content" problem

    Hello.
    I am having a weird problem when trying to test a movie or publish preview -> flash on mac with Leopard os.
    The result is a blank movie with the usuall "movie not loaded" if u right click on it and the output returns the "Error opening URL 'the path of the swf here'.
    This has nothing to do with loading external files or something like that. It happens even in blank movies and it gives the same error if I try to open a swf from flash ide.
    I can publish the project or export the movie with no problem at all.
    I can preview the movie in html. I can run all the swf files in my hard disk, network, usb stick, dvd etc., but when I try to open any of these files from flash ide I got that stupid error.
    Its not something that stops me from working in flash ide but its slow to export movie any time I want to test it.
    Things that I've tried so far but nothing worked:
    Update the flash cs4 to the latest version
    Update the flash players
    Restored the release flash player as default player (I am using as default the debug player)
    Cleared the preferences
    Move the flash cs4 folder to another location in hd
    Saved the fla document first before testing the movie (in different places with or without spaces in document name or folder)
    Give read & write permissions for everyone for flash.app, players and for fla files when saved first before test movie
    Unistall and install the application 3-4 times.
    Test every as version just in case.
    Also I've checked the folders when testing movie and I can see that it creates an swf file, which I can run it outside flash ide (the one that the flash ide player cannot load) with no problem.
    The mac os has the default set up as it came. Nothing chnaged in permissions or security settings.
    Thanx in advance.

    In this particular example I am using this code to start the
    xml file load:
    // now load the XML file that contains the content strings
    var sXMLFile:String = "xml/home.xml";
    var xmlContent:XML = new XML();
    xmlContent.ignoreWhite = true;
    xmlContent.onLoad = onXMLLoadComplete;
    xmlContent.load( sXMLFile );
    But I don’t think the code is the problem here . This
    happens on every file I load when I am using a relative path to the
    content, regardless of how I load the content (XML object,
    loadMovie, MovieClipLoader, etc…) and the same code executes
    perfectly on every other machine in the office(Mac and PC).
    I’m more concerned with the semi-colons and .swf filename
    that Flash is putting into my relative path on the error message.
    Is that normal?

  • Flash CS6; AS3: How to load image from a link on one frame and addChild(image) on other?

    How can I addChild outside the frame of images loader function? When I try to addChild on the other frame of the same loader, I get an error.
    I need to download all my 10 images only ONE TIME and place it on the screen in the other frames (to the same movie Clip).
    Also I can only play this as3 coded frame once. I know how to add an array of images, but I only need to understand how to do it with one image.
    Here is my loader for one image..
       var shirt1 = String("https://static.topsport.lt/sites/all/themes/topsport2/files/images/marskineliai_png/215.pn g");
       var img1Request:URLRequest = new URLRequest(shirt1);
       var img1Loader:Loader = new Loader();
       img1Loader.load(img1Request);
       myMovieClip.removeChildAt(0);
       myMovieClip.addChild(img1Loader);

    Symbol 'Spinner', Layer 'AS', Frame 2, Line 1
    1120: Access of undefined property img1Loader.
    [FRAME1]
    import flash.display.Sprite;
    import flash.events.Event;
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    import flash.events.*;
    import flash.net.URLRequestHeader;
    import flash.net.URLRequestMethod;
    import flash.net.URLVariables;
    import flash.events.SecurityErrorEvent;
    function init(e:Event = null):void
        removeEventListener(Event.ADDED_TO_STAGE, init);
        var loader:URLLoader = new URLLoader();
        var request:URLRequest = new URLRequest("http://www.topsport.lt/front/Odds/affiliate/delfi");
      var acceptHeader:URLRequestHeader = new URLRequestHeader("Accept", "application/json");
      request.requestHeaders.push(acceptHeader);
      request.method = URLRequestMethod.POST;
        //request.url = _jsonPath;
        loader.addEventListener(Event.COMPLETE, onLoaderComplete);
      //loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
        loader.load(request);
      try {
                    loader.load(request);
                } catch (error:Error) {
                    trace("Unable to load requested document.");
    init();
    function onLoaderComplete(e:Event):void
        var loader:URLLoader = URLLoader(e.target);
        var jsonObject:Object = JSON.parse(loader.data);
      var marsk1 = String("https://static.topsport.lt/sites/all/themes/topsport2/files/images/marskineliai_png/215.pn g");
      var img1Request:URLRequest = new URLRequest(marsk1);
      var img1Loader:Loader = new Loader();
      img1Loader.load(img1Request);
      _2.removeChildAt(0);
      if(_2 != null)
      _2.smoothing = true;
      //    the addChild which works when on frame one
      //_2.addChild(img1Loader);
    [FRAME2]
      _2.addChild(img1Loader);
    p.s. I removed the unnecessary code like other movieClips. It works then addChild function is on frame one.
    I'm kind of new to as3. I started using it this month so sorry if it's the obvious mistake.
    How to make flash recognize the loader?

  • First publish to AIR in Flash CS6 problem

    I get this error after trying to install the .air file from a successful publish to AIR from Flash CS6. The file I'm using has been working fine for publish to AIR in CS5.5.  Anyone know what is up here?  I'm not using teh embedded runtime publish option.
    "This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance."
    Thanks!

    Hi David ,
    The reason for the above problem could be that the same application exported with different certificates, and the new one which you are trying to install conflicts with the old one.
    Try the following steps :
    1. Make sure you uninstall the AIR application completely.Search for the application from its App name which you had specified in the "AIR Settings" dialog.
    2. Install the AIR application again.
    If this also doesn't help then
    You can check by changing the ID of the application and install it as a brand new app that has never been installed before.
    Thanks and regards,
    Sudeshna Sarkar
    Adobe Flash Professional Team.

Maybe you are looking for

  • Trying to share itunes from macbook to windows xp machine.

    I've enabled home sharing on the macbook and can see the library ok on the xp machine. Can view and play tracks but cannot see any option to import tracks to xp machine. According to "help" there should be a window at the bottom giving this option bu

  • 160Gb iPod Classic - Coverflow Sort order

    I have posted a similar forum topic on iLounge and I am really surprised at the lack of response and given that this issue may/must affect the iPhone and Touch that more people are not discussing it. My problem is this, I have purchased a 160Gb Class

  • How to run .exe (WinZip self-extract) in BO XI?

    Is it possible to run WinZip self-extracted file (.exe) in BO XI? We used them back in BO 6.5. I ran it as Administrator and got error: Error Message:  Running programs of this type has been disabled by the administrator

  • Lightroom 4 .2 update

    Hi I am having trouble updating lightroom 4.1 to 4.2 on my Mac, there doesn't seem to be a patch, I can't upgrade in Lightroom, it has been suggested that you need to uninstal 4.1 and instal a complete version of 4.2 is this correct? Richard

  • How to download videos from You Tube?

    Does anyone know of a tool to download videos from You Tube, to import into iMovie, that actually works? I installed Get Tube, which could not even be activated. vixy.net (an online FLV converter) worked for two video clips but 80% of the time it get