Cairngorm 3 + AIR + Modules

I had seen a couple of posts about the issues using modules in AIR application. Does Cairngorm 3 [Module Library] provides a solution for this issue OR Module Library only supports Flex Applications for now?
-MD

Thanks Alex,
I believe that I've got all the dependencies downloaded from the trunk and in the build path:
Module
Navigation
Integration
IntegrationRPC
Task
parsley-complete-flex3-2.1.0.swc
spicelib-complete-flex-2.1.0.swc
Here's the PM that is dispatching the event:    
ilc.modules.timeline.presentation{
import flash.events.EventDispatcher;  
import ilc.modules.timeline.GetDecadesEvent; 
Event(name="getDecades", type="ilc.modules.timeline.GetDecadesEvent")][ManagedEvents(
"getDecades")] 
public class TimelinePM extends EventDispatcher{
public function TimelinePM(){
getDecades();
public function getDecades():void
dispatchEvent(
new GetDecadesEvent());}
Here's the Command class:
package  
ilc.modules.timeline.application{
 import ilc.modules.timeline.GetDecadesEvent; 
import ilc.modules.timeline.domain.Decades; 
import mx.collections.ArrayCollection; 
import mx.rpc.AsyncToken; 
import mx.rpc.events.FaultEvent; 
import mx.rpc.events.ResultEvent; 
import mx.rpc.remoting.mxml.RemoteObject; 
public class GetDecadesCommand{
public function GetDecadesCommand(){
[MessageDispatcher]
public var dispatcher:Function; 
[Inject]
public var decades:Decades; 
[Inject(id=
'remoteService')] 
public var service:RemoteObject; 
[Command]
public function execute(event:GetDecadesEvent):AsyncToken{
trace('getting decades'); 
return service.getDecades() as AsyncToken;}
[CommandResult(selector=
"getDecades")] 
public function serviceResult(event:ResultEvent):void{
decades.decades =
new ArrayCollection(event.result as Array);}
[CommandFault(selector=
"getDecades")] 
public function showError(fault:FaultEvent):void{
trace(fault.toString()); 
Do you see anything obvious?
Jeff

Similar Messages

  • Load SWF file from AIR library module.

    Hi,
    I am writing a testing agent (record and playback agent) for Flex applications.
    Here, I am required to load a SWF object (in a new window) from a AIR module library.
    And then I need a handle to the newly opened SWF so that I can perform testing operations on it.
    How can I accomplish this. Any links or sample code is welcome.
    Thanks,
    Pradeep.

    10.0.1 is very old, we're on 11.2 now.  Do you know about when this started breaking for you?  I'd suggest two things.  First, you might want to post over on the Flash Pro forums as there's a larger developer audience there and someone might have a quick answer for you.  Next, you might want to open a new bug at bugbase.adobe.com.  Please include detailed steps to reproduce, along with a link to your site and / or sample code so we can test this internally.

  • Captivate Files containing flash files fail to play in AIR

    Hello,
         I am using RoboHelp 8, and Captivate 4.  And I am running Windows Vista Ultimate.
         I am trying to make a fairly complex training system/operator's manual.  We would like the final output to have the uniformity, searchability and structure provided by AIR.  Our method of design involves making interactive swf files in captivate.  Not only do these files have interactive buttons, and pop up windows, they also have silent looping animations and larger flash video sequences that feature full motion and sound.  After the interactive, video-rich document is created in Captivate, it is saved and it's swf is imported onto a page in Robohelp HTML.  And finally the project is exported through Adobe AIR.
         Here's the problem: The final air output shows the swf file correctly with the exception of all video.  All of the video files are absent from the final AIR output.
         Is this a simple issue of redirecting AIR to look for the files at the correct location?  With captivate, it generated a folder that it populated with all the contained .flv animations.  When I click on the .swf that was generated with those files, the Captivate document plays properly and complete with all video and navigation.
         Any Ideas on how to fix this?

    Hello,
         I am still struggling with trying to get the videos to play in a swf file after it is exported to Air.  I've tried a few more tests to get to the bottom of this, unfortunately I don't know how to evaluate the results.  Here are some things I've noticed.
         Within robohelp, If I click the "View selected Item" button while on the topic containing the swf, the preview pops up and plays all of the embedded videos properly.  However, after closing the preview I get an chain of Internet Explorer Script Errors. It reads:
    "An error has occured in the script on this page
    Line:53
    Char:3
    Error:Object required
    Code:0
    URL: file:///C:/Users/dp/Documents/My%20RoboHelp%20Projects/quadrispaceTest/BaggageFolder/PK10 1_2.htm
    Do you want to continue running scripts on this page?"
    When using the output modules,  the AIR module creates an Air document, but when the SWF is clicked through, the pages with embedded video appear to be missing from the file.
         The WebHelp Pro and FlashHelp Pro Modules both output properly.  The videos inside the SWF play completely and properly.
         The Microsoft HTM: help output, acts similarly to the Air output.  It generates the help project, but when the topic with the SWF is viewed, the videos laced throughout the SWF fail to appear.
         I hope this provides some more insight into my problem, since I am anxious to get beyond this issue.
    -David

  • RoboHelp HTML Version 8 - Merging AIR files

    We use Webhelp Pro to merge 19 separate projects into a single merged help file. Can I do that with AIR output, and if so, how? Can anyone point me to a tutorial?

    Hi there!
    I agree with what both Pater and Rick have said, but there may be another way to acheive your objective.
    I have merged 4 additional help systems into our Knowledgebase as an AIR module.
    How?  By importing each project's topics into the Knnowledgebase and the making a top level TOC entry for each components.
    I got this idea from a comment that Rick made noting that the TOC is simply a set of links to the topics. In a merged webhelp, the TOC entry for the child projects are simply placeholders to make the multiple projects appear as a unified whole.
    So in the case I am describing, the "merged" Top level TOC entries actually point to the topics inside the AIR module.
    While I was doing this, there were some issues with the search. While debugging this issue, I discovered that the .cpd file was getting rather large each time I added another system. (over 2.5meg) To fix this, i just kept deleting the .cpd after i mporting each help system and let RH rebuild it for me. Search problem solved! 
    (close merged project/delete project.cpd/reopenproject)
    Now, whether or not this will work for you would seem in part to depend on:
    The way your 19 subprojects folders are structured
    Number of topics in total (we now have about 500 topics form all the merged modules, not sure what the limits for AIRHelp are)
    How you are handling your RH Source Control process
    The attached snag shows the merged Knowledgebase TOC with one of the Help systems topics opened for you to see. It's all there and it works. My team uses this tool every day and they love the fact that all the files they need are in one interface with commenting and autoupdating.
    Hope thos helps or at least gives you something to consider
    Ciao
    Ed
    Message was edited by: ermphd

  • Getting data from context into Popup (Cairngorm 3 + Parsley)

    Hello,
    I am having difficulty accessing a shared object form a PopUp that is part of a module.
    In my module I have the following defined in my module's context.
    <domain:CustomerDetail/>
    In one PM I have the following...
    [Inject]
    [Bindable]
    public var selectedCustomer:CustomerDetail;
    This PM also sets the value of selectedCustomer;
    The view for this PM also has a PopUp defined...
        <popup:PopUpWrapper open="{model.showCustomerDetailsDialog}"
                            opened="model.initDetailsPopup(event)"
                            closed="model.handlePopUpClosed(event)"
                            parent="{this}"
                            center="true" modal="true">
            <presentation:DetailsDialog/>
            <popup:behaviors>
                <popup:AddPopUpToParsleyContext context="{context}"/>
            </popup:behaviors>
        </popup:PopUpWrapper>
    And in the PM for the PopUp I have...
            [Inject]
            [Bindable]
            public var customer:CustomerDetail;
    When I look at this customer object in PopUp PM it is always null.  Another object that is defined in the parent shell applicaiton's context however is not null.  Th eonly way i can seem to set the customer object in the PopUp PM is to explicitly set it during the opening event in the PM that launches the PopUp.
    Has anyone seen this behaviour?  Does anyone have a sample of using Popups with Cairngorm + Parsley and modules?

    Thanks for your response.
    I do have
    [Inject]
    [Bindable]
    public var context::Context;
    in the MXML where PopupWrapper is being used.
    My issue seems to involve the use of modules.  I can use popups fine in my root application.  Any popups that appear in a module however are only able to access objects from the root context and not the child context it is in.  I've actually tried showing popups without PopupWrapper using the process described in the Parsley docs and get the same result.  This leads me to believe the issue is not with PopupWrapper but with Parsley instead.
    Has anyone been able to successfully wire up a popup from a module using Cairngorm 3 and Parsley 2.2?  I'd love to see an example if you have.

  • WMV File not playing in AIR (RH8)

    I imported a wmv file as a baggage file and then TOC'd a blank page that would link to the video.  When I produce the .air file and try to kick-off the video, nothing happens.
    I've also set up the wmv as a hyperlink from within a topic.  That also does not kick off when the hyperlink is clicked in the .air file.  However, if I do a File Preview (glasses) from my Robohelp 8 Project and try the hyperlink, it will open a Media Player window and play the video.
    Why won't the wmv play when produced in AIR?

    Hmm,  I am not sure that a .wmv can play in AIR at all.
    As i understand it, the RH AIR module is:
    Flash player
    .pdf reader
    Browser  (webkit not Windows IE based)
    I have never heard that a .wmv file would play the Adobe flash. Where did you get that info?
    I just Googled ".wmv file player"  and the all the results discuss the Windows Media Player!
    Ciao
    Ed

  • Regarding Adobe Flex ACE certification exam

    Hi,
    Iam planning to take Adobe Flex ACE certification exam in 2 weeks . Iam currentlydeveloping web based application in social Retail 2.0 in Flex 3.0
    But I have no practical knowledge in Adobe AIR.  I planning to read theory alone regarding AIR modules. Is it possible to get thru the flex certification if i dont have practical knowledge in AIR ?

    Hi,
    Have you tried out the Attest 1.5 AIR app? It's a sample exam engine for the Flex 3/AIR Certification that can help you prepare for your certification.
    The types of questions shown for the AIR APIs etc should be fairly representative of the types of questions and content you will need to know for the actual exam. At the end of your exams, the questions you got wrong will have feedback and links to open up documentation to help you understand why you got a question wrong. We are currently adding more questions/exams to it as well as some UI tweaks, so you should be seeing a 2.0 version coming soon !! It's FREE for developers, and you can install it here: http://software.pxldesigns.com/attest/
    Hope it helps ~ please feel free to provide feedback to Dave or myself either at PXL Design's site or mine, thanks!
    Holly Schinsky

  • InDesign CS4 on Mavericks error

    Running Mavericks on a new Macbook Air, and have an issue that's got me beat... 
    After installing CS4 Design Premium from the original CDs, all programs work fine except InDesign (which worked fine on the old Macbook Pro, on Lion).
    No problems at all with the installation, but when trying to open it I get the popular 'Licensing for this product has stopped working' error, with error code '5'.
    I followed Adobe's solution options advice, including an uninstall/reinstall, from here:
    http://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac-os.html
    However, one solution option I couldn't do - and I'm guessing this is the crucial one - was the one using the Licence Repair Tool.
    This wouldn't even launch, due to 'PowerPC applications no longer being supported' in the Mac OS, according to the error. I believe this has been the case for a while now in the later Mac OSs, although the tool is still available for download.
    I've also updated JRE, also to no avail.
    A Live Chat session with Adobe didn't help either, as they said CS4 is no longer supported via this route - but couldn't give me an alternative option for seeking a resolution, other than to look online (which I've spent a couple of days doing!)
    So I'm pretty sure I've exhausted all my options...
    I might have missed something though, so any thoughts or advice would be gratefullly received, thanks - especially on an alternative way to somehow get the Licence Repair Tool working with my OS; I think this might be the key.

    Today i face the same problem as described by dmgifford. After SSD update i installed the CS4 Design Premium with Mavericks. The installation log for Indesign delivers 'Error 2' without any comment or hint.
    During installation i had to terminate the AIR module installation process, because the whole installation were stopped.
    Surprisingly other programs like PS, Ai and Bridge are running .... thats confusing and its no solution by Adobe to terminate support due to older versions!
    Maybe anybody has an idea to solve this problem ? Or Adobe delivers a new free Indesign version ?

  • Some demo interactive captivate files

    Hello,
    I am looking to get my hands on some short, say 20 second, interactive video files in both flash and html5 so that I can test the integration of them on a website and to see how the interactive content works on mobile devices and various browsers.
    If anyone is in a position to create such files (content is not relevant) and make them available to me then that would be greatly appreciated.
    As an aside, has anyone had experience with embedding interactive content on websites and what the compatability is like on different browsers and devices?
    Thanks

    Hello,
         I am still struggling with trying to get the videos to play in a swf file after it is exported to Air.  I've tried a few more tests to get to the bottom of this, unfortunately I don't know how to evaluate the results.  Here are some things I've noticed.
         Within robohelp, If I click the "View selected Item" button while on the topic containing the swf, the preview pops up and plays all of the embedded videos properly.  However, after closing the preview I get an chain of Internet Explorer Script Errors. It reads:
    "An error has occured in the script on this page
    Line:53
    Char:3
    Error:Object required
    Code:0
    URL: file:///C:/Users/dp/Documents/My%20RoboHelp%20Projects/quadrispaceTest/BaggageFolder/PK10 1_2.htm
    Do you want to continue running scripts on this page?"
    When using the output modules,  the AIR module creates an Air document, but when the SWF is clicked through, the pages with embedded video appear to be missing from the file.
         The WebHelp Pro and FlashHelp Pro Modules both output properly.  The videos inside the SWF play completely and properly.
         The Microsoft HTM: help output, acts similarly to the Air output.  It generates the help project, but when the topic with the SWF is viewed, the videos laced throughout the SWF fail to appear.
         I hope this provides some more insight into my problem, since I am anxious to get beyond this issue.
    -David

  • Potential bug when using Parsley 2.4.1 and Cairngorm's module 0.17 in Flex 4.5.1

    Hi
    I have an issue when using cairngorm's ModuleViewLoader along with ParsleyModuleDescriptor to load a simple module consistig mainly of HBoxes, VBoxes and Datagrids.
    The module consists of one child (let's call it ViewA) and that child consists of several children as its components.
    When I use cairngorm's ModuleViewLoader along with the ParsleyModuleDescriptor and Parlsey to inject the modulemanager in my main app, the module loads, as well as ViewA but some nearly all of ViewA's children are not loaded (in fact they're initialized but creationComplete is not invoked).
    When I use Flex's mx:ModuleLoader all ViewA's chikldren are initialized and creation complete is also invoked.
    I will attach the source as a zip file  later on....
    but for now...this is all I can give http://dpaste.com/713503/
    Thanks
    Andreas

    Did you ever find an answer to this?  I am running into the same issue with needing to upgrade parsley to 2.4.x, but with parts of application heavily relying on cairngorm module, upgrading it from module-0.11 to 0.17 seems to break compile! 

  • I have Lightroom 5 installed on my MacBook Air but when I try to open the program I receive the message "An error occurred when attempting to change modules".  I uninstalled, emptied trash and re-installed but I continue to get the same message.

    I have Lightroom 5 installed on my iMac which I downloaded (uploaded?) to my MacBook Air (via wi-fi) but unlike the iMac, I'm unable to use the program on the MacBook Air.  When I open the program on the iMac and click 'file', (as people using the program would know) there are 21 options - import pics, export, etc, etc - however, in the version on the MacBook Air, opening 'file' gives me four options - New Catalogue, Open Catalogue, Page Setup and Printer - and with that comes the pop-up message "An error occurred when attempting to change modules".  Any ideas please?

    A forum thread from 3 years ago talking about LR 1.x which had this problem seems to need permissions fixed or new folders created with the corrected permissions.  You might try doing a repair permissions for your user and/or run LR as an administrator user.  I am a PC person so cannot tell you exactly how to do that.
    https://forums.adobe.com/message/1457020

  • ERROR: Module load completed but symbols could not be loaded for Adobe AIR.dll

    Does anyone know what causes this error? The application installed on my machine is using Adobe Air.dll version 2.0.3.13070
    This dump file has an exception of interest stored in it.
    The stored exception information can be accessed via .ecxr.
    (2b84.2908): Application hang - code cfffffff (first/second chance not available)
    eax=00000000 ebx=05105dbc ecx=0c013503 edx=00002b84 esi=77f15b70 edi=00000002
    eip=00a68972 esp=0012e03c ebp=00000000 iopl=0         nv up ei pl zr na pe nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00040246
    Unable to load image c:\Program Files\Common Files\Adobe AIR\Versions\1.0\Adobe AIR.dll, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for Adobe AIR.dll
    *** ERROR: Module load completed but symbols could not be loaded for Adobe AIR.dll
    Adobe_AIR+0x58972:
    00a68972 8bec            mov     ebp,esp

    Hi,
    Check weather its right path or not.Even check the call interface,weather you are giving the right one or not.
    Regards,
    Srikanth

  • Flash Builder 4.5 + AIR 3.0 RC1 does not output modules to correct location

    Hello
    I'm having some trouble with Flash Builder 4.5 and Flex SDK 4.5.1.21328 with AIR 3.0 RC1. Flash Builder does not appear to compile modules into the location set in the "Edit module" dialog.
    The screenshots below show that the output path of a module is set to a specific folder, yet Flash Builder compiles the module into the default sub-folder.
    #1. Project properties showing application modules
    #2. Dialog showing the path to the module. Not the "Output SWF" location. The default location is the same as the package namespaces, eg: "d6/v3/banners/Banners.swf". After removing the path the module should compile into the output folder (set to bin/debug), however as the next screenshot shows, the module still compiles into the default sub-folder.
    #3. The module is compiled into a sub-folder of the output folder, instead of into the "root" of the output folder.
    #4. The output folder contains only the main application, with a sub-folder for the module.
    #5. Project pproperties showing the output folder.
    There is a workaround - move the module source file into the "Default package" in the package explorer.

    I experienced this problem today, and kind of "solved" it. There may be an underlying bug, though.
    My project compiled fine last Thursday, but I opened it up on Monday (unchanged) and this error showed up in several files. I tried quitting and restarting Flash Builder to no avail. I could not replicate the problem in a new project.
    For me, each occurence of the error was at a private function definition, so I thought I would try changing "private" to "public" on one of the functions. The error immediately went away in all 3 locations (not just the one I edited). I then changed it back to "private" with no error.
    I hope that will help the Adobe team track down the problem.

  • Wi-Fi module in the MacBook Air'12

    What's the Wi-Fi module in the MacBook Air'12 ? What is the maximum speed on the 2.4 GHz and 5 GHz ? And, how many antennas in it ?
    Where can I see that?

    I just sent you a private message. If you are not sure how to check your forum messages, this post has instructions.
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • Adobe AIR keeps trying to download a WIN32 module to my 64-bit OS

    Adobe AIR keeps trying to download a WIN32 module to my 64-bit OS. There's no s/w in the Adobe product list to read a FAQ or get help.
    1) What is Adobe AIR?
    2) Why do I need/want it?
    3) Why is Adobe always trying to load it onto my system?
    4) Why is a 32-bit WIN32 module going to work on a W7 64-bit OS?

    SkywayTraveler I would recommend posting your inquiry to the Adobe AIR forum at http://forums.adobe.com/community/air.

Maybe you are looking for