Unable to load external swf which has runtime sharing with another swf.

Hi,
I am getting issues on loading external swf say "importer.swf" file into another swf file say "loader.swf" for second time like
ReferenceError: Error #1065: Variable testSymbol is not defined. VerifyError: Error #1014: Class testClass could not be found.
at global$init()
In the external swf "importer.swf", i am trying to import the symbol "testSymbol" from another swf file say "exporter.swf", which exports through runtime sharing option for the symbols.
I am having some buttons in loader.swf file and on each button click i am loading different swf files into the loader.swf after unloading the previous one.
I am able to load and unload different swf files but unable to load the importer.swf file which is sharing symbols from external swf and that too for the second time i.e., when i click the button twice.
When trying to debug with flash debugger, all the other swf files are being unloaded before loading of another swf but the swf which is sharing symbols/classes with another swf is not getting unloaded.
Output when i am trying to load two files example and importer files into loader.swf file on two different button clicks. On first button click example.swf is loaded. On second button click , example.swf is unloaded and importer.swf is loaded which is successful. On first button click again importer.swf is unloaded and example.swf is loaded. On second button click again, example.swf is unloaded and importer.swf is loaded, here i am getting issues shown above.
Attemping to launch and connect to Player using URL D:\runtime issue\loader.swf
[SWF] D:\runtime issue\ loader.swf - 8181 bytes after decompression
[SWF] D:\runtime issue\example.swf - 441708 bytes after decompression
[UnloadSWF] D:\runtime issue\example.swf
[SWF] D:\runtime issue\importer.swf - 1920 bytes after decompression
[SWF] D:\runtime issue\importer.swf - 441708 bytes after decompression
[SWF] D:\runtime issue\ example.swf - 441708 bytes after decompression
[UnloadSWF] D:\runtime issue\ example.swf
[SWF] D:\runtime issue\importer.swf - 1920 bytes after decompression
ReferenceError: Error #1065: Variable xxxxxx is not defined.
Debug session terminated.
Code i am using
b1.addEventListener(MouseEvent.CLICK, b1Clicked);
b2.addEventListener(MouseEvent.CLICK, b2Clicked);
var ldr:Loader;
function b2Clicked(e:MouseEvent)
    if(ldr != null)
        ldr.unloadAndStop(true);
    ldr = new Loader();
    ldr.load(new URLRequest("importer.swf"));
    addChild(ldr);
function b1Clicked(e:MouseEvent)
    if(ldr != null)
        ldr.unloadAndStop(true);
    ldr = new Loader();
    ldr.load(new URLRequest("example.swf"));
    addChild(ldr);
If i try to open the swf using IE, i am not getting any issues at all. But i need to open this loader.swf in a air application. Also when i use loaderContext for the loader instance i am able to get rid of this issue but i cant use it in my application.
So, please help me in resolving this issue.
Thanks

I got my answer. I had to append the photo url to the 'movie' value of the javascript embed method. Like this:
<script language="JavaScript" type="text/javascript">
   AC_FL_RunContent(
      'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
      'width', '550',
      'height', '400',
      'src', 'lesson2',
      'quality', 'high',
      'pluginspage', 'http://www.adobe.com/go/getflashplayer',
      'align', 'middle',
      'play', 'true',
      'loop', 'true',
      'scale', 'showall',
      'wmode', 'window',
      'devicefont', 'false',
      'id', 'lesson2',
      'bgcolor', '#ffffff',
      'name', 'lesson2',
      'menu', 'true',
      'allowFullScreen', 'false',
      'allowScriptAccess','always',
      'movie', 'lesson2?photo=http://www.flash-mx.com/images/image1.jpg',
      'salign', ''
      ); //end AC code
</script>
Thanks,
srb.

