::    .swf dependencies issues  ::

Hey everyone,
Let's start from the really basic; I created a flex app that uses google maps. When embedding the .swf file into an HTML I get nothing on the screen- its missing its dependencies. I copied all the generated files to the same relative locations on the server and still no luck.
My question could be: how to 'wrap' all the dependencies in one file?
Please help.

In your Project properties - Flex Build Path - Library Pat, select your external SWCs and on Linkage type choose Merge Into Code.

Similar Messages

  • Loading External Swf with Other Swf Dependencies

    I'm trying to load an old project into a new project via swf. My old project had local external swf dependencies.In other words A.swf is the old project swf and it loads in B.swf and C.swf. I want to load A.swf into my new project. All the .swf file are local and will be loaded locally. Using the url and loader to load the old project's swf into the new project, I get an error that says that the stage must not be null. I have put A.swf, B.swf, and C.swf all within the same folder together in the new project. Is the correct approach? I'd like to know if this is even possible and if so how should I do it? Thanks in advance!

    Hmm I don't believe I have targeted the stage. Here's my code below.
    package ExergameShell.screens
      import flash.display.Loader;
      import flash.events.Event;
      import flash.net.URLRequest;
      import feathers.controls.Screen;
      import starling.core.Starling;
      import starling.events.Event;
      public class Leaderboard extends Screen
      private var url1:URLRequest;
      private var loader1:Loader;
      public function Leaderboard()
      addEventListener(starling.events.Event.ADDED_TO_STAGE, init); // necessary for all screens
      private function init():void
      url1 = new URLRequest("A.swf");
      trace(JSON.stringify(url1));
      loader1 = new Loader();
      loader1.load(url1);
      //Starling.current.nativeStage.addChild(loader1);
      //loader1.contentLoaderInfo.addEventListener(starling.events.Event.COMPLETE, resetFPS);
      private function resetFPS(event:flash.events.Event):void
      Starling.current.nativeStage.frameRate = 60;

  • Converting a PDF to a SWF Font issues

    Hi,
    Maybe somebody out there has seen this and can guide me in
    the right direction?
    I am trying to convert PDF files into a flash book using the
    flashprinter product.
    Here is an example of the PDF I am trying to convert. (you
    should see it is using the
    following fonts PostScript Fonts - HelveticaNeue-HeavyCond,
    HelveticaNeue-LightCond, HelveticaNeue-LightCondObl,
    NewsGothic and NewsGothic-Bold).
    http://www.sendd.com/~webdrop/htdocs/200704/FontProblems.pdf
    When this gets converted to the Swf (LOOK at the file ZOOM+
    Mode)
    http://www.sendd.com/~webdrop/htdocs/200704/EZBlue_v11t.swf?RRDid=aFC3tehrg1VGCUIylKIQ
    Once I saw what was happening I thought it was a font issue
    and I made up a page with all the fonts used by using the ATM
    sample viewer.
    http://www.sendd.com/~webdrop/htdocs/200704/AllFontsUsed.pdf
    (Look at the SWF file in the ZOOM + mode view - looks great)
    http://www.sendd.com/~webdrop/htdocs/200704/EZBlue_v11t.swf?RRDid=6J5LSHAZKnf9qPXa1VGk
    If anybody out there can help that would be great,
    thanks,
    Swf_trying

    Hey Joseph,
    Please tell me whether you are able to convert any other PDF file to excel format or not?
    What exact error message do you get?
    Are you trying to convert a scanned PDF document?
    Hope to hear from you.
    Regards,
    Anubha

  • Render Dependencies Issue in JSF Remote Portlet

    Hi All,
    Am facing one issue while Rendering Dependencies (JS and CSS)
    from a Remote Page (in Consumer) which contains a JSF Portlet in Producer.
    I created a JSF Portlet and added the "home.dependencies" in Render Dependencies Path
    in producer.
    Then i created a page "Sample.page" in producer and added the created JSF portlet.
    Then in consumer I created a remote page which access the "Sample.page" in producer
    and added it to the portal.
    Then, after opening the portal in IE, on checking the view source, the dependencies
    rendered in the head section of the portal are like..
    <head>
    <link rel="stylesheet" type="text/css" href="home.css"><script src="homeJobs.js" type="text/javascript"></script>
    </head>
    But, when i am trying to render dependencies from a JSP portlet using a remote page..
    on checking the view source, then dependencies rendered in the head section of the portal
    are like..
    <head>
    <link rel="stylesheet" type="text/css" href="http://localhost:7001/SamplePortal/resource;jsessionid=v8v8PLwTjWtx5cqGLRZJ13mGDvJ0hHJ11RQdP4QnrXdd94DJbpJy!1009314001?_portlet.portalUrl=%2FSamplePortal%2Fbrowse.portal&amp;_windowLabel=Sample_page_sample_Home_page_page_5_portlet_home_1&amp;_nfpb=true&amp;_portlet.renderResource=true&amp;wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Flocalhost%3A7001%2FBrowseJobsApp%2Fsample%2Fhome.css&amp;wsrp-requiresRewrite=true&amp;wsrp-resourceID=&amp;wsrp-preferOperation=&amp;wsrp-resourceState=&amp;wsrp-resourceCacheability=&amp;">
    <script src="http://localhost:7001/SamplePortal/resource;jsessionid=v8v8PLwTjWtx5cqGLRZJ13mGDvJ0hHJ11RQdP4QnrXdd94DJbpJy!1009314001?_portlet.portalUrl=%2FSamplePortal%2Fbrowse.portal&amp;_windowLabel=Sample_page_sample_Home_page_page_5_portlet_home_1&amp;_nfpb=true&amp;_portlet.renderResource=true&amp;wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Flocalhost%3A7001%2FBrowseJobsApp%2Fsample%2FhomeJobs.js&amp;wsrp-requiresRewrite=true&amp;wsrp-resourceID=&amp;wsrp-preferOperation=&amp;wsrp-resourceState=&amp;wsrp-resourceCacheability=&amp;" type="text/javascript"></script>
    </head>
    I cannot get the same type of portal url for dependencies when am using a JSF portlet in
    a remote page.
    the dependencies code i have used is..
    <?xml version="1.0" encoding="UTF-8"?>
    <window
    xmlns="http://www.bea.com/servers/portal/framework/laf/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/servers/portal/framework/laf/1.0.0 laf-window-1_0_0.xsd">
    <render-dependencies>
    <html>
    <links>
    <link href="home.css" type="text/css" rel="stylesheet"/>
    </links>
    <scripts>      
    <script src="homeJobs.js" type="text/javascript"/>
    <script src="browseJobs.js" type="text/javascript"/>
    </scripts>
    </html>
    </render-dependencies>
    </window>
    Is there any configuration am missing for rendering the dependencies with
    the portal url in the head section of view source?
    Thanks in Advance,
    Senthil.
    Edited by: Senthil on Jan 9, 2012 11:16 PM

    No idea about jsptags.com's pager tag, but consider creating your own request based paging implementation.
    It is in fact simple. Add a request parameter representing the index of the first row to be displayed. Add a second parameter or less or more hardcoded setting representing the amount of rows to be displayed at once. On next, just add the one with the other. On previous just substract the one from the other. Use those parameters to obtain a sublist from the collection, or to fire a query which returns a subset of results. As you're using JSF, you may get some useful ideas out of this: [http://balusc.blogspot.com/2008/10/effective-datatable-paging-and-sorting.html].

  • Flex swf cache issue in IE

    Hi,
    We are facing an important issue with the IE cache of the swf file. Could you please help us?
    For example, we built and put calendar.html & calendar.swf on server. We don't want users to download a 800 KB large swf file everytime when they access the web page, especially at a lower speed of network. However, although we coded some IE cache setting in calendar.html, like response.setHeader("Cache-Control" ...., IE still download the file from server sometimes instead of using the local one in cache.
    One of reasons is the cache size. If you set the size to 50 MB by default, it will be full very soon after you view some websites. Then IE will clean part of the cache. The cached swf file might be cleaned, or might not be. We never know. If it's cleaned and you access calendar.html, you will found out IE downloads the file again from server. To avoid this, users can enlarge the cache size, but the downloading still happen sometimes. Also, letting user enlarge the cache may not be a good and final solution.
    We want to force IE to use the local file everytime. If we updated the file, we want IE to download it in this case, and download it only once.
    So, we want to ask if you also have faced this kind of issue and how you did it? Please follow this topic or anyone is welcomed to send an email to me at [email protected]
    Thank you very much.

    Hmmm
    Not sure about this one.  However to reduce download time have you tried using Runtime Shared Libraries.  This allows the Flash Player to cache the Flex Framework.  This means the first time someone gets a flex app it will take a bit longer to load, but it will cache the framework, then next time the load is quicker.
    Its the Flash Player that caches the frameowrk also, so the browser can;t clear it.
    That might help
    Andrew

  • Loading external .swf files issue...

    Hi,
    I'm working on a simple example of loading external swf files with some ActionScript.
    I've placed an instance of List Component and gave it an instance name of loadList. Using Component Inspector, I assigned data for 4 external files as below:
    Next, I've added a UILoader component (instance name - loadWindow). The code that is supposed to load the content into UILoader is this:
    loadList.addEventListener(Event.CHANGE, selectItem);
    function selectItem(e:Event):void
        loadWindow.source = e.target.selectedItem.data;
    When I run it in a FlashPlayer, it only loads the first 2 swf files....  (I checked the files and all files are fine).
    I hope to get some light on the issue so any help will be appreciated.

    Try tracing e.target.selectedItem.data to make sure it's what you expect.
    Also, have you tried using the load() method instead of the source property?

  • Swf within a Swf scoring issue

    I've created a flash file (my project) that is loaded into another swf (our player) file on our site. When I test the project file on my computer the scoring displays correct at the end of the lab. When it is loaded into our  swf player on the site the score doesn't display. I'm at a lose for why this is happening. If someone could provide me with some direction I would be very thankful.
    // Declare variable
    var numOfCorrect:int = 0;
    // Every time someone click the correct selection it adds one to the score
    function correct(e:MouseEvent):void{
         numOfCorrect++;
    //I have a text box with the name yourScore
    yourScore.text = numOfCorrect + " out of 5";
    It is very basic code so I have no idea what is isn't working. My only guess is there is some kind of conflict once it is loaded into an external swf. What would I do in this case? Thanks.

    I seemed to have figured it out. I changed the text box from TLF Text to Classic Text and selected Dynamic Text. Also changed the Actionscript up a little.
    instead of just:
    yourScore.text = numOfCorrect + " out of 5");
    i did:
    addEventListener(Event.ENTER_FRAME, displayFinalScore);
    function displayFinalScore(event:Event){
        yourScore.text = String(numOfCorrect + " out of 5");
    Not sure which of these things fixed the issue but it is working now. Thanks for the help though! Now I just need to figure out the issue with the drag and drop.

  • SWF download issue

    Hi
    I am facing a very strange problem. I have created a flex
    application successfully. I have tested it on localhost as well as
    on intranet and it worked fine for both. But when i hosted it on
    the server, I can to know that the page embedding that swf file
    doesn't display, while swf file is still there. I can't figure out
    what is the real issue. Can someone help me out by giving
    suggestions?
    Regards
    Saqib Rasheed

    Security sandbox issue?
    Tracy

  • Dependencies issue between different DC Type.

    Hello Colleagues,
    I have created a new Java DC and have exposed the content as a Public Part with purpose (compilation, assembly, infrastructure ).
    The contents are basically java files.
    Now both the DCs( J2EE and Service) are having dependencies on new java DC and also consuming it's public part.
    But I am not able to make out why J2EE DC is not able to assemble the new DC stuff and same jar is assembled by Service DC.
    Is there any rule like j2ee application(with DC Type visual composer plugin) cannot assemble  the java DC stuff ??
    Thanks & Regards,
    Kamlesh.

    Hi Jason,
        This sounds like Printer driver issue, you must be already aware that when you use LOCL, the system uses the driver installed on your local PC. Please check the device type for HB07
    Also check Note 8928 - List of supported printers/device types

  • Scripting - modifying existing polymorpic vi - dependencies issue

    I wrote a nice little tool using scripting to make it less tedious to create Polymorphic VIs for my libraries and functional global/action engine wrappers to make one interface for the functionality of the "object/data".  I hated having to click "Edit Name" for each individual VI selected, and hated not being able to add more than one VI at a time to the list.
    I got that base create working beautifully, even setting the parameters such as "Show Polymorhpic VI Icon versus Instance Icon" working properly.
    What is confounding me now is trying to add another VI to the list for an already created Polymorphic VI.  Opening the reference to the Poly is no issue, adding to the list of VIs is not an issue apparently - the problem comes when I try to Import Strings for the VI to modify the Menu and Selector Strings - the String file is formatted perfectly fine, but when I check the VI it is not using the settings as imported from the String File - when I used the Invoke Method of PolyVI - Get VI Dependencies and checl the Dependency Paths - the path returned for the newly added object subVI is the one for the previous VI - this seems to confound with the settings loaded by the Import Strings function.
    There does not appear to be a way to modify the dependencies for the polymorhpic VI, only the Get is exposed....
    What I am doing is taking a reference to the VI opened and casting it to Polymorphic, then using the same scripting node "New VI Object" to add the new VI to the Poly VI - the same way the original VI is built.  The only difference is that for a new VI I use the scripting node "New VI" to create the Poly VI  reference and Cast it as Polymorphic.  Using the Export and Import strings works perfectly to modify the Menu and Selector names in that instance.
    I don't really expect an answer to be forthcoming as this is kind of a niche area - just thought I would throw it out there.  I can always use the built in Polymorhic VI editor to add new VIs to the list.
    Ryan Vallieu
    Automation System Architect
    Solved!
    Go to Solution.

    So I haven't personally used it yet but over on LAVA there is a Polymorphic VI editor that looks like it is worlds better then the one build into LabVIEW.
    http://lavag.org/files/file/136-polymorphic-vi-editor-v101-lv2011/
    Using Polymorphic VIs is the only sanctioned NI way to make a VI handle multple data types.  And the editor they provide is so awful when you have more then a few types.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • SWF animation issue in Captivate CS4

    Hello All...
    Okay, I have been working on this for hours, and I am getting pretty frustrated.
    I have an swf animation that I need to insert into Adobe Captivate CS4 slide. I have thested the swf file and it opens and plays just fine. I am able to insert it into the Captivate slide just fine, and it plays - however it only plays for about 27 seconds then cuts out. The total swf animation is approx. 40 seconds long.
    Why is it cutting out the animation? When I import the swf file, it plays the entire animation before I actually insert it (in the Animation window). However, the "duration" only shows 27.7 seconds. Why is it only showing a duration of 27.7 seconds, when the actual animation is longer?
    I extended the slide to be over 40 seconds in length, and I am playing the animation for the "duration of animation" - but it is still stopping early!
    Any ideas?
    Thanks for the help, it is much appreciated!

    Hi there
    I'm wondering if the issue might be a mismatch of frame rates. You need to investigate the frame rate the SWF was created at. Captivate typically uses 30 frames per second. So if the SWF animation has a different frame rate, perhaps that explains it?
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Project dependencies issue

    I am having a problem locating & removing a dll dependency within my project. When the dependencies area loads I have a single dll that appears.The project lists the dll's path as dll_name.dll which confuses me because the path doesn't start with C:/ or D:/ or something which makes it hard to locate on my hard drive. Searching for the dll's callers brings up several VI's but these VI's never call the dll that is loaded into the dependencies. I'm running LabView 2010 on XP and the VI's are third party VI's used for interfacing with some hardware. If anyone knows how I can remove or locate this dll please let me know.

    Sorry for the confusion. There was one dll of interest with 2 instances/paths loading into the project. One was moved out of the dependencies area and the 3rd party VI's that are used in my program call this dll correctly. The other dll was in the dependencies area and its only caller was my main VI which does not actually call the dll, nor do any of its SubVI's. I was able to fix this by modifying the dll location in a 3rd party VI which contained all of the other 3rd party VI's. My guess was that there was a weird dependence between one of the 3rd party polymorphic VIs used in my program.
    In 8.6 I only had to include the main VI and let the project locate all other dependencies. I then built and ran the 8.6 executable and was able to correctly operate the hardware cards the software interfaces with.
    Back in 2010 after the dll dependecy issue was resolved I then had an issue with running the actual executable. Yesterday running the executable was returning an error originating from the call library node which called the dll that was giving me problems before. This issue was fixed after receiving some updated files from the vendor.
    Now I have a new problem. Upon running the executable I received a slew of errors regarding class method calling errors within the dll I was having dependency problems with earlier. Tomorrow I will install an updated software package supplied by the vendor and see if the issue can be resolved.
    I'm going to have to check out that dependency walker program, thanks for the info!

  • Dynamic swf loader issues...

    Hey guys,
    Im working on a flash project that dynamically loads other
    flash videos into a 'holder' movie clip. This holder should never
    be larger than 500x330 however, some of the files it loads may be
    larger than that. At any time, there maybe 1-N files because Im
    using XML to store the filenames (and display names) so when I
    click on a button (1,2,3,4 and 5 and "pagination" is used) I clear
    the previous movieclip (or so I think), load the current file into
    the holder_mc and then calculate offsets for centering the
    holder_mc (the holder_mc is actually a child of 'main_mc') I also
    try and scale the holder_mc down to fit the required dimensions of
    500x330....
    This is where it goes wacky. First off all, I have to click
    the button 3 times (reload the same swf 3 time) before it will
    scale and position correctly. Im 100% positive that the previous
    movie is being cleared and if it isn't then theres a problem with
    flash it self because i have followed the documentation and about
    10 articles just to ensure that I was doing it right)
    Anyway, the problem is... sometimes they are PERFECT and
    other times they are to large, to small, etc. Im going nuts trying
    to solve this. I was actually having the same issue with another
    project where once I tried to "restart" the game (ie. resetting
    everything back to original values) the collision detection was
    totally messed up... it almost seemed as though the previous data
    was causing collisions even when the actual movie clip (and I put a
    box for the bounds for visuals) was tripping a collision WAY TO
    EARLY).
    Anyway, I really need help with the previous issue. Please
    help!!
    -Jason

    I played around with the moviecliploader the other day but I
    don't really know what the benefits are over the standard
    loadMovie. Heres the basic function (was much more complex than it
    is now)
    function LoadMc()
    var file = mcList[curPage*5+index];
    main_mc.holder_mc.clear();
    loadMovie(file, main_mc.holder_mc);
    //this gets called in onEnterFrame so only allow this
    function to be ran once
    //per 'click'
    loaded = true;
    if(main_mc.holder_mc._width > 500 or
    main_mc.holder_mc._height > 330){
    main_mc.holder_mc._width = 500;
    main_mc.holder_mc._height = 330;
    var xcenter = ((500 - main_mc.holder_mc._width)*0.5);
    var ycenter = ((330 - main_mc.holder_mc._height)*0.5);
    main_mc.holder_mc._x = xcenter;
    main_mc.holder_mc._y = ycenter;
    }

  • OSMF SWF verification issues...

    Hi,
    I am having some sporadic issues with OSMF implementation of DRM / SWF verification.
    Under some (as yet murky, but semi-replicable...) circumstances, it is possible to get the licence download to stall in a way that crashes the licence process and so blocks play of _all_ protected content. This block remains in place after browser restart etc. and can occasionally require manual "Deauthorize this computer" and browser cache clearance etc. to resume. The closest I have come to a reliable way to replicate the issue is to place a manual block on the licence request to delay it by a second or two which can reliably crash playback of protected content... but it only works on selected PCs.
    As we haven't yet managed to isolate the cause enough to get Adobe's assistance, I am asking for any potential avenues for detecting / debugging / diagnosing the issue?
    I have tried adding listeners to all available events on the OSMF DRMTrait but all this will tell me is either uninitialized, authenticationError or authenticationComplete. (Seemingly, the other DRMState values are either unused or unreported.) Equally, the changes for these seem to happen too quickly to display them on screen.
    G

    Hi,
    As of now, you cannot use SWFVerification to protect HTTP Streaming, as HTTP Streaming does not require connection with core process of FMS, but request is handled by f4f module in apache. The current way to ensure protection of HTTP streams is to use Flash Access for encryption of fragments. You can find more about Flash Access here at http://www.adobe.com/products/flashaccess/
    Thanks,
    Abhishek

  • SWF compression issues

    I'm using Flash MX 04 Pro and am having issues with SWF
    compression when compiling.
    I have two .FLA which last week compiled to 52k and 83k.
    Today they're compiling to 102k and 172k respectively!!!
    I have not made any changes to the files, publish settings,
    or general Flash settings whatsoever?
    Any ideas why this is happening? Rather urgent as I have
    things that need to go live this afternoon.
    Thanks in advance!

    Alright I take that back. While the compression does make the compiled SWF file a lot smaller, when trying to load time image data I keep getting invalid data errors:
    Error: Error #2136: The SWF file file:///app.swf/[[DYNAMIC]]/24 contains invalid data.
        at flash.display::BitmapData/ctor()
        at flash.display::BitmapData()
    Anyone know what's going on?
    EDIT: I figured it out. Apparently you can't use smoothing when you're using compression or it will crash. That's it. Just remove the smoothing="true" tag and it will load fine. Would've been nice if that was in the documentation somewhere...

Maybe you are looking for

  • How do I make my new gmail email address the default when I click on "Contact us" in a site in Firefox? Thanks.

    When I click on a website's "contact us" button while in Firefox, I get my old email address in my old email provider, which means that new emails in the old inbox have to be loaded first , taking a lot of time. I want to keep my old email provider f

  • Async To Sync

    Hello, using jdev 11.1.1.4 i mistakenly created a Asyc BPEL process. process is ready and working I want to now convert it to sync process, without impacting the functionality. what is the best way to convert async process to sync process ? How do i

  • Create new SID in oracle-xe at linux

    i have oracle-xe in my linux box i am accessing the database by default way like database: 127.0.0.1/xe now i want to create my own database (for that i thing i should create new SID or service name like xe) like this database: 127.0.0.1/mydb but i d

  • User defined Table and matrix problem

    Hi, I have a user defined table. I am displaying data from this table using DBdataSource on a matrix in my form. After making changes to a cell on the matrix when i try to save the data back to the data source, the changes are not updated. I am using

  • No info in the cloud

    have iphone3gs and it backs up to icloud. I see that it shows recent back up times.  However, when I log in to icloud with my appleid i find no contacts or mail or notes or anything. why?