Using RSL ? or not !

I have just discovered a strange behaviour of the Flash Player with the Flex framework RSL.
When you compile you Flex application with RSL linkage, the RSL framework is downloaded only once for all the Flex applications.
In fact this is true only if the signed version (.swz) of the library is available.
If you deploy only the unsigned version (.swf) the result is even worse than with the merged into code option.
I found than with a modular application the framework was downloaded not only each time you are executing the application, but also with EACH module of the application.
Here is peaces of server log showing each case :
Case #1 : signed RSL (first load --> RSL is downloaded)
DEBUG | 01-04-2010 21:34:24:269 | 0013:core.protocol.HTTPMessage.execute(245)| /AXX.swf (272579)
DEBUG | 01-04-2010 21:34:24:347 | 0014:core.protocol.HTTPMessage.execute(245)| /framework_3.5.0.12683.swz (569996)
DEBUG | 01-04-2010 21:34:24:769 | 0015:core.protocol.HTTPMessage.execute(245)| /PXSMHome.swf (42364)
DEBUG | 01-04-2010 21:35:27:879 | 0013:core.protocol.HTTPMessage.execute(245)| /PXUMConfig.swf (84101)
DEBUG | 01-04-2010 21:35:32:082 | 0013:core.protocol.HTTPMessage.execute(245)| /PXUMIdaxx.swf (76573)
(next uses --> RSL is NOT downloaded again)
DEBUG | 01-04-2010 23:10:55:394 | 0013:core.protocol.HTTPMessage.execute(245)| /AXX.swf (272579)
DEBUG | 01-04-2010 23:10:56:379 | 0013:core.protocol.HTTPMessage.execute(245)| /PXSMHome.swf (42364)
DEBUG | 01-04-2010 23:11:03:863 | 0014:core.protocol.HTTPMessage.execute(245)| /PXUMConfig.swf (84101)
Case #2 : unsigned RSL (downloaded with each module !!!)
DEBUG | 01-04-2010 21:05:19:754 | 0012:core.protocol.HTTPMessage.execute(245)| /AXX.swf (272662)
DEBUG | 01-04-2010 21:05:20:160 | 0013:core.protocol.HTTPMessage.execute(245)| /framework_3.6.0.13443.swf (568563)
DEBUG | 01-04-2010 21:05:21:379 | 0014:core.protocol.HTTPMessage.execute(245)| /PXSMHome.swf (42562)
DEBUG | 01-04-2010 21:05:21:457 | 0013:core.protocol.HTTPMessage.execute(245)| /framework_3.6.0.13443.swf (568563)
DEBUG | 01-04-2010 21:05:36:004 | 0014:core.protocol.HTTPMessage.execute(245)| /PXUMConfig.swf (84307)
DEBUG | 01-04-2010 21:05:36:066 | 0015:core.protocol.HTTPMessage.execute(245)| /framework_3.6.0.13443.swf (568563)
DEBUG | 01-04-2010 21:05:40:519 | 0012:core.protocol.HTTPMessage.execute(245)| /PXUMIdaxx.swf (76811)
DEBUG | 01-04-2010 21:05:40:613 | 0016:core.protocol.HTTPMessage.execute(245)| /framework_3.6.0.13443.swf (568563)
Case #3 : RSL is not used, framework is merged in application
DEBUG | 01-04-2010 23:27:36:800 | 0014:core.protocol.HTTPMessage.execute(245)| /AXX.swf (505900)
DEBUG | 01-04-2010 23:27:37:254 | 0015:core.protocol.HTTPMessage.execute(245)| /PXSMHome.swf (40836)
DEBUG | 01-04-2010 23:27:43:019 | 0012:core.protocol.HTTPMessage.execute(245)| /PXUMConfig.swf (145460)
DEBUG | 01-04-2010 23:27:46:925 | 0012:core.protocol.HTTPMessage.execute(245)| /PXUMIdaxx.swf (152239)
As I am using my own HTTP server, may be there is some header options missing in the HTTP response.
If anybody can confirm or invalidate these observations, I will be glad to know !

Flex Builder 3 passes the same RSL linkage parameters to modules as it does the main application. This bug is fixed in Flash Builder 4. In Flash Builder 4 when the main application is linked with RSLs, each module its statically linked and each SWC that has RSL linkage is put on the external library path. The end result is that a module will not load the same RSLs as the main application but the module gets the size reduction as if is using RSLs.
The only work around I know for Flex Builder 3 bug is to compile your modules at the command line.
-Darrell