Similar Messages

  • Unable to load sql script which is given in this tutorial: load_sample.sql

    Hi!
    To start, I inform you that I am beginner with Oracle. I installed Oracle 10g Express Edition on my computer(O/S: window xp)
    Then I go on http://127.0.0.1:8080/apex/f?p=4550:9:4181329966856697::NO:::, I login with system account, I create another dba account etc ... all looks very well ! Then I follow this tutorial: http://st-curriculum.oracle.com/tutorial/DBXETutorial/index.htm
    and I am unable to load sql script which is given in this tutorial: load_sample.sql (page:What to do first> Loading Data). I try with a little sql script and same result. I use gedit with UTF-8 and load in UTF-8, my browser is Firefox .
    The result is: when I upload a script, The browser returns "script uploaded." Then I can click on my script but the file is empty ! Nothing is done when i click on "run". Also I can' create a script. To import a script I have to copy one by one request in sql commands. I try also to change the owner of load_sample.sql:
    But it doesn't work. If someone has an idea ? Thanks for your help.
    regards
    meraj

    Problem Solved.
    When I switched default browser from mozilla firefox to ie(internet explorer) the problem is solved i got this from forum post (Script Editor Not Working
    But still i want to know why "load_sample.sql" is not run with the default browser(mozilla firefox).

  • How can i export the data to excel which has 2 tables with same number of columns & column names?

    Hi everyone, again landed up with a problem.
    After trying a lot to do it myself, finally decided to post here..
    I have created a form in form builder 6i, in which on clicking a button the data gets exported to excel sheet.
    It is working fine with a single table. The problem now is that i am unable to do the same with 2 tables.
    Because both the tables have same number of columns & column names.
    Below are 2 tables with column names:
    Table-1 (MONTHLY_PART_1)
    Table-2 (MONTHLY_PART_2)
    SL_NO
    SL_NO
    COMP
    COMP
    DUE_DATE
    DUE_DATE
    U-1
    U-1
    U-2
    U-2
    U-4
    U-4
    U-20
    U-20
    U-25
    U-25
    Since both the tables have same column names, I'm getting the following error :
    Error 402 at line 103, column 4
      alias required in SELECT list of cursor to avoid duplicate column names.
    So How can i export the data to excel which has 2 tables with same number of columns & column names?
    Should i paste the code? Should i post this query in 'SQL and PL/SQL' Forum?
    Help me with this please.
    Thank You.

    You'll have to *alias* your columns, not prefix it with the table names:
    $[CHE_TEST@asterix1_impl] r
      1  declare
      2    cursor cData is
      3      with data as (
      4        select 1 id, 'test1' val1, 'a' val2 from dual
      5        union all
      6        select 1 id, '1test' val1, 'b' val2 from dual
      7        union all
      8        select 2 id, 'test2' val1, 'a' val2 from dual
      9        union all
    10        select 2 id, '2test' val1, 'b' val2 from dual
    11      )
    12      select a.id, b.id, a.val1, b.val1, a.val2, b.val2
    13      from data a, data b
    14      where a.id = b.id
    15      and a.val2 = 'a'
    16      and b.val2 = 'b';
    17  begin
    18    for rData in cData loop
    19      null;
    20    end loop;
    21* end;
      for rData in cData loop
    ERROR at line 18:
    ORA-06550: line 18, column 3:
    PLS-00402: alias required in SELECT list of cursor to avoid duplicate column names
    ORA-06550: line 18, column 3:
    PL/SQL: Statement ignored
    $[CHE_TEST@asterix1_impl] r
      1  declare
      2    cursor cData is
      3      with data as (
      4        select 1 id, 'test1' val1, 'a' val2 from dual
      5        union all
      6        select 1 id, '1test' val1, 'b' val2 from dual
      7        union all
      8        select 2 id, 'test2' val1, 'a' val2 from dual
      9        union all
    10        select 2 id, '2test' val1, 'b' val2 from dual
    11      )
    12      select a.id a_id, b.id b_id, a.val1 a_val1, b.val1 b_val1, a.val2 a_val2, b.val2 b_val2
    13      from data a, data b
    14      where a.id = b.id
    15      and a.val2 = 'a'
    16      and b.val2 = 'b';
    17  begin
    18    for rData in cData loop
    19      null;
    20    end loop;
    21* end;
    PL/SQL procedure successfully completed.
    cheers

  • Unity Connection 1.2(1) which has SCCP ports with CallManager 8.5(1)SU1.

    For 24 hours I’d like to run Unity Connection 1.2(1) which has SCCP ports with CallManager 8.5(1).  Unity Connection 1.2 isn’t supported anymore, we are migrating to Unity Connection 8.5(1) but I wanted to do CallManager 4x to 8x upgrade the first night, and Unity Connection 1.2 to 8.5 upgrade the second night. All new hardware so using DMA and COBRAS.
    I'm not looking for it to be "Supported" just want it to work 24 hours while migrating...
    Unity Connection 1.x Compatability Matrix will likely never show CallManager 8.5 since UC 1.x is EoL
    http://www.cisco.com/en/US/docs/voice_ip_comm/connection/compatibility/matrix/cucsccpmtx.html
    Jason Aarons
    CCNP/CCDP/CCVP
    Consultant

    The primary factor in the integration here for SCCP is the TSP version.  You can verify the version of TSP running on Unity Connection with the procedure noted here:  http://www.cisco.com/en/US/docs/voice_ip_comm/connection/1x/release/notes/121sr2ucrn.html#wp37944
    It's a Windows box so the procedure is the same as with standard Unity.  Check the properties of AvSkinny.tsp in the \Windows\System32\ folder path.
    If you don't care about official support and it's only temporary then I'd say check to ensure that TSP is fairly recent and, if needed, upgrade to the latest release available for install on CUC 1.2(1).  Run a number and tests and make sure 1) things function as expected and 2) you don't get a load of TSP errors in the system/application logs.
    Cisco notes that product support is based primarily on testing and since Unity Connection 1.2(1) is outdated and CUCM 8.5(1) is brand new, it's not likely that this combination will be tested anytime soon ... but the TSP compatibility between 8.0 and 8.5 is likely to be similar if not the same.
    Hailey
    Please rate helpful posts!

  • 1. I have an iPod which has purchases synced with I tunes with an apple ID. I now have an iPad with a new ID for cloud. I have cloud storage capacity of 5gb which came with the iPad. How can I use one ID and store my existing music in cloud?

    1. I have an iPod which has purchases synced with I tunes with an apple ID. I now have an iPad with a new ID for cloud. I have cloud storage capacity of 5gb which came with the iPad. How can I use one ID and store my existing music in cloud?

    HI Frostyfrog
    CHeck out iTunes Match which has an annual fee of £21 or thereabouts. You can store a maximum of 25,000 songs there and they all become available on your other kit, iPhone, iPad and iPod. I know it works as I have over 23000 songs uploaded of which only a few we're bought through iTunes.
    it works by comparing your music to the whole iTunes music dadata base so you access the same tunes that you could get from iTunes. If you have obscure stuff, it uploads your own music to the cloud as a copy.
    I Find it incredible that on my iPhone with its 16gb memory I can view almost 200 gb of music (ie my 23000 songs) and play any of them. Anything I add to iTunes becomes available via the cloud fairly quickly from a few minutes or a little longer if adding a lot.
    The first time you use it it will take quite a while to match your music if you have a lot, but after that it is all automatic. Read the stuff on the apple site. Your PC needs to be at least running Vista. I recommend it and at less than 50p a week it's good value.
    Good luck

  • I am unable to see the photos which i have taken with iPhone on the photostream option of ipad

    I am unable to see the photos which i have taken with iphone on my ipad ( photostream features is not working). i have checked the settings of both devises and photostream of both is working.

    Are you talking about older pictures you took before turning photo stream on?  If so, they don't sync via photo stream.  You have to sync them to a computer's itunes then sync to other device.

  • I have a Maxtor 3200 which has stopped communicating with my iMac for no reason can you help i'am running the latest system

    I have a Maxtor 3200 which has stopped communicating with my iMac for no reason can you help i'am running the latest system

    I have never seen this before.  Try using these installers
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)

  • I want to update my IWorks which I have downloaded with another Apple ID in this same computer. What I have to do?

    I want to update my IWorks which I have downloaded with another Apple ID in this same computer. What I have to do?

    Update it from the original Apple ID or delete and redownload the applications when signed into another one; the second option may require repurchasing them.
    (111224)

  • How do I add an ipad to my itunes account which was previously associated with another account and user?

    how do I add an ipad to devices in my itunes account which was previously associated with another account?

    Just sign into your own ID in Settings>iTunes & App Store. Sign out of the old ID and sign into your ID. I get the feeling though, that there is more to what you are trying to do or want to do and I'm not understanding or you are not explaining completely.
    If this is a previously owned iPad, it should have been erased before you got possession of it.

  • How do you get songs off of itouch when it has been sycned with another computer

    How do you get songs off an ipod touch to a new computer when the ipod touch has been synced with another computer.  The other computer died.  Thanks!

    You don't.  Unless they were purchased from the iTunes store, then you can go to File > Transfer purchases.  Or you can right click (ctrl click if you're on a Mac) on the name of the device in the source list in iTunes and then choose Transfer purchases.
    http://support.apple.com/kb/HT1848

  • How do you connects the same iPad to iTunes which is already synced with another computer

    How do you connects the same iPad to iTunes which is already synced with another computer

    You can only use one iTunes library at a time when you sync your devices. If you want to sync to a new computer now, look at this.
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive
    And here is another helpful article.
    http://www.howtogeek.com/104298/sync-your-ios-device-with-a-new-computer-without -losing-data/

  • Looping external swf which has no .fla

    Hi!
    What I have is a sliding menu with buttons - each button calls an external swf - which plays in an empty movie clip.
    Now, I want the current loaded swf to loop till the time the user clicks on another button. The problem is, I do not have the fla files for any of the external swfs (these are screencam recordings using a software that does not publish .fla) - so I can't put a code at the end of each external swf asking it to not stop.
    Any suggestions on how I might be able to have the external swf loop?
    Thanks & Regards,
    ~ Raven

    Thanks for your help Ned. Actually, I did manage to decompile the swf (using a 3rd party software) - yes, it is a movieclip on frame 1. I could even go inside it and place the loop code. But decompiling meant loss of the control bar that the screen capture software put in it and I can't compromise on that. I guess the screen capture guys should've chosen another softwares that publishes the .fla.
    Thanks again and regards,
    ~ Raven

  • Unable to load external local content

    I have Flash 8 Professional on Windows Vista 64-bit and I am
    trying to load external SWF's into my main Flash SWF. The content
    will load correctly in the trusted test movie environment but will
    not load the local content in a published local sandbox mode that
    runs inside of a browser. The odd thing is that the XML loader
    actually loads the XML file sitting in the local directories but
    for some reason it will not load the external SWF's. Anyone have an
    idea why this might be happening?
    I've pasted the code that will hopefully help in determining
    the problem. The following is the traced print out of my debugging
    info...
    quote:
    scorm.connect(): true
    scorm.set('cmi.core.lesson_status', 'incomplete'): true
    scorm.get('cmi.core.student_id'): User01
    scorm.get('cmi.core.student_name'): Student, Joe
    loading page 0
    scorm.set('cmi.core.lesson_location', '0'): true
    [Data:onLoad] Success
    [Data:parseXML] Parsing XML...
    [Preloader:loadFrame] Loading frame...
    mcLoader.loadClip() succeeded
    [Preloader:onLoadStart] _level0.content_mc.mcFrame0
    [Preloader:onLoadError] Error Code:LoadNeverCompleted HTTP
    Status:0

    Since that error points to gallery fla, it may mean the problem is inside the gallery swf file.  What you should do is go into your Publish Setings and select the option to Permit Debugging.  THat will help by attaching the line number of the problemed code.  You might find it is of a line number greater than any you have in the file doing the oading which would probably make it more definitie that its the file you are loading.
    Just in case you copied and pasted, the following line should have thrown up a syntax error due to missing a parenthesis...
    loader.load(new URLRequest("gallery.swf");

  • How do i remote desktop to my mac which has internet shared to it?

    Hello,
    I am very new to remote desktop.
    I am trying to connect to my iMac at my office, using my macbook pro at home. However the iMac has internet shared to it from another iMac.
    The imac locally  has an ip address starting with 10.x.x.x . I am able to connect to it using my macbook pro in my office, but i am unable to do so at home.
    The other complication is the imac and the imac i am sharing internet from seem to have the same IP (a 192.36.x.x.x one).
    Any suggestion on how to over come this ?

    Messages (which is used to access iMessage) comes with Mountain Lion and above. It is not available for Snow Leopard.

  • I need to copy audio files and projects from logic to an external hard as my MBPis nearly full and my external hard drive has packed up with all my files on it, any suggestions on how do I copy 200GB from my MBP to a new external HD

    I Use logic and back my audio file and projects on an external HD ,this has now packed up . I have all the files in the MBP , but need to copy them to a new external HD, I have only 10GB left on my machine , how do I copy 200GB from my machine to a new External HD.
    any helpful full advice would be appreciated.
    angus

    Yes, just drag and drop them into the drive..
    How long will it take? Hard to say without knowing the type and speed of the drives in question.. and even then it's hard to estimate... but does time really matter?
    The fact you only have 10 Gigs left will/may slow the process down but it wont/shouldn't stop it...
    If needed.. just drag and drop some of the files at a time.. not all of them.
    Remember that copying files doesn't delete them from the original drive... You will still need to delete them yourself after they are copied over and empty the trash....
    However....
    When you saved these projects in Logic (Pro X?) did you save them using the include audio files option?
    If not, then when you move the audio files used in these projects... Logic will not know where they are to reload them........ and that will cause you issues.
    So.. if you didn't...
    I would use this method instead...
    Logic Pro X: Move, copy, and convert audio files

Maybe you are looking for

  • How do I use AS3 to hide a playbar skin?

    I would like to use an overlay skin on a flash project with an imported video. The video is taking up the entire window, so the skinAutoHide attribute does not work, because the mouse leaves the window before the skinAutoHide functionality kicks in.

  • Automatic Startup of Oracle 8.1.6.0 on MS Windows 2000

    Problem: Database not starting automatically. OracleService<SID> states "starting" instead of "started". Database can be opened manually via DBA Studio or via sql command line. O/S: W2k Service Pack 2 RDBMS Version: Oracle 8.1.6.0.0 for Windows Tasks

  • Suggest a major project

    hello friends!! I have to make a major project in java.could yuo suggest me any.

  • Apple refuses to accept my serial number for the MacBook Bottom Case Replacement Program?

    I bought my MacBook in September of 2011, but was told it was an early 2011 model. Just a little while ago, one of the rubber feet on the bottom fell off. Then another one. I decided against going with knock-off rubber feet in case they damaged the c

  • Verizon Access Manager Download link not working

    Hi,           Verizon Access Manager Download link not working, Following Links http://www.vzam.net/download/download.aspx?productid=872 http://pcdn2-download.vzw.com/win/7.7/VZAM_7.7.1_2727b-AC30-Web.exe plz help to download verizon five spot access