[flexcoders] Re: framework RSL deployment problem
I would do a file compare between the RSLs files in FB and the war. They may be different even if they have the same name because FB will rename RSLs to match the RSL URLs in the project definition. -Darrell --- In flexcoders@yahoogroups.com, Dana caid...@... wrote: Yep, I'm using the swz/swf files originally from the framework/rsls directory, copying them to the same directory as the main application swf before it's packaged into the war. What confuses me is I'm packing up the SAME FILES as the ones I replace them with later on. --- In flexcoders@yahoogroups.com, Darrell Loverin darrell_loverin@ wrote: What are the RSL URLs you are using? Flex Builder will copy the RSLs it finds in your {sdk}/frameworks/rsls directory to the bin-debug directory. The rsls will be renamed to match the RSL URLs in your project settings. -Darrell --- In flexcoders@yahoogroups.com, Dana caidaer@ wrote: Hi guys. I have a weird RSL deployment problem on JBoss 4.0.5GA. I'm using framework 3.2.0.3958 as a signed RSL for one of my apps. If I build the app using FlexBuilder, it runs beautifully. If I compile it from the command line (my build server) using the swz/swf RSLs from my FlexBuilder output, firstly the .swz file fails to load, I then get a digest mismatch error when the swf failover is loaded. However, if I then download the flex.war from my server, unzip it, overwrite the swz/swf in the war file with the FlexBuilder swz/swf files (these are the SAME files as I packaged up in the flex.war file!) zip it back up and push it back to the server, it runs fine. I'm at a complete loss to explain this since I've been ultra careful to ensure that the same swf/swz/framework.swc files have been used to compile both the FlexBuilder and the build server apps. I even compared the digests generated by each build using the -keep option. They're identical. Can anyone shed some light on this?
[flexcoders] Re: SWFLoader/Loader in AIR , connection is not closed and adl.exe stays in memory
When you called SWFLoader.stopAndUnload(), did you compile your app with -target-player=10? If you didn't then stopAndUnload() will fallback to calling unload(). The reason is stopAndUnload() is a new api for Flash Player 10 and can't be called when you compile your app as a version 9 swf. -Darrell --- In flexcoders@yahoogroups.com, alex myth_dran...@... wrote: Hello , I guess this issues was brought up before but I could not find any working solution Basically I have SWFLoader wich I load(url) with Youtube video, it plays fines the first time and exits the application just fine , no leak . If I following some event try to unload the video and load a new url , the video is not loaded although I can see there was a request to the url , but the worst part is that the connection is not closed(new or old ? ) and hence when I close my AIR application (NativeApplication.nativeApplication.exit(); ) , the adl.exe stays in the memory ! Ok , so I tried .stopAndUnload , I tried null on the Loader , I tried receivingLC = new LocalConnection(); closeConnection(); receivingLC.client = this; //receivingLC.connect('AVM1controlConn'); which is also not working and the last line with connect gives me error that a connection already established. So my question is how can I close the connection manually on the SWFLoader ?
[flexcoders] Re: SWFLoader/Loader in AIR , connection is not closed and adl.exe stays in memory
When you called SWFLoader.stopAndUnload(), did you compile your app with -target-player=10? If you didn't then stopAndUnload() will fallback to calling unload(). The reason is stopAndUnload() is a new api for Flash Player 10 and can't be called when you compile your app as a version 9 swf. -Darrell --- In flexcoders@yahoogroups.com, alex myth_dran...@... wrote: Hello , I guess this issues was brought up before but I could not find any working solution Basically I have SWFLoader wich I load(url) with Youtube video, it plays fines the first time and exits the application just fine , no leak . If I following some event try to unload the video and load a new url , the video is not loaded although I can see there was a request to the url , but the worst part is that the connection is not closed(new or old ? ) and hence when I close my AIR application (NativeApplication.nativeApplication.exit(); ) , the adl.exe stays in the memory ! Ok , so I tried .stopAndUnload , I tried null on the Loader , I tried receivingLC = new LocalConnection(); closeConnection(); receivingLC.client = this; //receivingLC.connect('AVM1controlConn'); which is also not working and the last line with connect gives me error that a connection already established. So my question is how can I close the connection manually on the SWFLoader ?
[flexcoders] Re: framework RSL deployment problem
What are the RSL URLs you are using? Flex Builder will copy the RSLs it finds in your {sdk}/frameworks/rsls directory to the bin-debug directory. The rsls will be renamed to match the RSL URLs in your project settings. -Darrell --- In flexcoders@yahoogroups.com, Dana caid...@... wrote: Hi guys. I have a weird RSL deployment problem on JBoss 4.0.5GA. I'm using framework 3.2.0.3958 as a signed RSL for one of my apps. If I build the app using FlexBuilder, it runs beautifully. If I compile it from the command line (my build server) using the swz/swf RSLs from my FlexBuilder output, firstly the .swz file fails to load, I then get a digest mismatch error when the swf failover is loaded. However, if I then download the flex.war from my server, unzip it, overwrite the swz/swf in the war file with the FlexBuilder swz/swf files (these are the SAME files as I packaged up in the flex.war file!) zip it back up and push it back to the server, it runs fine. I'm at a complete loss to explain this since I've been ultra careful to ensure that the same swf/swz/framework.swc files have been used to compile both the FlexBuilder and the build server apps. I even compared the digests generated by each build using the -keep option. They're identical. Can anyone shed some light on this?
[flexcoders] Re: framework RSL deployment problem
What are the RSL URLs you are using? Flex Builder will copy the RSLs it finds in your {sdk}/frameworks/rsls directory to the bin-debug directory. The rsls will be renamed to match the RSL URLs in your project settings. -Darrell --- In flexcoders@yahoogroups.com, Dana caid...@... wrote: Hi guys. I have a weird RSL deployment problem on JBoss 4.0.5GA. I'm using framework 3.2.0.3958 as a signed RSL for one of my apps. If I build the app using FlexBuilder, it runs beautifully. If I compile it from the command line (my build server) using the swz/swf RSLs from my FlexBuilder output, firstly the .swz file fails to load, I then get a digest mismatch error when the swf failover is loaded. However, if I then download the flex.war from my server, unzip it, overwrite the swz/swf in the war file with the FlexBuilder swz/swf files (these are the SAME files as I packaged up in the flex.war file!) zip it back up and push it back to the server, it runs fine. I'm at a complete loss to explain this since I've been ultra careful to ensure that the same swf/swz/framework.swc files have been used to compile both the FlexBuilder and the build server apps. I even compared the digests generated by each build using the -keep option. They're identical. Can anyone shed some light on this?
[flexcoders] Re: flex 3 issue loading fp10
By load it inside flex 3 do you mean compile with fp10 global swc? To use the fp10 global swc in Flex 3 you should compile with -target-player=10. Also verify you are running the fp10 player, fp9 can't run a swf compiled for fp10. -Darrell --- In flexcoders@yahoogroups.com, Gustavo Duenas gdue...@... wrote: I have the fp10 global swc, and when I try to load it inside flex 3, it has a problem, and say that it has a bitcode error, any ideas why? Gustavo
[flexcoders] Re: Debugger can't find framework source
We are thinking to provide unsigned RSLs with debug information in Flex 4. -Darrell --- In flexcoders@yahoogroups.com, reflexactions reflexacti...@... wrote: Thanks, That makes sense, though it would be nice if in a future version of Flex adobe could provide debugging RSL's as an option, as sometimes it is useful to be able to step through into adobe code. With our main application it is no longer really practical to change back to merged without a lot of other changes as well as going back to 30 min compiles. --- In flexcoders@yahoogroups.com, Darrell Loverin darrell_loverin@ wrote: The framework RSL does not contain debug information so you can't debug it. The debug infomation is removed from RSLs to make them smaller and download faster. -Darrell --- In flexcoders@yahoogroups.com, reflexactions reflexactions@ wrote: I noticed that after I switch my app to use framework RSL's the debugger always shows the framework as no source. I have checked that in the library path the source attachment property is set and is valid. All I need do is switch between framework linkage merged in code and RSL for it to show/not show source code in the debugger. This is running FB standalone. Does anyone know how to get it to find the source code when using the framework as an RSL?
[flexcoders] Re: flex 3 issue loading fp10
There are just two steps. 1. Update your command line (see below). 2. Install FP10 if you haven't already. If you are compiling from the command line add -target-player=10 to compile with the FP10 API. An FP10 swf will be produced. If you are compiling with Flex Builder add -target-player=10 to the Additional compiler arguments edit control. The control is found in the Flex Compiler properties of your Flex project. -Darrell --- In flexcoders@yahoogroups.com, Gustavo Duenas gdue...@... wrote: Thanks Darrel that is what I mean, I've been trying to compile with the fp10 global swc. could you help me out step by step. Regards, gustavo On Mar 17, 2009, at 9:42 AM, Darrell Loverin wrote: By load it inside flex 3 do you mean compile with fp10 global swc? To use the fp10 global swc in Flex 3 you should compile with - target-player=10. Also verify you are running the fp10 player, fp9 can't run a swf compiled for fp10. -Darrell --- In flexcoders@yahoogroups.com, Gustavo Duenas gduenas@ wrote: I have the fp10 global swc, and when I try to load it inside flex 3, it has a problem, and say that it has a bitcode error, any ideas why? Gustavo Gustavo A. Duenas Creative Director LEFT AND RIGHT SOLUTIONS 904. 265 0330 - 904. 386 7958 www.leftandrightsolutions.com Jacksonville - Florida
[flexcoders] Re: Smallest filesize of a swf in Flex 3 is larger then Flex 2?
I don't think RSLs are a bad idea for a single application if you are using signed RSLs (swz files) because they may already be in the Flash Player Cache and therefore not need to be downloaded. But to guarantee your Flash Player can load a signed RSL you will need to require Flash Player 9,0,124 or higher. -Darrell --- In flexcoders@yahoogroups.com, Nick Collins ndcoll...@... wrote: A big part of that reason is that when you attach any library, be it the SDK or an external SWC, as a RSL, it is going to increase the size of a singular app. The reason is that when a library is specified as an RSL, the ENTIRE library gets loaded, not just the parts that are needed, since it doesn't know what classes will be needed. Additionally, RSLs are all loaded at Frame 1, and are mandatory (meaning all RSLs are required to be loaded), increasing the load time if they haven't been downloaded previously. Where you see the major gains with RSLs is when you are using them across multiple applications, because rather than re-download the RSL, it will pull the RSL from the browser cache, speeding the load time, although it is still loading more classes than otherwise. For this reason RSLs are usually a bad idea for a single application, because it will actually have a smaller size all compiled into a single SWF, and loading bits of the application via modules, which are only loaded as needed. Nick On Mon, Mar 16, 2009 at 8:55 PM, Dan yldle...@... wrote: Hi Flexcoders, It is always claimed that by caching framework.swz of Flex 3, the swf size is always the smaller. However. from the generated linked-report. in Flex 3, some classes like RSLloader and some ResourceBundle classes are being added, which actually increase the swf size. Since my application is making up of first loading a shared library, and then upon runtime, it loaded other very small modules. These modules are making up of very small file size (a few k byte), the overhead added by these Flex3 loaders and bundles has largly increase the TOTAL application size by a huge amount (cause there are hundreds of this kind of small modules when summing up the little increase of this overhead, it becomes M byte). The start up time is down a bit (loading the smaller library and smaller init app), but the overall brandwidth consumpt much more now. So is there any way to trim off those overhead? Or I need to compile those smaller modules by a Flex 2 compiler? Anyone have any idea? Dan
[flexcoders] Re: Smallest filesize of a swf in Flex 3 is larger then Flex 2?
I don't think RSLs are a bad idea for a single application if you are using signed RSLs (swz files) because they may already be in the Flash Player Cache and therefore not need to be downloaded. But to guarantee your Flash Player can load a signed RSL you will need to require Flash Player 9,0,124 or higher. -Darrell --- In flexcoders@yahoogroups.com, Nick Collins ndcoll...@... wrote: A big part of that reason is that when you attach any library, be it the SDK or an external SWC, as a RSL, it is going to increase the size of a singular app. The reason is that when a library is specified as an RSL, the ENTIRE library gets loaded, not just the parts that are needed, since it doesn't know what classes will be needed. Additionally, RSLs are all loaded at Frame 1, and are mandatory (meaning all RSLs are required to be loaded), increasing the load time if they haven't been downloaded previously. Where you see the major gains with RSLs is when you are using them across multiple applications, because rather than re-download the RSL, it will pull the RSL from the browser cache, speeding the load time, although it is still loading more classes than otherwise. For this reason RSLs are usually a bad idea for a single application, because it will actually have a smaller size all compiled into a single SWF, and loading bits of the application via modules, which are only loaded as needed. Nick On Mon, Mar 16, 2009 at 8:55 PM, Dan yldle...@... wrote: Hi Flexcoders, It is always claimed that by caching framework.swz of Flex 3, the swf size is always the smaller. However. from the generated linked-report. in Flex 3, some classes like RSLloader and some ResourceBundle classes are being added, which actually increase the swf size. Since my application is making up of first loading a shared library, and then upon runtime, it loaded other very small modules. These modules are making up of very small file size (a few k byte), the overhead added by these Flex3 loaders and bundles has largly increase the TOTAL application size by a huge amount (cause there are hundreds of this kind of small modules when summing up the little increase of this overhead, it becomes M byte). The start up time is down a bit (loading the smaller library and smaller init app), but the overall brandwidth consumpt much more now. So is there any way to trim off those overhead? Or I need to compile those smaller modules by a Flex 2 compiler? Anyone have any idea? Dan
[flexcoders] Re: Debugger can't find framework source
The framework RSL does not contain debug information so you can't debug it. The debug infomation is removed from RSLs to make them smaller and download faster. -Darrell --- In flexcoders@yahoogroups.com, reflexactions reflexacti...@... wrote: I noticed that after I switch my app to use framework RSL's the debugger always shows the framework as no source. I have checked that in the library path the source attachment property is set and is valid. All I need do is switch between framework linkage merged in code and RSL for it to show/not show source code in the debugger. This is running FB standalone. Does anyone know how to get it to find the source code when using the framework as an RSL?
[flexcoders] Re: RSL and RT loading CSS
The problem with modules loading the same RSLs will be fixed in Gumbo i10 http://bugs.adobe.com/jira/browse/FB-15470. The StyleManager.loadStyleDeclarations issue sounds like the same kind of problem. To work around the problem I would compile my CSS swf and modules in a separate project where they are statically linked instead of using RSLs. For every SWC you link as an RSL in you main application project, link those SWCs as external in the CSS swf and modules project. -Darrell --- In flexcoders@yahoogroups.com, reflexactions reflexacti...@... wrote: I have an application that uses RSL's. I also have a couple of CSS's files containing embeded images etc. that are set to compile to swf and are loaded at run time. When I run the application it loads all the RSL's from the same folder as the application as the root gets set automatically to the main swf. Then the in the initialization of the application I call StyleManager.loadStyleDeclarations to load in the compiled css files. My problems start here as the CSS swf completes loading, for some reason they cause all RSL's to be loaded again but this time without root being set so they are effectivwely relatve to root on the server rather than relative to the application. Therefore to get it all to work I need all the RSL's in two places! Secondly the second loading of the RSL's is unecessary as they are already loaded and in fact just after loading for the second time they all get unloaded again, it also takes a significant amount of time so you sit waiting to be able to do something whilst all this loading/unloading is taking place. It also seems that loading modules causes the RSLs to get reloaded as well. So what am I doing wrong are are RSLs just all messed up. tks
[flexcoders] Re: RSL and RT loading CSS
The problem with modules loading the same RSLs will be fixed in Gumbo i10 http://bugs.adobe.com/jira/browse/FB-15470. The StyleManager.loadStyleDeclarations issue sounds like the same kind of problem. To work around the problem I would compile my CSS swf and modules in a separate project where they are statically linked instead of using RSLs. For every SWC you link as an RSL in you main application project, link those SWCs as external in the CSS swf and modules project. -Darrell --- In flexcoders@yahoogroups.com, reflexactions reflexacti...@... wrote: I have an application that uses RSL's. I also have a couple of CSS's files containing embeded images etc. that are set to compile to swf and are loaded at run time. When I run the application it loads all the RSL's from the same folder as the application as the root gets set automatically to the main swf. Then the in the initialization of the application I call StyleManager.loadStyleDeclarations to load in the compiled css files. My problems start here as the CSS swf completes loading, for some reason they cause all RSL's to be loaded again but this time without root being set so they are effectivwely relatve to root on the server rather than relative to the application. Therefore to get it all to work I need all the RSL's in two places! Secondly the second loading of the RSL's is unecessary as they are already loaded and in fact just after loading for the second time they all get unloaded again, it also takes a significant amount of time so you sit waiting to be able to do something whilst all this loading/unloading is taking place. It also seems that loading modules causes the RSLs to get reloaded as well. So what am I doing wrong are are RSLs just all messed up. tks
[flexcoders] Re: AxisRenderer Embedded Font Bug?
The problem sounds like it might be this bug https://bugs.adobe.com/jira/browse/FLEXDMV-1883 which was fixed in Flex 3.2. -Darrell --- In flexcoders@yahoogroups.com, Battershall, Jeff jeff.battersh...@... wrote: Additional info - the chart is in a TitleWindow. There seems to be a lot of posts about this and similar issues with charts within modules, etc. I just haven't been able to get the magic incantation that will make the fonts render. I could just say f-it and render the labels using device fonts and without rotation, but that kinda runs against the grain, if you know what I mean. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Thursday, February 05, 2009 2:36 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] AxisRenderer Embedded Font Bug? I've got a vertical axis with an axisrenderer and I'm trying to rotate the labels 90 degrees. I'm referring to a font embedded in a stylesheet. The labels won't display - it appears that room is being made for the labels to appear, but the labels aren't getting rendered. I'm using MyriadWebPro as the embedded font and I've also tried this with Arial with the same results. I've also tried this with no label rotation at all - but no dice. If I stipulate a font family including device fonts, the labels will render, but no rotation is available. Has anyone seen this? Jeff Battershall Application Architect Dow Jones Indexes jeff.battersh...@... (609) 520-5637 (p) (484) 477-9900 (c) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f- b4cf- 1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] Re: AxisRenderer Embedded Font Bug?
What version of dataviz and the framework are you using? -Darrell --- In flexcoders@yahoogroups.com, Battershall, Jeff jeff.battersh...@... wrote: Daniel, OK its an RSL issue. When I have the dataviz and framework merged into code, everything renders correctly. When I'm referencing them as RSL URLs, the fonts don't render properly in the AxisRenderer (for vertical axes). I had run into this previously and the workaround is/was to merge it all into code with the commensurate increase in file size. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Thursday, February 05, 2009 8:54 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: AxisRenderer Embedded Font Bug? Daniel, It's bizarre - I enumerated the fonts in the document (TitleWindow) and they are there but aren't displaying in the AxisRenderer. The fonts ARE rendering in other parts of the document. I'm wondering whether I have the latest datavis build or something weird like that. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Darrell Loverin Sent: Thursday, February 05, 2009 7:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: AxisRenderer Embedded Font Bug? The problem sounds like it might be this bug https://bugs.adobe.com/jira/browse/FLEXDMV-1883 which was fixed in Flex 3.2. -Darrell --- In flexcoders@yahoogroups.com, Battershall, Jeff jeff.battershall@ wrote: Additional info - the chart is in a TitleWindow. There seems to be a lot of posts about this and similar issues with charts within modules, etc. I just haven't been able to get the magic incantation that will make the fonts render. I could just say f-it and render the labels using device fonts and without rotation, but that kinda runs against the grain, if you know what I mean. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Thursday, February 05, 2009 2:36 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] AxisRenderer Embedded Font Bug? I've got a vertical axis with an axisrenderer and I'm trying to rotate the labels 90 degrees. I'm referring to a font embedded in a stylesheet. The labels won't display - it appears that room is being made for the labels to appear, but the labels aren't getting rendered. I'm using MyriadWebPro as the embedded font and I've also tried this with Arial with the same results. I've also tried this with no label rotation at all - but no dice. If I stipulate a font family including device fonts, the labels will render, but no rotation is available. Has anyone seen this? Jeff Battershall Application Architect Dow Jones Indexes jeff.battershall@ (609) 520-5637 (p) (484) 477-9900 (c) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f- b4cf- 1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf- 1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf- 1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] Re: VerifyError when switching from RSLs to 'Merge into code'
If you are using FlexBuilder I would first do a clean build to make sure the application was rebuilt and try again. It could be some sub-applications or modules that are being loaded by the main application are dependent on the classes listed in the VerifyErrors being in the main application's ApplicationDomain. I would recheck how those sub-applications/module are built. -Darrell --- In flexcoders@yahoogroups.com, dustyjewett dusty.jew...@... wrote: I have a rather large app that was recently switched over to using RSLs (about a month ago). I needed to trace inside of the framework, so I attempted to switch to 'merged into code', but now I am getting VerifyErrors: VerifyError: Error #1014: Class mx.skins::Border could not be found. VerifyError: Error #1014: Class mx.skins::RectangularBorder could not be found. VerifyError: Error #1014: Class mx.controls::DateField could not be found. VerifyError: Error #1014: Class mx.controls::RichTextEditor could not be found. VerifyError: Error #1014: Class mx.formatters::DateFormatter could not be found. VerifyError: Error #1014: Class mx.controls::Image could not be found. VerifyError: Error #1014: Class mx.validators::DateValidator could not be found. VerifyError: Error #1014: Class mx.controls::Image could not be found. VerifyError: Error #1014: Class mx.validators::NumberValidator could not be found. I understand that these specific errors are aimed at my specific app, but I'm hoping someone has hit this before and can point me in the right direction.
[flexcoders] Re: recompiling framework shared library?
The reason you are having a problem is because of the first in wins rule that applies to loading classes. Your monkey patched VideoPlayer class is in your swf file, but in frame 2. The framework swz file is loaded in frame 1, so its definition of VideoPlayer wins. The way to work around this is to create your own RSL with just your VideoPlayer class and its dependencies. Load this new RSL before the signed framework RSL and your definition of the VideoPlayer will win. Note: the new RSL can be large in some cases, depending on the size of the classes the monkey patched file is dependent on. -Darrell --- In flexcoders@yahoogroups.com, luvfotography ygro...@... wrote: Hi, I've made a change to mx.controls.videoClasses.VideoPlayer.as and placed it in my 'src' folder under the folders 'mx', then 'controls', then 'videoClasses' and it picks up the change no problem. If I then change my project to use 'runtime shared library' it's not picking up my changes. What do I need to do? do i need to recompile the framework_3.0.0.477.swz somehow? thanks,
[flexcoders] Re: RSL VerifyError: Error #1079: Native methods are not allowed in loaded code.
The trace seems to say you are not using RSLs, -runtime-shared- library-path. If that is true, then I'm not sure what would cause VerifyError: Error #1079. --- In flexcoders@yahoogroups.com, freak182 eman.noll...@... wrote: Hello, here is the trace when i compile my flex app: compiler.es=false compiler.external-library-path D:\shared_maven_repo\repository\com\adobe\flex\framework\playerglobal \9-3.2. .3958\playerglobal-9-3.2.0.3958.swc compiler.fonts.local-fonts-snapshot D:\flex\test-project\test\test-ui\target\fonts.ser compiler.headless-server=false compiler.include-libraries= compiler.keep-all-type-selectors=false compiler.keep-generated-actionscript=false compiler.library-path D:\shared_maven_repo\repository\com\adobe\flex\framework\flex\3.2.0.3 958\flex-3.2.0.3 58.swc D:\shared_maven_repo\repository\com\adobe\flex\framework\framework\3. 2.0.3958\framework-3.2.0.3958.s c D:\shared_maven_repo\repository\com\adobe\flex\framework\rpc\3.2.0.39 58\rpc-3.2.0.3958.swc D:\shared_mave _repo\repository\com\adobe\flex\framework\utilities\3.2.0.3958 \utilities-3.2.0.3958.swc D:\shared_maven_rep \repository\com\adobe\cairngorm\cairngorm\2.2.1\cairngorm-2.2.1.swc D:\shared_maven_repo\repository\com\ado e\flex\framework\framework\3.2.0.3958\framework-3.2.0.3958- en_US.rb.swc D:\shared_maven_repo\repository\com adobe\flex\framework\rpc\3.2.0.3958\rpc-3.2.0.3958-en_US.rb.swc compiler.locale en_US compiler.optimize=true compiler.services D:\flex\buspinoy-project\buspinoy\buspinoy-ui\target\generated- resources\services-config.xml ...still error. Thanks. Darrell Loverin wrote: This error is caused by trying to load playerglobal.swc as an RSL. playerglobal.swc must always be linked as external. -Darrell --- In flexcoders@yahoogroups.com, freak182 eman.nollase@ wrote: Hello, Im getting same error by upgrading my flex sdk: here is my scenario: 1. im using flex-compiler-mojo to build flex 2. i upgrade from 3.0.0.477 to 3.2.0.3958 3. it has no when compiling but when i start my app, it gives me error: VerifyError: Error #1079: Native methods are not allowed in loaded codeand cascade the errors... Darrell Loverin wrote: Would you please provide some information on what steps you are doing to switch between static linking and using RSLs? Are you just trying to use the RSL provided in the SDK or are you creating your own RSLs? -Darrell Loverin Flex SDK --- In flexcoders@yahoogroups.com, Dmitri Girski mitek17@ wrote: Hmmm. Can't get this RSL thing working. It spoils me with a different type of error messages such 1001, 1079, 2032 but there is no way compile it in Flex 3. If I change to static linking - everything is fine. Did anyone try to compile RSLs with released FB3? Thanks! Dmitri. --- In flexcoders@yahoogroups.com, Dmitri Girski mitek17@ wrote: Hi all, Just trying to convert the project into RSL and I am getting this strange error on the startup VerifyError: Error #1079: Native methods are not allowed in loaded code. Does anyone know what does it mean? Thanks! Dmitri. -- View this message in context: http://www.nabble.com/RSL- VerifyError%3A-Error--1079%3A-Native-methods-are-not-allowed-in- loaded-code.-tp15706910p21310605.html Sent from the FlexCoders mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/RSL- VerifyError%3A-Error--1079%3A-Native-methods-are-not-allowed-in- loaded-code.-tp15706910p21324291.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Re: RSL VerifyError: Error #1079: Native methods are not allowed in loaded code.
This error is caused by trying to load playerglobal.swc as an RSL. playerglobal.swc must always be linked as external. -Darrell --- In flexcoders@yahoogroups.com, freak182 eman.noll...@... wrote: Hello, Im getting same error by upgrading my flex sdk: here is my scenario: 1. im using flex-compiler-mojo to build flex 2. i upgrade from 3.0.0.477 to 3.2.0.3958 3. it has no when compiling but when i start my app, it gives me error: VerifyError: Error #1079: Native methods are not allowed in loaded codeand cascade the errors... Darrell Loverin wrote: Would you please provide some information on what steps you are doing to switch between static linking and using RSLs? Are you just trying to use the RSL provided in the SDK or are you creating your own RSLs? -Darrell Loverin Flex SDK --- In flexcoders@yahoogroups.com, Dmitri Girski mitek17@ wrote: Hmmm. Can't get this RSL thing working. It spoils me with a different type of error messages such 1001, 1079, 2032 but there is no way compile it in Flex 3. If I change to static linking - everything is fine. Did anyone try to compile RSLs with released FB3? Thanks! Dmitri. --- In flexcoders@yahoogroups.com, Dmitri Girski mitek17@ wrote: Hi all, Just trying to convert the project into RSL and I am getting this strange error on the startup VerifyError: Error #1079: Native methods are not allowed in loaded code. Does anyone know what does it mean? Thanks! Dmitri. -- View this message in context: http://www.nabble.com/RSL- VerifyError%3A-Error--1079%3A-Native-methods-are-not-allowed-in- loaded-code.-tp15706910p21310605.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Re: RSL Error in Flex 2.0.1
Try changing the load order so that framework.swf is loaded first. --- In flexcoders@yahoogroups.com, t_varada [EMAIL PROTECTED] wrote: Hi All I am trying to convert my project to RSL based. I followed all the steps in the document but never got it worked. Basically we have two custom swc files that is common for all the features inside our application. I added the following lines to my flex-config.xml (our compilation are ANT based scripts) runtime-shared-libraries url../libraries/UIFramework.swf/url url../libraries/MenuLib.swf/url url../libraries/framework.swf/url url../libraries/flex.swf/url url../libraries/fds.swf/url url../libraries/rpc.swf/url /runtime-shared-libraries And copied all the *.swf to webapps/libraries. But when I start my app I get the following error VerifyError: Error #1014: Class mx.controls::NumericStepper could not be found. Really appreciate your suggestion.
[flexcoders] Re: framework issues
It's possible the two machines are compiling with different SDK versions even though the RSL URL is the same. It is a known problem that when you switch to a different SDK, the RSL URLs are not updated to match the new SDK. To debug the issue you can you the -keep compiler option to keep the generated source. In the generated folder look for a file named _{your app name}_mx_managers_SystemManager-generated.as. Inside of this file find the info() method. In there you will see a digests field(see below). overridepublic function info():Object { return { backgroundColor: white, cdRsls: [{rsls: [framework_3.0.0.477.swz,framework_3.0.0.477.swf], policyFiles:[,] ,digests: [ca055b87d42f411598ab8d0aac9447ccf1318dc7da82f4e7a5e1bfa6e5c5184e, ca055b87d42f411598ab8d0aac9447ccf1318dc7da82f4e7a5e1bfa6e5c5184e], types:[SHA-256,SHA-256], isSigned:[true,false] }] This is the digest that is causing the digest mismatch. Compare the digests fields generated by the two machines. If the digests are different then it means you are compiling against different versions of framework.swc. On the topic of RSL information, I may be biased but I think this is one of the better sources of information: http://www.adobe.com/devnet/flex/articles/flash_player_cache.html -Darrell --- In flexcoders@yahoogroups.com, Kenneth Sutherland [EMAIL PROTECTED] wrote: Yes I know that you need to point at the same framework file etc. This is exactly what we are doing. For example in flex builder the framework path on both our machines is set to â/swf/flex_framework/3.1/framework_3.1.0.2710.swfâ and if you look at the request from a tool such a fiddler or service capture you can see the request being made and it does get the required swz swf but it gives you a digest error if the circumstances are the same as point 2 below. Both versions of flexbuilder are the same. So we have App1 built on PC 1, App2 built on PC 2 and framework_3.1.0.2710 taken from PC 1. So what happens is 1) The user already has the 3.1 framework cached, both App1 2 both work fine. 2) The user does NOT have the framework cached, only App1 will work, App2 will give a RSL error even though you can see it get the file from the server when you view it through a HTTP tool. (digest mismatch) Any pointers? Anyone else had this. Iâd have though it was a fairly common thing to do (have a single framework file referenced by several apps generated by different programmers). Cheers. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gabriel Sent: 26 November 2008 16:28 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] framework issues On Wed, Nov 26, 2008 at 3:25 AM, Kenneth Sutherland [EMAIL PROTECTED] mailto:kenneth.sutherland%40realise.com wrote: [...] worked just fine until we got someone else other than myself to build the final application swf files. Am I missing some settings? remember that the cached framework is just another (albeit signed) rsl. you have to make sure that, when you compile, your -runtime-shared- library-path is correctly set up (and consistently set up between different developers so that the code is compiled against the same version of the library). here's a chunk of one of the config.xml i use when compiling for framework caching. (i use command line fcsh, so i prefer to use the xml to just be able to type mxmlc -load-config config.xml on the fcsh, but you can turn it into -runtime-shared-library-path=... etc. command line argument syntax if you need to). runtime-shared-library-path path-element/opt/flex3sdk/frameworks/libs/framework.swc/path- element rsl-urlframework_3.1.0.2710.swz/rsl-url policy-file-url/policy-file-url rsl-urlframework_3.1.0.2710.swf/rsl-url policy-file-url/policy-file-url /runtime-shared-library-path static-link-runtime-shared-librariesfalse/static-link-runtime- shared-libraries the best resource that i've found for all these things is the 'building and deploying flex 3 applications' pdf from the adobe website. HTH, gabriel. BTW, does someone knows how to determine which framework versions does one have already cached? -- gabriel montagné láscaris comneno http://rojored.com t/506.8367.6794 Disclaimer --- This electronic message contains information which may be privileged and confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone on 0131 476 6000 and delete the material from your computer.
[flexcoders] Re: modal PopUp with one component, that should accept user interaction
I may be misunderstanding your question but the third parameter of the PopUpManager.addPopUp() fucntion is a Boolean that controls whether the popup is modal or non-modal. -Darrell --- In flexcoders@yahoogroups.com, Christoph Leva [EMAIL PROTECTED] wrote: Hi all, I use the popUpManager to show a TitleWindow. I want it modal, but exlude the component from where I create the popUp. The result should be, that this one component and the titleWindow can be clicked on or interacted with and all other components should not react to user interaction. Does anybody have an idea how to do it with the PopUpManager? Cheers, Christoph
[flexcoders] Re: Testing with Flex Framework RSL's
The Flash Player framework cache is location if different places depending on the OS. You can use the Global Storage Settings Panel (http://www.macromedia.com/support/documentation/en/flashplayer/help/ settings_manager03.html) to delete the Player cache. To delete the cache uncheck the Store common Flash components to reduce download times checkbox. Then confirm you want to delete the cache. Next, recheck the checkbox to turn the cache back on. -Darrell --- In flexcoders@yahoogroups.com, Romeo Obane [EMAIL PROTECTED] wrote: Hi, I've read many articles regarding RSL's and I'm quite interested especially in Flex Framework RSL. We have now a Flex Application that has Flex Framework merged, and now I tested separating it through RSL. I would like to test the RSL, and I was thinking of deleting the two frameworks ( swz swf ) in the deployment folder ( bin-release ) will raise an error and find for the missing framework(s), but it's not what I expected, it's still loads the whole application successfully. I have the latest Flash Player and as what I've read that the signed framework (swz) will be cached into the player when first loaded, I'm thinking of the successful load of our application maybe it's because there is already a signed flex framework cached into the player. One more thing also, can we clear the cache in Flash Player? I'm quite new and curious about this, and any enlightenment will be greatly appreciated. Thanks :)
[flexcoders] Re: framework caching is not working
Error code #2046 means the signature of the signed RSL is invalid. Since I know framework_3.0.189825.swz is correctly signed I think the problem your running into is the player does not currently support 64-bit Suse. It may be support in Player 10. -Darrell --- In flexcoders@yahoogroups.com, Sanjit Kumar [EMAIL PROTECTED] wrote: hi all I have working with flash player cache I compiled my application using runtime-shared-library-path mxmlc -runtime-shared-library- path=../frameworks/libs/framework.swc,framework_3.0.189825.swz,, ../frameworks/RuntimeSharedLibrary/profile.mxml -target- player=9.0.60 i deployed my swf and signed rsl into web server in same folder. when i requesting swf file. it gives Error#2046 RSL Error 1 0f 1. i am using linux opensuse 64 os. and flashplayer 9.0.60
[flexcoders] Re: Missing classes when using RSL cache
Yes, dependent RSLs must be included as well. The datavisualization RSL is dependent on the framework RSL. This means when you use datavisualization as an RSL you must also use the framework as an RSL. Also note that since the datavisualization is dependent on the framework RSL, the datavisualization RSL must be loaded after framework RSL. You can modify the RSL loading order in Flex Builder by modifying the project properties. In the project properties dialog goto Flex Build Path - Library Path. Select framework.swc and press the Up button until it is above datavisualization.swc. Now, assuming both framework.swc and datavisualization.swc are loaded as RSLs, the framework RSL will load before the datavisualization RSL. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Darrell, do all dependent rsls have to be used as well? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Thursday, December 06, 2007 1:22 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Missing classes when using RSL cache On Wednesday 05 Dec 2007, Alex Harui wrote: Because TweenEffect is not in the app? I should have been clearer - when not using data vis. as a RSL there is no error. I'll try and make up a test case today. -- Tom Chiverton Helping to augmentatively envisioneer enterprise-class solutions on: http://thefalken.livejournal.com Please note, as of 10th December 2007 the registered office address of Halliwells LLP will be at 3 Hardman Square, Spinningfields, Manchester, M3 3EB This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
[flexcoders] Re: Framework Caching not working
Just one more question about flash player, why adobe don't put flex framework inside Flash Player? It will make Flex be amazing plataform even for small websites and app, confroting ajax in your best vantage on flex, the size of files without any first huge loading. It would make the download size of the Flash Player larger. Not all Flash applications are Flex applications so the Framework is only downloaded and cached when needed. --- In flexcoders@yahoogroups.com, danielvlopes [EMAIL PROTECTED] wrote: Many thanks Darrell, now i uderstand why getting error. And -static-rsls=false keep my build.xml much more clean and easy to read, and avoid configuration problems. Thanks again. Just one more question about flash player, why adobe don't put flex framework inside Flash Player? It will make Flex be amazing plataform even for small websites and app, confroting ajax in your best vantage on flex, the size of files without any first huge loading. Here i paste my build.xml file content for some day anyone had same questions: ?xml version=1.0 encoding=UTF-8? project name=PainelAdmApp default=compile property name=flex.mxmlc location=C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\bin\mxmlc.exe / property name=flashplayer location=C:\Program Files\Adobe\Flex Builder 3\Player\win\FlashPlayer.exe / property name=deploy.dir value=bin / target name=compile exec executable=${flex.mxmlc} dir=. failonerror=false failifexecutionfails=no arg line=PainelAdmApp.mxml -static- rsls=false -target-player=9.0.60 -services services-config.xml -link-report=PainelAdmAppReport.xml -output ${deploy.dir}/PainelAdmApp.swf / /exec exec executable=${flex.mxmlc} dir=. failonerror=false failifexecutionfails=no arg line=Admin.mxml -static-rsls=false - target-player=9.0.60 -load-externs=PainelAdmAppReport.xml -output ${deploy.dir}/Admin.swf / /exec exec executable=${flex.mxmlc} dir=. failonerror=false failifexecutionfails=no arg line=Equipamentos.mxml -static- rsls=false -target-player=9.0.60 -load-externs=PainelAdmAppReport.xml -output ${deploy.dir}/Equipamentos.swf / /exec exec executable=${flex.mxmlc} dir=. failonerror=false failifexecutionfails=no arg line=Servicos.mxml -static-rsls=false - target-player=9.0.60 -load-externs=PainelAdmAppReport.xml -output ${deploy.dir}/Servicos.swf / /exec exec executable=${flex.mxmlc} dir=. failonerror=false failifexecutionfails=no arg line=Mineradoras.mxml -static- rsls=false -target-player=9.0.60 -load-externs=PainelAdmAppReport.xml -output ${deploy.dir}/Mineradoras.swf / /exec exec executable=${flex.mxmlc} dir=. failonerror=false failifexecutionfails=no arg line=Links.mxml -static-rsls=false - target-player=9.0.60 -load-externs=PainelAdmAppReport.xml -output ${deploy.dir}/Links.swf / /exec exec executable=${flex.mxmlc} dir=. failonerror=false failifexecutionfails=no arg line=Headlines.mxml -static- rsls=false -target-player=9.0.60 -load-externs=PainelAdmAppReport.xml -output ${deploy.dir}/Headlines.swf / /exec /target /project --- In flexcoders@yahoogroups.com, Darrell Loverin darrell_loverin@ wrote: I clipped this output from entering mxmlc -help list details at the command line: -runtime-shared-library-path [path-element] [rsl-url] [policy- file- url] [rsl-url ] [policy-file-url] alias -rslp (repeatable) The first argument is a path to a swc. You supplied C:\3.0.0 \frameworks\rsls\framework_3.0.183453.swz which is incorrect. This file is an RSL. The second argument is an URL to the RSL: You supplied nothing which is why you got the error that an rsl-url is required. The easiest why to try out the framework RSLs is to use the Beta Flex 3 flex-config.xml and add static-rsls=false to the command line. This will use the preconfigured runtime-shared-library- path options setup in flex-config.xml. The preconfigured settings assume you will copy framework_3.0.183453.swz and framework_3.0.183453.swf from your sdk's framework RSLs directory to the same directory where your application is deployed. -Darrell --- In flexcoders@yahoogroups.com, danielvlopes danielvlopes@ wrote: Hello Darrell, i trying to do this: -runtime-shared-library-path=C:\3.0.0 \frameworks\rsls\framework_3.0.183453.swz,,framework_3.0.183453.swf -target-player=9.0.60 like you said, but i getting error: command line: Error: configuration variable 'runtime-shared-library-path' requires a value for 'rsl
[flexcoders] Re: Framework Caching not working
This looks correct. You don't need -target-player=9.0.60 but it is not hurting anything. -Darrell --- In flexcoders@yahoogroups.com, danielvlopes [EMAIL PROTECTED] wrote: The correct way is this: -runtime-shared-library-path=C:\3.0.0 \frameworks\libs\framework.swc,C:\3.0.0 \frameworks\rsls\framework_3.0.183453.swz,,framework_3.0.183453.swf -target-player=9.0.60 ? --- In flexcoders@yahoogroups.com, danielvlopes danielvlopes@ wrote: Hello Darrell, i trying to do this: -runtime-shared-library-path=C:\3.0.0 \frameworks\rsls\framework_3.0.183453.swz,,framework_3.0.183453.swf -target-player=9.0.60 like you said, but i getting error: command line: Error: configuration variable 'runtime-shared-library-path' requires a value for 'rsl-url' --- In flexcoders@yahoogroups.com, Darrell Loverin darrell_loverin@ wrote: Yes, that is a correct way of using a swz (signed by Adobe) RSL. The first URL is framework_3.0.183453.swz. Since there is no path, it means you are deploying framework_3.0.183453.swz in the same directory as your application. As was noted in a previous post, the rsls are located in the frameworks/rsls subdirectory of the SDK. The next parameter is the policy file URL which you have left blank since a policy file not needed to read framework_3.0.183453.swz. The next URL, framework_3.0.183453.swf, is the failover URL in case there is a problem reading framework_3.0.183453.swz. One problem could be the player trying to load framework_3.0.183453.swz is not version 9.0.60 or greater. If that is the case then framework_3.0.183453.swz will be skipped and framework_3.0.183453.swf will be downloaded. Since you have specified an unsigned swf RSL as a failover for the swz RSL, you don't need the -target-player option, but it is not hurting anything. What -target-player=9.0.60 does is tell the compiler that you are going to require player version 9.0.60 or higher in your html wrapper. This will stop the compiler from complaining if you specify a swz RSL without a swf RSL as a failover. -Darrell --- In flexcoders@yahoogroups.com, danielvlopes danielvlopes@ wrote: Hello Alex, Let me understand... the right way is using swz? Like this? exec executable=${flex.mxmlc} dir=. failonerror=false failifexecutionfails=no arg line=PainelAdmApp.mxml -runtime-shared-library-path=C:\3.0.0 \frameworks\libs\framework.swc,framework_3.0.183453.swz,,framework_3. 0.183453.swf -target-player=9.0.60 -services services-config.xml -link-report=PainelAdmAppReport.xml -output ${deploy.dir}/PainelAdmApp.swf / /exec Why i`m use ANT the .swf and .swz of framework is not generated? --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: I think the rsl line is supposed to look like this: -runtime-shared-library- path=C:\moxie\frameworks\libs\framework.swc,fram ework_3.0.183453.swz,,framework_3.0.183453.swf This signifies the use of a digital signature for the rsl which turns on the cross-domain rsl feature and requests that the rsl, if the signature is verifed, be stored in a special cache. Your syntax is used for regular rsls which are only stored in the browser cache. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danielvlopes Sent: Saturday, October 06, 2007 4:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Framework Caching not working Thanks again alex. :-) --- In flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com , Alex Harui aharui@ wrote: Sorry, I think the guy who owns this feature was on vacation this past week. I'll try to look at it if I get a chance. -Alex From: flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com ] On Behalf Of danielvlopes Sent: Saturday, October 06, 2007 1:23 PM To: flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com Subject: [flexcoders] Re: Framework Caching not working Some one can help?? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , danielvlopes danielvlopes@ wrote: My flash player is 9,0,60,235 Even i use Beta 2, caching still not working. I don't know why, some one can help? Something wrong with my buil.xml
[flexcoders] Re: Framework Caching not working
I clipped this output from entering mxmlc -help list details at the command line: -runtime-shared-library-path [path-element] [rsl-url] [policy-file- url] [rsl-url ] [policy-file-url] alias -rslp (repeatable) The first argument is a path to a swc. You supplied C:\3.0.0 \frameworks\rsls\framework_3.0.183453.swz which is incorrect. This file is an RSL. The second argument is an URL to the RSL: You supplied nothing which is why you got the error that an rsl-url is required. The easiest why to try out the framework RSLs is to use the Beta Flex 3 flex-config.xml and add static-rsls=false to the command line. This will use the preconfigured runtime-shared-library-path options setup in flex-config.xml. The preconfigured settings assume you will copy framework_3.0.183453.swz and framework_3.0.183453.swf from your sdk's framework RSLs directory to the same directory where your application is deployed. -Darrell --- In flexcoders@yahoogroups.com, danielvlopes [EMAIL PROTECTED] wrote: Hello Darrell, i trying to do this: -runtime-shared-library-path=C:\3.0.0 \frameworks\rsls\framework_3.0.183453.swz,,framework_3.0.183453.swf -target-player=9.0.60 like you said, but i getting error: command line: Error: configuration variable 'runtime-shared-library-path' requires a value for 'rsl-url' --- In flexcoders@yahoogroups.com, Darrell Loverin darrell_loverin@ wrote: Yes, that is a correct way of using a swz (signed by Adobe) RSL. The first URL is framework_3.0.183453.swz. Since there is no path, it means you are deploying framework_3.0.183453.swz in the same directory as your application. As was noted in a previous post, the rsls are located in the frameworks/rsls subdirectory of the SDK. The next parameter is the policy file URL which you have left blank since a policy file not needed to read framework_3.0.183453.swz. The next URL, framework_3.0.183453.swf, is the failover URL in case there is a problem reading framework_3.0.183453.swz. One problem could be the player trying to load framework_3.0.183453.swz is not version 9.0.60 or greater. If that is the case then framework_3.0.183453.swz will be skipped and framework_3.0.183453.swf will be downloaded. Since you have specified an unsigned swf RSL as a failover for the swz RSL, you don't need the -target-player option, but it is not hurting anything. What -target-player=9.0.60 does is tell the compiler that you are going to require player version 9.0.60 or higher in your html wrapper. This will stop the compiler from complaining if you specify a swz RSL without a swf RSL as a failover. -Darrell --- In flexcoders@yahoogroups.com, danielvlopes danielvlopes@ wrote: Hello Alex, Let me understand... the right way is using swz? Like this? exec executable=${flex.mxmlc} dir=. failonerror=false failifexecutionfails=no arg line=PainelAdmApp.mxml -runtime-shared-library-path=C:\3.0.0 \frameworks\libs\framework.swc,framework_3.0.183453.swz,,framework_3. 0.183453.swf -target-player=9.0.60 -services services-config.xml -link-report=PainelAdmAppReport.xml -output ${deploy.dir}/PainelAdmApp.swf / /exec Why i`m use ANT the .swf and .swz of framework is not generated? --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: I think the rsl line is supposed to look like this: -runtime-shared-library- path=C:\moxie\frameworks\libs\framework.swc,fram ework_3.0.183453.swz,,framework_3.0.183453.swf This signifies the use of a digital signature for the rsl which turns on the cross-domain rsl feature and requests that the rsl, if the signature is verifed, be stored in a special cache. Your syntax is used for regular rsls which are only stored in the browser cache. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danielvlopes Sent: Saturday, October 06, 2007 4:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Framework Caching not working Thanks again alex. :-) --- In flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com , Alex Harui aharui@ wrote: Sorry, I think the guy who owns this feature was on vacation this past week. I'll try to look at it if I get a chance. -Alex From: flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com ] On Behalf Of danielvlopes Sent: Saturday, October 06, 2007 1:23 PM To: flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com Subject: [flexcoders] Re: Framework Caching
[flexcoders] Re: Framework Caching not working
I wanted to modified/expand on my previous comment. In the Flex3 Beta, it is best to only specify -target-player if the compiler complains. The -target-player option implies you will require a minimum version of the player as specified in the option. So you should not specify -target-player=9.0.60 if you don't require that version of the player in your html-wrapper. --- In flexcoders@yahoogroups.com, Darrell Loverin [EMAIL PROTECTED] wrote: This looks correct. You don't need -target-player=9.0.60 but it is not hurting anything. -Darrell --- In flexcoders@yahoogroups.com, danielvlopes danielvlopes@ wrote: The correct way is this: -runtime-shared-library-path=C:\3.0.0 \frameworks\libs\framework.swc,C:\3.0.0 \frameworks\rsls\framework_3.0.183453.swz,,framework_3.0.183453.swf -target-player=9.0.60 ? --- In flexcoders@yahoogroups.com, danielvlopes danielvlopes@ wrote: Hello Darrell, i trying to do this: -runtime-shared-library-path=C:\3.0.0 \frameworks\rsls\framework_3.0.183453.swz,,framework_3.0.183453.swf -target-player=9.0.60 like you said, but i getting error: command line: Error: configuration variable 'runtime-shared-library-path' requires a value for 'rsl-url' --- In flexcoders@yahoogroups.com, Darrell Loverin darrell_loverin@ wrote: Yes, that is a correct way of using a swz (signed by Adobe) RSL. The first URL is framework_3.0.183453.swz. Since there is no path, it means you are deploying framework_3.0.183453.swz in the same directory as your application. As was noted in a previous post, the rsls are located in the frameworks/rsls subdirectory of the SDK. The next parameter is the policy file URL which you have left blank since a policy file not needed to read framework_3.0.183453.swz. The next URL, framework_3.0.183453.swf, is the failover URL in case there is a problem reading framework_3.0.183453.swz. One problem could be the player trying to load framework_3.0.183453.swz is not version 9.0.60 or greater. If that is the case then framework_3.0.183453.swz will be skipped and framework_3.0.183453.swf will be downloaded. Since you have specified an unsigned swf RSL as a failover for the swz RSL, you don't need the -target-player option, but it is not hurting anything. What -target-player=9.0.60 does is tell the compiler that you are going to require player version 9.0.60 or higher in your html wrapper. This will stop the compiler from complaining if you specify a swz RSL without a swf RSL as a failover. -Darrell --- In flexcoders@yahoogroups.com, danielvlopes danielvlopes@ wrote: Hello Alex, Let me understand... the right way is using swz? Like this? exec executable=${flex.mxmlc} dir=. failonerror=false failifexecutionfails=no arg line=PainelAdmApp.mxml -runtime-shared-library-path=C:\3.0.0 \frameworks\libs\framework.swc,framework_3.0.183453.swz,,framework_3. 0.183453.swf -target-player=9.0.60 -services services-config.xml -link-report=PainelAdmAppReport.xml -output ${deploy.dir}/PainelAdmApp.swf / /exec Why i`m use ANT the .swf and .swz of framework is not generated? --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: I think the rsl line is supposed to look like this: -runtime-shared-library- path=C:\moxie\frameworks\libs\framework.swc,fram ework_3.0.183453.swz,,framework_3.0.183453.swf This signifies the use of a digital signature for the rsl which turns on the cross-domain rsl feature and requests that the rsl, if the signature is verifed, be stored in a special cache. Your syntax is used for regular rsls which are only stored in the browser cache. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danielvlopes Sent: Saturday, October 06, 2007 4:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Framework Caching not working Thanks again alex. :-) --- In flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com , Alex Harui aharui@ wrote: Sorry, I think the guy who owns this feature was on vacation this past week. I'll try to look at it if I get a chance. -Alex From: flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com ] On Behalf