Similar Messages

  • Flex Application Not loading in case of using RSL.

    If anyone can help, I release my Flex Application using RSL but now this appication is not loading on some system. I upload application.swf and framework_3.0.0.477.swz and also crossdomain.xml but application not uploading and getting error  #2032.

    Search the internet for solutions for that error.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • RSL Caching not working in Flash Player

    We have built a Flex application compiled into an swf file that uses RSL linkage for the different framework libraries it needs. This has been done to reduce the size of the swf file. We are using the URL of the signed version of the library while building the application. The online documentation suggests that the signed SWZ files are cached by the flash player, so that they are not downloaded every time they are required. The swf file is embedded in a PDF file. Our observation is that when we run the Flex application by opening the PDF file in Adobe reader, the RSLs are not getting cached in the Flash player. If we disable the network connection on the computer that opens the PDF file, the Flex application dosen't load. Is this the expected behavior? Or are we missing something? Although if we open this this FLEX application in browser, it works fine.
    Is there a way in which we can maintain RSL caching in flash player, so that the PDF can be opened in the offline mode as well.
    We welcome your suggestions on this.

    Hi Alex,
    Thanks for your response. Our application uses framework RSL at:
    http://fpdownload.adobe.com/pub/swz/flex/4.6.0.23201/framework_4.6.0.23201.swz
    We discovered today that the problem occurs when we open the PDF in Adobe reader 11 in offline mode. When we opened this PDF in Adobe Reader 10, it works in offline mode as well. I believe there are some differences in the way Flash integrates with Adobe Reader 11: that it uses the system Flash player instead of an embedded one. Not sure if this is the cause of the issue, and if so how to resolve. Any help would be much appreciated.
    Thanks

  • Using RSLs results in a mixed content warning in Chrome?  When did this start happening?

    Hello All,
    We've got a secure (delivered via HTTPS) Flex app that has been using RSLs for years.  Just today, I noticed that Chrome was showing a "mixed content" warning for our app.
    We're not getting this same warning in IE or Firefox.  I poured over the requests in Chrome's developer tools, and there were only two HTTP requests:
    http://fpdownload.adobe.com/pub/swz/crossdomain.xml
    http://fpdownload.adobe.com/crossdomain.xml
    These both appear related to the Adobe hosted Flex RSLs.
    I changed my compilation options to merge libraries into code (no RSLs).  As soon as I did this, the mixed content warning in Chrome went away (and so did these two HTTP requests).  Switch back to RSLs, and the mixed content warning comes back (along with the two HTTP requests).
    Turning off RSLs makes my app quite a bit fatter--over 600kb fatter.  That's a lot.  I want to use RSLs, like we've been doing in the past!  How can this be fixed?
    Chrome Version: 22.0.1229.94 m
    Flash Player Version: 11.4.31.110
    OS Version: Windows 7, 64 bit
    Complete User-Agent string:
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4

    After looking through the Build->Properties->Flex Build Path->Library Path settings, I found that the RSLs each have a "Deployment Path/URL" and "Policy file URL" value.  For instance, for the text layout RSL, we've got:
    Deployment Path/URL: http://fpdownload.adobe.com/pub/swz/tlf/1.0.0.595/textLayout_1.0.0.595.swz
    Policy file URL: http://fpdownload.adobe.com/pub/swz/crossdomain.xml
    I went through each of the RSLs and changed both deployment and policy URLs to use HTTPS.
    Once I did this, the mixed content warning in Chrome stopped showing up.
    But I'm still at a loss as to why this started happening in the first place.  As I indicated in my original post, we've had this app running for years and this is the first we've noticed a mixed content warning in any browser.  What's going on?
      -Josh

  • Using NULL and NOT NULL in prompted filters

    Dear all,
    While trying to grap the concept of prompted filters in sap bo web intelligence, I had a question whether why we cannot use NULL and NOT NULL while creating a prompted filters in our report.

    HI,
    'Is Null' and 'Not Null' are the predefined functions in webi which only eliminate the null values or considering only null values.
    'Is Null' and 'Not Null' are itself predefined functions that why you are not getting  prompts.
    Null values are standard across the databases so this is defined  as a function in webi to specific eliminate the null values.
    If something is not standard then there is option in the webi to use different operator with static values or with prompts.
    More more information on Null see the Null wiki page.
    Null (SQL) - Wikipedia, the free encyclopedia
    Amit

  • Sharepoint foundation 2013: office docs can be opened in browser using IE but not in firefox or chrome?

    Hi
    Sharepoint foundation 2013:
    why when we open an excel or word  using chrome and firefox browser it wants to download the file.
    It can be opened in browser using IE but not in firefox or chrome?
    Any issues?
    Thanks

    Hello MGerio,
    Can you check what your Browser File Handling settings are of the web application (of the excel/word files)?
    http://social.technet.microsoft.com/wiki/contents/articles/8073.sharepoint-browser-file-handling-deep-dive.aspx
    - Dennis | Netherlands | Blog |
    Twitter

  • HT4847 I can not delete old icloud back up from my old phone, keep receiving an error message "this back up can not be deleted because it's in use" it is not in use that phone is long gone!

    I can not delete old icloud back up from my old phone, keep receiving an error message "this back up can not be deleted because it's in use" it is not in use that phone is long gone!

    I have the same problem here and it wont let me do another back up or delete the old one.... Please help!!!! Anyone

  • After installing iPhone Configutilities in my Mac, Personal Hotspot using USB is not working! Please help, I am using 10.7 Lion OS

    After installing iPhone Configutilities in my Mac, Personal Hotspot using USB is not working! Please help, I am using 10.7 Lion OS

    Did you talk to your carrier?

  • I have a Windows copy of Photoshop Elements 11, but the serial number has been lost. I didn't buy the product and I am unable to find the box. As far as I know, it's never been used so has not been registered. Does anyone know how the serial number can be

    I have a Windows copy of Photoshop Elements 11, but the serial number has been lost. I didn't buy the product and I am unable to find the box. As far as I know, it's never been used so has not been registered. Does anyone know how the serial number can be recovered under these circumstances?

    If you never bought the product then you cannot get the serial number.

  • I am using Iphone 4 (not 4s) After upgrading to ios 5.0.1. is blocking. I live in Venezuela

    I am using Iphone 4 (not 4s) After upgrading to ios 5.0.1. is blocking. I live in Venezuela

    Without more information, I have to say it sounds like the phone you have was not legitimately unlocked, but had been hacked. Updating iOS will re-lock it to the original carrier.
    ONLY the carrier it is locked to can authorize unlocking it.
    Where did you get the phone?

  • I do not use and do not want an iCloud account and I keep getting requests to sign in....how do I stop the request?

    I do not use and do not want an iCloud account and I keep getting requests to sign in....how do I stop the request?

    If you bought the machine new yourself, and did not enter a password when configuring it, leave the field blank.
    If you bought it used, then you need to reset the password, as described here:
    Apple Article to reset the password

  • Using an "if not exists" command with a folder on an SMB share

    I'm trying to use an "if not exists" command on a folder which is stored on a mounted smb share..
    This part of my script is supposed to check if a folder exists and;
    If it does - Skip to the next part of the script
    If it doesn't - Create the folder.
    At the moment it either errors saying that the folder doesn't exist or doesn't create the folder.
    I can get this script to work fine using local folder paths but I want to do it on an SMB share..
    Here's my script.
    Many thanks in advance.
    Martin
    set username to (do shell script "whoami")
    set Media to " Media Files"
    mount volume "smb://172.22.8.23/macmedia$"
    tell application "Finder"
    if not (exists ("smb://172.22.8.23/macmedia$/" & username as text) & Media as text) then
      make new folder at "macmedia$" with properties {name:(username as text) & Media as text}
    end if
    end tell
    tell application "Finder"
    set mnt to ("smb://172.22.8.23/macmedia$/" & username as text) & Media as text
    try
      mount volume mnt
    end try
    eject "macmedia$"
    end tell

    Hi Camelot,
    Thanks a lot for that the script's working as it should now..
    I'm still having intermittent problems on some clients where it will only map the root volume "macmedia$" and freeze there.. This is a problem as they can then see and access everyone elses folders from there.
    Do you know of a better/cleaner way to do what I'm trying to acheive? All i'm after is mapping an additional drive for student's so they can save larger files to our media server within their own folders.
    Is there a way of checking if a folder exisits within an smb share without mounting the volume? Just trying to think outside of the box a bit..
    Here's my new script;
    set username to (do shell script "whoami") & " Media" as text
    mount volume "smb://172.22.8.23/macmedia$"
    tell application "Finder"
              if not (exists folder username of disk "macmedia$") then
      make new folder at disk "macmedia$" with properties {name:username as text}
              end if
    end tell
    tell application "Finder"
              set mnt to ("smb://172.22.8.23/macmedia$/" & username as text)
              try
      mount volume mnt
              end try
              eject "macmedia$"
    end tell
    Many thanks,
    Martin

  • HT203052 How do I delete an icloud account which uses an email account no longer in use - I do not have the the passwrd for this account

    How do I delete an icloud account which uses an email account no longer in use - I do not have the the passwrd for this account

    You will need the password. If you can't get it reset via http://iforgot.apple.com (if you remember the answers to the account's security questions then you should be able to reset it via them) then try contacting Support in your country, they should be able to reset it.
    Contacting Apple about account security : http://support.apple.com/kb/HT569
    If your country isn't on that page then try this form and explain and see what they reply with : https://ssl.apple.com/emea/support/itunes/contact.html

  • HT4191 iPhone Local Storage "My iPhone" - How do you create this folder for use by the Notes app on a iPhone or iPad?  If I want to keep some notes only on my device and not in a cloud environment associated with an e-mail account.

    iPhone Local Storage "My iPhone" - How do you create this folder for use by the Notes app on a iPhone or iPad?  If I want to keep some notes only on my device and not in a cloud environment associated with an e-mail account.  I've seen reference to the  "My iPhone" local storage put no mention on how you create this folder or access this folder within the Notes app.  I realize storing information in a local storage like this provides no syncing between other iDevices but that is exactly what I'm looking for.  I'm running iOS7.0.4 on a iPhone 5S, and a iPad Air.  Any help would be greatly appreciated.

    If you go to Settings > Notes > Default Account you will see "On My iPhone" as the default account and the only choice if you have not enabled syncing Notes in Settings >iCloud or Settings > Mail, Contacts, Calendars. If you have enabled syncing you can still select "On My iPhone" as the default account. When you are in the Notes app you won't see any accounts listed if you have not enabled syncing because they are all in the On My iPhone account and that is the only place possible. It is not a folder that you create.

  • "One or more pages are in use and could not be deleted" - AGAIN.

    Open a PDF file.
    Save it under a different name
    Try to delete a page
    You'll get this error:
    "One or more pages are in use and could not be deleted"
    I've had this billions of times now and the only solution that works 100% of the time is closing and re-opening the file. This leads me to believe it's something with "locking" the file while saving, but not unlocking it after done saving.
    GET THIS FIXED PLEASE because it's annoying LOADS and LOADS of people.
    As evident by the 7000+ search results for the exact phrase "One or more pages are in use and could not be deleted".
    And that's just the part of the userbase that actually reports the problem.
    There are several topics about this issue, some marked as "solved" erroneously.
    Note, I'm a paying customer, use Photoshop/Illustrator/Dreamweaver/Fireworks and Bridge during my daily work, and have had this issue for months and months across several different computers (two different workplaces, and at home) and have ran into this time and again, when all I want to do is cut a PDF into several smaller PDFs.
    Closing and re-opening your program because you're unable to fix this issue is NOT ACCEPTABLE. It's THE WORST kind of user experience, as this issue is the ONLY reason I use Acrobat at all, and it can't even do that.
    Cheers,
    - Dirk
    Ps.: Sorry, I'm very frustrated running into this time and again, and then having to wade through thick mud (your site is a UX nightmare) to report this issue, which has been report oodles of times on this board before.

    Yup.  I get this problem too.  And I'm posting in April of 2015, so I see this problem has existed a long time.  Acrobat "Pro" (ha ha) is full of stupid, annoying problems.  And the interface is clunky.  I'm going use PDF Split and Merge to remove the page I'm struggling with.  Ridiculous that Adobe Acrobat Pro cannot remove one page from a PDF file.  I am NEVER upgrading this product.  I am done with Adobe.

Maybe you are looking for