FB4 Beta 2: Variables accessed across swf-files are null.

I’ve been working on an ActionScript project and just recently switched from FB4 Beta1 to Beta2. The project is made up of multiple swf-files that are loaded into shell.swf. When compiled with FB4 Beta1 variables are accessible across the loaded swfs and shell.swf but they just turn up as being null when compiled with FB4 Beta2. What causes this behavior and how do I go about it?

If you are using Marshall Plan functionality, it is no longer available by default.  You have to add the MXMLC option
-includes=mx.managers.systemClasses.MarshallingSupport
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

Similar Messages

  • .css and .swf files are getting generated with Ibot email

    Hi Team,
    I have an Ibot which use to run on daily basis which contains graph and normal table views, .css and .swf files are getting generated and attached with Ibot email to the users. I'm facing this issue from last two days. Earlier there was no such attachments sent to the users.
    Could anybody let me know what might be the reason for that?

    any inputs?

  • Pass filename as a variable to a swf file

    I want to pass a variable which will represent a filename to
    a swf file from a hypertext link in an HTML document.
    When the user clicks on the link which has
    ?variablename=filename_to_use appended to a "normal" link to a
    page,
    this variablename will be passed to the swf file.
    I've already created this target swf file to have an
    actionscript with a FLVPlayComponent with the filename hard-coded
    in the actionscript. I want the actionscript to use the variable
    representing the filename_to_use that was passed to from the URL
    line.
    The following is the actionscript that plays the flv file
    taken from the Flash Help: Creating an Application with an
    FLVComponent
    ORIGINAL VERSION:
    import mx.video.*;
    this.attachMovie("FLVPlayback", "my_FLVPlybk", 10,
    {width:320, height:240, x:100, y:100});
    my_FLVPlybk.skin = "file:///install_drive|/Program
    Files/Macromedia/Flash
    8/en/Configuration/Skins/ClearOverPlaySeekMute.swf"
    my_FLVPlybk.contentPath = "
    http://www.helpexamples.com/flash/video/water.flv";
    VERSION USING THE FILENAME FROM THE PASSED VARIABLE INSTEAD
    OF WATER.FLV
    import mx.video.*;
    this.attachMovie("FLVPlayback", "my_FLVPlybk", 10,
    {width:320, height:240, x:100, y:100});
    my_FLVPlybk.skin = "file:///install_drive|/Program
    Files/Macromedia/Flash
    8/en/Configuration/Skins/ClearOverPlaySeekMute.swf"
    my_FLVPlybk.contentPath = "
    http://www.helpexamples.com/flash/video/variable";
    I currently can play videos with this actionscript at my
    school website but must make a separate swf for each video.
    I want to be able to have one swf file that will play which
    video was passed from the link in the HTML page.
    I am using HTML page to lower the bandwidth so that users
    won't have to load a swf file to see curricular material and then
    perhaps choose a video on the topic.
    http://www.wearekennedy.com/kent/whatsup.htm
    click the link to the Spring curriculum map with resources
    and then click on e.g. The_Food_Web video
    Thank you,
    Kevin Kent
    Educator, John F. Kennedy H.S., Bronx, NY

    You can use Liskov substitution/polymorphism:
    DROP TYPE DEMO_T2
    DROP TYPE DEMO_T1
    DROP TYPE DEMO_ST
    CREATE TYPE DEMO_ST AS OBJECT
    ( ID NUMBER,
      MEMBER PROCEDURE THIS_PROC)
    NOT FINAL NOT INSTANTIABLE
    CREATE TYPE DEMO_T1 UNDER DEMO_ST
    ( OVERRIDING MEMBER PROCEDURE THIS_PROC )
    CREATE TYPE DEMO_T2 UNDER DEMO_ST
    ( OVERRIDING MEMBER PROCEDURE THIS_PROC )
    CREATE TYPE BODY DEMO_T1 AS
    OVERRIDING MEMBER PROCEDURE THIS_PROC AS
    BEGIN
       DBMS_OUTPUT.PUT_LINE('DEMO_T1');
    END;
    END;
    CREATE TYPE BODY DEMO_T2 AS
    OVERRIDING MEMBER PROCEDURE THIS_PROC AS
    BEGIN
       DBMS_OUTPUT.PUT_LINE('DEMO_T2');
    END;
    END;
    CREATE OR REPLACE PROCEDURE DEMO_PRC ( P_OBJ DEMO_ST) AS
      V_OBJ DEMO_ST := P_OBJ;
    BEGIN
      V_OBJ.THIS_PROC;
    END;
    -- TAKES AN OBJECT, NOT A PROCEDURE PER SE
    -- BUT ALLOWS THE PROCEDURE TO BE PASSED WRAPPED IN AN
    -- OBJECT
    BEGIN
      DEMO_PRC( DEMO_T1(1) );
      DEMO_PRC( DEMO_T2(1) );
    END;
    DEMO_T1
    DEMO_T2I believe that this is superior to the passing of function wrapped procedures as arguments because it is according to the intention of object orientation, whereas wrapping a procedure in a function is contrarty to the principles of good functional programming. Good practise in functional programming is to return a single strongly typed result, and produce no side effects. Since the procedure wrapped in a function is a procedure, it therefore implicitly have side effects.

  • How to pass Variable value to SWF file in Eclipse development

    We are creating Widget file in Eclipse by using SAP Widget Foundation .
    We included one SWF file in Widget & it is working fine.
    But we are not able to pass the values to SWF file variables.?
    How to pass variables to SWF file let us know.
    Thanks & regards

    We are creating Widget file in Eclipse by using SAP Widget Foundation .
    We included one SWF file in Widget & it is working fine.
    But we are not able to pass the values to SWF file variables.?
    How to pass variables to SWF file let us know.
    Thanks & regards

  • Better to post HTM of SWF file to intranet?

    My company wants to post a Captivate project for internal use only on our intranet. My boss asked if it is better to post the HTM or SWF file and I had no idea. Any advice? Thanks!

    Hi there
    It sounds as though you may be confused with the output files created by Captivate.
    In most cases folks want a Flash SWF file created. That file is usually loaded via the HTML page that Captivate also creates. It's sort of a house of cards. The HTML page is loaded by the browser and immediately the code looks for the standard.js file. If that file is found, it is loaded and more information is added to the HTML page. If you fail to upload the standard.js file all operation stops and things fall apart.
    Once the HTML page properly loads, it then presents the SWF.
    Hopefully you are seeing from this that there is no single file to upload and run. There are a few.
    Cheers... Rick

  • Accessing local swf file

    I have an odd problem that doesn't seem to be addressed. I have a web site that uses a combination of js and swf files to load and display thumbnails which then uses flash to resize them and flash player to display them. With the latest flash player and Firefox update, everything works fine when live. It also works fine when opened locally in IE8 and Chrome. However, these files won't load locally in Firefox since the updates, although they work fine when live.
    Rolling back flash player might work, but I hesitate since everything is working except for this one thing

    Just to clarify..the problem occurs only in the flash section of the page. It will not load this section.
    I'm using file://protocol and have no problems with anything else. I don't know the number of the firefox version, but this only occurred with the latest update. I allowed both flash and firefox updates at the same time.
    I use relative paths which work everywhere else and open the html in the browser locally by either clicking the html file or File>Open File>Page Source
    Flash trusted locations is one of the first things I did. Works fine for all other browsers.
    I'm wondering if there is some connection to the new protected mode. Flash site says they are not supporting WindowXP with this, but it also says it will allow old security rules if on trusted location. Totally baffled.
    The only other possibility I can think of is the coding. I have some problem there that I haven't addressed yet. But in saying that, it does work when live, so that doesn't seem overly likely.

  • Accessing a swf file inside a UILoader

    In my game currently I have a series of UILoaders which can be set to load a specific swf file inside the larger one.   What Im trying to do is manipulate the 'child' swf file from the parent- in particular use the goToAndPlay() function.  Im pretty sure Ive seen the solution before but I cant find it now.
    How make the connection from the UILoader class to its contents as a movieClip?
    Thanks

    Ok using the Content value of the UILoader class is the answer it seems.

  • [SOLVED] SWF files are not working in Firefox 5.0.1. When visiting websites with 'zoom' on photos Forefox asks how to handle rather than just going to zoom

    On previous versions of Firefox I was able to use the 'zoom' feature on photos at retail websites. This no longer works. (You can go to Territory Ahead as an example). Firefox asks what to do with the SWF file. There is no option to use Shockwave (I think this is a Shockwave file). Thanks for your help. Warren

    Ooops. Never mind. I recently upgraded other programs and I no longer had the Shockwave player installed in my system. Reinstalled it and all if well.

  • CRVS2010 Beta -CRforNET40_x86 - I get 'Some installation files are corrupt'

    Hi,
    I just downloaded CRforNET40_x86 from the "Blogs" page and got the 'Some installation files are corrupt' error message on trying to run/extract the files.
    The message also asked me to download the file again but it would seem pointless as I didn't get any download errors so I'm assuming that the file may be corrupted. Would you please have it checked so that I can try downloading it again.
    Thanks,
         Michael
    Edited by: turbo56 on Aug 4, 2010 6:19 PM

    Sorry Ludek for not specifying the link.
    I downloaded the file from "/people/blair.wheadon/blog/2010/07/29/crystal-reports-for-visual-studio-2010-beta-2-and-runtimes-now-availableCystlR%2528SAPWeblogs%253ACrystal+Reports%2529".
    Anyhow, I decided to download it again and this time it did run properly/extract and install. Don't know why it didn't work/run the first time but the main thing is that it worked.
    Thanks for your prompt response.

  • Passing variables / accessing other swfs

    It has been years since I used flash, so I consider myself a
    rank armature. I'm Using Flash 8 and would like the code to be
    backward-compatible to ver. 6.
    I have a big movie, with lots of images. I've comprimised the
    image quality as much as I dare, but it still takes 20-30 seconds
    to load (my client is in Paris, and claims to have the fastest
    connection in Paris, but it takes more than a minute to load it
    from there, even when loaded on his local server). I'm assuming
    that the only way to achieve a meaningful decrease in load time
    will be to split it up into smaller swf's, one mail swf, and each
    sub-page in it's own swf, and have each swf loaded only when
    needed. The fla can be downloaded here:
    cjreynolds.com/fuda30.zip
    The movie currently runs an intro animation, then when a link
    is clicked, it loads different "pages" which consist of large movie
    clips. These are contained in a MC called "pages", and are called
    by manipulating a root variable called "level" - ie: "level = 1"
    causes the MC at frame 1 of the "pages" MC to be displayed. (this
    was an existing movie that I have been tasked with modifying).
    #1 - Is it correct that splitting the individual pages into
    different swfs the only way to lessen load time? I would welcome
    any other suggestions.
    #2 - If spitting the movie up is the way to go, I'm thinking
    I need to replace the movie clips in the "pages" MC with swfs. How
    do I tell each individual page to go back to the main (intro) swf
    and load a different page? The main timeline contains animations
    that "overlay" the sub-pages, creating a transision effect when
    going from one page to the next.
    Thanks for your help - you guys (and gals) have been a great
    source of aid for me!
    joe

    Yes, _root is the wrong thing to use, and _global is never
    good practice. I
    don't use loadMovieNum - I'd use MovieClipLoader and it's
    loadClip method to
    load other swf's into target clips. You can then use
    something like
    this._parent to get to the timeline of the clip 'containing'
    the loaded
    clip.
    However, I think your best bet is to probably use a singleton
    class. That
    way you have your main movie instantiate and set variables
    within the
    singleton - then any other movies can easily create an
    instance (which will
    be the same instance since it's a singleton) and get the
    values you need.
    Simple example:
    class VariableHolder{
    private static var instance:VariableHolder;
    private var myA:Number;
    private function VariableHolder(){}
    public static function getInstance():VariableHolder{
    if(instance == undefined){
    instance = new VariableHolder();
    return instance;
    public function setVariableA(newA:Number){
    myA = newA;
    public function getVariableA():Number{
    return myA;
    So, in your main movie you'd do:
    var myVariables = VariableHolder.getInstance();
    myVariables.setVariableA(50);
    And then in another movie you do:
    var myVariables = VariableHolder.getInstance();
    var myA = myVariables.getVariableA();
    //will set myA = 50;
    Because you're using a singleton - the second getInstance()
    call returns
    just the one class instance - held in the class' instance
    variable. You can
    have any/all movies instance the class, and only one instance
    is ever
    returned... Once you wrap your head around this it's a very
    efficient way to
    pass stuff around between various movies.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Swf files are not playing after being published

    i am trying to run the 'connector' example that comes bundled with smartfoxserver2x downloads..there it connects to the server and loads the correct configuration file. when i run it in adobe flash professional 5,it runs correctly and connects to the server but after being published as SWF movie,it doesnt work.it loads the configuration file but cant connect and gives error connection failure..ERROR 2048
    this is the example i am talking about. http://docs2x.smartfoxserver.com/ExamplesFlash/connector
    flash

    that's probably a local security restriction you have.  reset it to allow your swf to communicate across your local sandbox to the internet:  http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l
    or test online.
    in the future, please copy and paste complete error messages.

  • Copying large amount of small files across network: Files are missing

    On my iMac, i have a directory with 1440 small files (about 100k each). I select all of them, and drag them to a folder on my Mac Mini. The copy finishes quickly, but there are always a few files missing, somtimes 5, sometimes 15, or anything between.
    When selecting half of the files, the same problem occurs. Even when I narrow the selection to 100 files, it occured once that only 99 of them were copied.
    Both Macs run 10.5.2 and are connected through a Cisco gigabit switch.
    I solved by zipping the files in 1 archive and transferring that, but of course that is hardly a worthy workaround. One of the most basic file operations, copying across a network, should work flawless in my opinion.
    Do any of you have similar problems? Or perhaps a solution? This, together with the wireless and standby-problems on two MacBooks here, make me consider downgrading to Tiger for the time being.

    Scott Oliphant wrote:
    iomega, lacie, 500GB, 1TB, etc, seems to be drive independent. I've formatted and started over with several of the drives and same thing. If I copy the files over in smaller chunks (say, 70GB) as opposed to 600GB, the problem does not happen. It's like finder is holding on to some of the info when it puts it's "ghost" on the destination drive before it's copied over and keeping the file locked when it tries to write over it.
    This may be a stretch since I have no experience with iomega and no recent experience with LaCie drives, but the different results if transfers are large or small may be a tip-off.
    I ran into something similar with Seagate GoFlex drives and the problem was heat. Virtually none of these drives are ventilated properly (i.e, no fans and not much, if any, air flow) and with extended use, they get really hot and start to generate errors. Seagate's solution is to shut the drive down when not actually in use, which doesn't always play nice with Macs. Your drives may use a different technique for temperature control, or maybe none at all. Relatively small data transfers will allow the drives to recover; very large transfers won't, and to make things worse, as the drive heats up, the transfer rate will often slow down because of the errors. That can be seen if you leave Activity Monitor open and watch the transfer rate over time (a method which Seagate tech support said was worthless because Activity Monitor was unreliable and GoFlex drives had no heat problem).
    If that's what's wrong, there really isn't any solution except using the smaller chunks of data which you've found works.

  • Report Checkbox Columns in CSV Export File are NULL

    Hi,
    Hoping someone can assist. Am using Oracle ApEx 3.0.1.
    I have a report that consists of a number of checkbox columns where I am using the Apex_Item.checkbox with a disabled attribute.
    My questions is, when I attempt to export this report to CSV format, the columns referring to the checkboxes are showing up as NULL/blank, even though I am using a 'Y' and 'N' for the checkbiox values.
    Any ideas on how to correct this issue?
    Thanks.
    Tony.

    Tony. With checkboxes you don't get a value while exporting. You can use this as an alternative:
    1. in the checkbox column properties put the following PL/SQL expression in the condition (expression 1 textbox):
    apex_application.g_excel_format = FALSE
    2. create a new column for your Y/N values and make it conditional - PL/SQL expression in the condition (expression 1 textbox):
    apex_application.g_excel_format = TRUE
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

  • Help importing a .swf file from Flash CS5.5 to After Effects CS5.5

    I am working on animating a person in flash.  I have a main timeline and then a timeline inside of a symbol so I can move
    the characters facial features (eyebrows and mouth etc) apart from moving his entire body.
    I want to have multiple scenes so I am importing all of the .swfs into After Effects and putting them together. 
    However, when I import the .swf into After Effects, it only plays what occurs in the main timeline
    and not the timeline inside of the symbol, so it is just the character moving without the facial movements.
    Is there a way to fix this or a better program to import the .swfs into and make the video?
    Thanks in advance.

    Here's the note from After Effects Help aboutt he limitations to SWF import:
    SWF (continuously rasterized) Note:  SWF files are imported with an alpha channel. Audio is not retained. Interactive content and scripted animation are not retained. Animation defined by keyframes in the main, top-level movie is retained.
    The limitation that you noticed---that only animation in the top-level timeline is retained---is not one that can be worked around without changing how your animation is set up in Flash.

  • HELP DREAMWEAVER CS4 NOT SHOWING SWF FILES

    I have a presentation in 2 days in Tokyo. And I'm panicking.
    I'm on am Intel Mac OS X 10.4.11.
    I have the latest version of Flash Player 10 installed. (Not the brand new beta version).
    I created a great website in Dreamweaver MX a few years ago.
    I never had ANY issues with .swf files displaying until using Dreamweaver CS4.
    I updated my photography portfolios in Adobe Bridge, and used Dreamweaver CS4 to link the updates.
    NOTHING MORE THAN THAT!
    Then, NONE of the .swf files that were always viewable are showing.
    There is absolutely NO Flash content showing on any page of the site now.
    Not even in browser view in Safari, or Firefox.
    I uploaded the files along with the newly created SCRIPTS folder to my server, and still no .swf files are viewable.
    These are NOT FLV files they are .swf files that were imbedded properly, and were always viewable. Until now.
    I have to go to Tokyo in two days and give a presentation of this site.
    What is the problem?
    The attached files show the view in Dreamweaver CS4. The view in Safari, and the view in Firefox.
    I'm screwed for a desperately needed job in Tokyo if I can't get this fixed ASAP.
    Please help.

    i think you are on to something here. but i am not sure how to go about fixing this.
    are you saying the "../s
    should be replaced with "S
    where is this code located? in the source code of each page that has the swf files? i should replace it with the correct version you copy and pasted? and that should resolve the problem?
    big thanks if this is the issue.
    <script src="../scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    The correct link to that file would be this -
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    Note the "S" in place of the "s".  *nix servers are case sensitive.

Maybe you are looking for

  • Fire wire connection not supported for 30g iPod

    Can someone please tell me why my newly purchased 30g video iPod is not supported by Fire wire cable. USB cable would take yrs to down load and updated thanks

  • Error -200 itunes cannot open?

    Tried searching for the solution everywhere but no joy. Removed my files from iTunes folder just to see if this was corrupted, still no go!

  • Flex swf in a spry tabbed panel

    I have a spry tabbed panel in one of the panels I am attempting to load an swf that I created using Flex builder. The swf runs fine when run standalone but from within the spry tab although it does load and run correctly I get a nasty error message i

  • USB in a new car

    I just bought a Honda Crosstour, which is one of the new cars that have a USB jack that can read and play music off of my iphone. I'm looking for a good holder/cradle solution so I can just slide my iphone in and out of it when I get in or out of the

  • Our company just bought Labview and I would like to know about training.

    Looking for training with LabView (7.1) software. Prefer on site training for 4 persons. We are located in metropolitan Detroit. Previously used snapmaster D/A, and we need to use/set-up LabView to perform in the same manner. I am not 100% certain if