RE: [Flashcoders] stop caching
so if it is local - anyway to get around caching? From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Juan Pablo Califano [califa010.flashcod...@gmail.com] Sent: Thursday, December 09, 2010 9:03 PM To: Flash Coders List Subject: Re: [Flashcoders] stop caching If you are loading the swf directly from the file system (that is, localy) appending parameters to the querystring won't work because they'll be considered part of the file name. So those parameters will not be interpreted as such. In a http environment (i.e. a server, local or remote), on the other hand, the querystring will not be considered part of the file name. So yes, it's a local / server issue. Cheers Juan Pablo Califano 2010/12/9 Lehr, Theodore ted_l...@federal.dell.com I am trying to prevent caching via: function startLoad(dfile:String) { var ran:int = Math.round(Math.random()*10); var dfileb:String = new String(); dfileb = dfile+?ran=+ran; var mRequest:URLRequest=new URLRequest(dfileb); } startLoad(moive.swf); but I get an error 2044: Unhandled IOErrorEvent:text=Error #2035: URL Not Found What am I doing wrong? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] swf not compiling
Hi list... My CS5 fla is not not compiling at all. It publishes a blank stage with no errors. I looked around online for some tips and found Steve Sacks' suggestion about some corrupt library item. I've replaced all existing components with new components and trial and error deleted all the other library graphics but it's still not publishing. Anyone have any suggestions? No compile errors are thrown, so I have no idea where to start. Thanks, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: swf not compiling
Have you tried putting everything in a fresh new .fla? Sometimes .flas get corrupt. And are you using a document class? Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mendelsohn, Michael Sent: Friday, December 10, 2010 10:01 AM To: Flash Coders List Subject: [Flashcoders] swf not compiling Hi list... My CS5 fla is not not compiling at all. It publishes a blank stage with no errors. I looked around online for some tips and found Steve Sacks' suggestion about some corrupt library item. I've replaced all existing components with new components and trial and error deleted all the other library graphics but it's still not publishing. Anyone have any suggestions? No compile errors are thrown, so I have no idea where to start. Thanks, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to Sender are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: swf not compiling
Have you tried putting everything in a fresh new .fla? Sometimes .flas get corrupt. And are you using a document class? Hi Jason, thanks for responding. Yes, I'm using a document class. I haven't rebuilt the swf. I will try that. What's strange is that as of 10 minutes ago, it's compiling. But that has been no guarantee, as it has been periodically not compiling for about two days now. I thought it might have been a corrupted component or graphic, but that doesn't seem to be the case as meticulously deleting individual library members didn't make a difference in trying to publish. If I rebuild the fla, I want to make it as lightweight as possible. I've written 36 classes for this project, totaling 430kb, with a few more still to go. Additionally, I'm importing some third party classes. I'm wondering if I'm running into some undocumented as3 code limit. One thing I was wondering about but can't find documentation is in the Advanced ActionScript 3.0 Settings panel in publish settings. I have no idea about the source path/library path/config constants tabs, but maybe it's sucking in too much to handle? When it decides it wants to compile, it takes a very long time to do so. - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: swf not compiling
What happens when you put a trace in your Document class? And you're sure the document class is still linked to the .fla? (properties panel) Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mendelsohn, Michael Sent: Friday, December 10, 2010 10:40 AM To: Flash Coders List Subject: [Flashcoders] RE: swf not compiling Have you tried putting everything in a fresh new .fla? Sometimes .flas get corrupt. And are you using a document class? Hi Jason, thanks for responding. Yes, I'm using a document class. I haven't rebuilt the swf. I will try that. What's strange is that as of 10 minutes ago, it's compiling. But that has been no guarantee, as it has been periodically not compiling for about two days now. I thought it might have been a corrupted component or graphic, but that doesn't seem to be the case as meticulously deleting individual library members didn't make a difference in trying to publish. If I rebuild the fla, I want to make it as lightweight as possible. I've written 36 classes for this project, totaling 430kb, with a few more still to go. Additionally, I'm importing some third party classes. I'm wondering if I'm running into some undocumented as3 code limit. One thing I was wondering about but can't find documentation is in the Advanced ActionScript 3.0 Settings panel in publish settings. I have no idea about the source path/library path/config constants tabs, but maybe it's sucking in too much to handle? When it decides it wants to compile, it takes a very long time to do so. - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to Sender are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: swf not compiling
Yes, the document class is still linked. And tracing in the document class did nothing. The fla just flat out doesn't periodically compile. No errors. Nothing. I tried putting a breakpoint on the first line of executable code in the document class, and that didn't do anything either. - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: swf not compiling
Your best bet might be same project, different .fla (or pure AS3 project in Flashbuilder). If that fails, not sure - re-install Flash Pro? Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mendelsohn, Michael Sent: Friday, December 10, 2010 10:59 AM To: Flash Coders List Subject: [Flashcoders] RE: swf not compiling Yes, the document class is still linked. And tracing in the document class did nothing. The fla just flat out doesn't periodically compile. No errors. Nothing. I tried putting a breakpoint on the first line of executable code in the document class, and that didn't do anything either. - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to Sender are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: swf not compiling
Or as was suggested, perhaps one or more of your library items have become corrupt and need replacing. I've had not the same, but similar issues in the past, and a fresh .fla usually seemed to fix it for me. Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: Friday, December 10, 2010 12:55 PM To: Flash Coders List Subject: [Flashcoders] RE: swf not compiling Your best bet might be same project, different .fla (or pure AS3 project in Flashbuilder). If that fails, not sure - re-install Flash Pro? Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mendelsohn, Michael Sent: Friday, December 10, 2010 10:59 AM To: Flash Coders List Subject: [Flashcoders] RE: swf not compiling Yes, the document class is still linked. And tracing in the document class did nothing. The fla just flat out doesn't periodically compile. No errors. Nothing. I tried putting a breakpoint on the first line of executable code in the document class, and that didn't do anything either. - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to Sender are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to Sender are references to
[Flashcoders] RE: swf not compiling
Your best bet might be same project, different .fla (or pure AS3 project in Flashbuilder). If that fails, not sure - re-install Flash Pro? Thanks Jason. For the past three hours, it has been compiling. I'm going to take the keep my fingers crossed approach. If it blows up again, I'll take your advice on rebuilding the fla. In the meantime, enjoy the rest of the day and weekend! - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: swf not compiling
I've written 36 classes for this project, totaling 430kb, with a few more still to go. Additionally, I'm importing some third party classes. I'm wondering if I'm running into some undocumented as3 code limit. Oh, thinking about this more, I should have mentioned. Flash CS5 is HORRIBLE with a lot of code. They've taken a step back there. I don't know why I forgot this when you asked, but I recently had to switch one project over to a pure AS3 project in Flashbuilder. The old project (which had a similar amount of code and third party libraries) would crash often and take for-ev-ah to compile. When I switched to Flashbuilder, it compiled in seconds and had no issues. In short, the Flash Pro compiler sucks. If you've kept all your code in classes and can switch over to a pure AS3 project in Flashbuilder, I would. Might mean re-doing how you handle your library assets, but could be worth it. Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mendelsohn, Michael Sent: Friday, December 10, 2010 10:40 AM To: Flash Coders List Subject: [Flashcoders] RE: swf not compiling Have you tried putting everything in a fresh new .fla? Sometimes .flas get corrupt. And are you using a document class? Hi Jason, thanks for responding. Yes, I'm using a document class. I haven't rebuilt the swf. I will try that. What's strange is that as of 10 minutes ago, it's compiling. But that has been no guarantee, as it has been periodically not compiling for about two days now. I thought it might have been a corrupted component or graphic, but that doesn't seem to be the case as meticulously deleting individual library members didn't make a difference in trying to publish. If I rebuild the fla, I want to make it as lightweight as possible. I've written 36 classes for this project, totaling 430kb, with a few more still to go. Additionally, I'm importing some third party classes. I'm wondering if I'm running into some undocumented as3 code limit. One thing I was wondering about but can't find documentation is in the Advanced ActionScript 3.0 Settings panel in publish settings. I have no idea about the source path/library path/config constants tabs, but maybe it's sucking in too much to handle? When it decides it wants to compile, it takes a very long time to do so. - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to Sender are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: swf not compiling
That would be a brilliant suggestion, however, I've never used Flashbuilder/Flex before. My project is mostly purely code, just a few visual assets, but it would probably take me some time to learn my way around the software. :-( But, what you mention below sounds pretty accurate to what I'm experiencing. question rhetorical=trueI wonder how it is that upgrades can take a step backwards? /question - MM I've written 36 classes for this project, totaling 430kb, with a few more still to go. Additionally, I'm importing some third party classes. I'm wondering if I'm running into some undocumented as3 code limit. Oh, thinking about this more, I should have mentioned. Flash CS5 is HORRIBLE with a lot of code. They've taken a step back there. I don't know why I forgot this when you asked, but I recently had to switch one project over to a pure AS3 project in Flashbuilder. The old project (which had a similar amount of code and third party libraries) would crash often and take for-ev-ah to compile. When I switched to Flashbuilder, it compiled in seconds and had no issues. In short, the Flash Pro compiler sucks. If you've kept all your code in classes and can switch over to a pure AS3 project in Flashbuilder, I would. Might mean re-doing how you handle your library assets, but could be worth it. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: swf not compiling
I've never used Flashbuilder/Flex before. My project is mostly purely code, just a few visual assets, but it would probably take me some time to learn my way around the software. :-( It's not that hard to set up really. You just create a pure AS3 project and point Flashbuilder to your main document as the class to build from (right click on the class, select Set as Default Application). You can then bring in your library assets using [Embed] tags or using the Loader class. There is documentation on how to use the Embed tags - it's easy. Do you own a copy? Worth a shot at least. Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mendelsohn, Michael Sent: Friday, December 10, 2010 1:14 PM To: Flash Coders List Subject: [Flashcoders] RE: swf not compiling That would be a brilliant suggestion, however, I've never used Flashbuilder/Flex before. My project is mostly purely code, just a few visual assets, but it would probably take me some time to learn my way around the software. :-( But, what you mention below sounds pretty accurate to what I'm experiencing. question rhetorical=trueI wonder how it is that upgrades can take a step backwards? /question - MM I've written 36 classes for this project, totaling 430kb, with a few more still to go. Additionally, I'm importing some third party classes. I'm wondering if I'm running into some undocumented as3 code limit. Oh, thinking about this more, I should have mentioned. Flash CS5 is HORRIBLE with a lot of code. They've taken a step back there. I don't know why I forgot this when you asked, but I recently had to switch one project over to a pure AS3 project in Flashbuilder. The old project (which had a similar amount of code and third party libraries) would crash often and take for-ev-ah to compile. When I switched to Flashbuilder, it compiled in seconds and had no issues. In short, the Flash Pro compiler sucks. If you've kept all your code in classes and can switch over to a pure AS3 project in Flashbuilder, I would. Might mean re-doing how you handle your library assets, but could be worth it. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to Sender are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] stop caching
If this is a web project, just have a local server on your PC and test using that, then deploy to the remote server. You can always clear the browser cache. Paul On 10/12/2010 14:56, Lehr, Theodore wrote: so if it is local - anyway to get around caching? From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Juan Pablo Califano [califa010.flashcod...@gmail.com] Sent: Thursday, December 09, 2010 9:03 PM To: Flash Coders List Subject: Re: [Flashcoders] stop caching If you are loading the swf directly from the file system (that is, localy) appending parameters to the querystring won't work because they'll be considered part of the file name. So those parameters will not be interpreted as such. In a http environment (i.e. a server, local or remote), on the other hand, the querystring will not be considered part of the file name. So yes, it's a local / server issue. Cheers Juan Pablo Califano 2010/12/9 Lehr, Theodoreted_l...@federal.dell.com I am trying to prevent caching via: function startLoad(dfile:String) { var ran:int = Math.round(Math.random()*10); var dfileb:String = new String(); dfileb = dfile+?ran=+ran; var mRequest:URLRequest=new URLRequest(dfileb); } startLoad(moive.swf); but I get an error 2044: Unhandled IOErrorEvent:text=Error #2035: URL Not Found What am I doing wrong? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Where to start: Video player with pre-roll and tracking?
Hello, The company I worked for used to use Brightcove for their video hosting... Long story short, we ditched BC because they were just too darned expensive. My question(s): How would I go about implementing a video player that has pre-roll videos? We would probably use our ad serving software, OAS, for the tracking. Currently, we host all of our videos on Amazon S3, and use a basic flash video player to download and progressively play our videos. In order to pre-roll ads, is that best done via RTMP (vs. progressively downoading)? Would RED5 [1] be a good starting point? Can anyone here suggest any (other) free/open source solutions? What about free hosted solutions (i.e. does youtube or vimeo allow folks to monetize thier ads)? I don't mind getting my hands dirty, I just need a kick in the right direction. :) Many thanks in advance! Have a great day! Cheers, Micky ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: swf not compiling
OK, back to square one. It's not compiling again. No errors. I've rebuilt a new fla from scratch, and brought in all the assets from the other library. Still nothing. This is going to be the death of me. - MM I've never used Flashbuilder/Flex before. My project is mostly purely code, just a few visual assets, but it would probably take me some time to learn my way around the software. :-( It's not that hard to set up really. You just create a pure AS3 project and point Flashbuilder to your main document as the class to build from (right click on the class, select Set as Default Application). You can then bring in your library assets using [Embed] tags or using the Loader class. There is documentation on how to use the Embed tags - it's easy. Do you own a copy? Worth a shot at least. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] RE: swf not compiling
I did once get some really bizarre behaviour with a project that had a MovieClip in the library linked to a class but with a misspelt class name. Things just weren't happening and the IDE had conveniently constructed a class for me that did nothing. Meanwhile I was trying to work with classes that weren't being called. Maybe totally unrelated. Paul On 10/12/2010 21:09, Mendelsohn, Michael wrote: OK, back to square one. It's not compiling again. No errors. I've rebuilt a new fla from scratch, and brought in all the assets from the other library. Still nothing. This is going to be the death of me. - MM I've never used Flashbuilder/Flex before. My project is mostly purely code, just a few visual assets, but it would probably take me some time to learn my way around the software. :-( It's not that hard to set up really. You just create a pure AS3 project and point Flashbuilder to your main document as the class to build from (right click on the class, select Set as Default Application). You can then bring in your library assets using [Embed] tags or using the Loader class. There is documentation on how to use the Embed tags - it's easy. Do you own a copy? Worth a shot at least. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] RE: swf not compiling
I know this doesn't add any value to the problem discussed here, but if you don't mind this little rant, I'd like to point out that the Flash IDE has gotten worse with every major release (to me at least). And I haven't tried CS5 yet. Seriously, the last usable one was probably Flash 8. Thank godness, I use the IDE very sparingly and somehow got used to the asinine way CS3 handles panels; CS4 impressed me as even worse in this and other UI aspects, and much slower (it kind of makes Eclipse look slick, which is quite an accomplishment) so I try to avoid it as much as I can. I know my opinion is a bit biased since I don't take advantage of the new features they've added for designers (I only do some minor tweaks to fla's, just enough to make it possible to control assets from code). Nevertheless, it's horrendously clunky and slow (just opening the code panel to put a stop() or something takes seconds the first time). However, CS4 uses the Flex SDK Java compiler and I'm sure CS5 does too, so I guess it's probably not a compiler issue, just that the IDE is buggy and unstable. Given its evolution and the quality of the last few major versions, I'm not surprised, sadly. Cheers Juan Pablo Califano 2010/12/10 Merrill, Jason jason.merr...@bankofamerica.com I've written 36 classes for this project, totaling 430kb, with a few more still to go. Additionally, I'm importing some third party classes. I'm wondering if I'm running into some undocumented as3 code limit. Oh, thinking about this more, I should have mentioned. Flash CS5 is HORRIBLE with a lot of code. They've taken a step back there. I don't know why I forgot this when you asked, but I recently had to switch one project over to a pure AS3 project in Flashbuilder. The old project (which had a similar amount of code and third party libraries) would crash often and take for-ev-ah to compile. When I switched to Flashbuilder, it compiled in seconds and had no issues. In short, the Flash Pro compiler sucks. If you've kept all your code in classes and can switch over to a pure AS3 project in Flashbuilder, I would. Might mean re-doing how you handle your library assets, but could be worth it. Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto: flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mendelsohn, Michael Sent: Friday, December 10, 2010 10:40 AM To: Flash Coders List Subject: [Flashcoders] RE: swf not compiling Have you tried putting everything in a fresh new .fla? Sometimes .flas get corrupt. And are you using a document class? Hi Jason, thanks for responding. Yes, I'm using a document class. I haven't rebuilt the swf. I will try that. What's strange is that as of 10 minutes ago, it's compiling. But that has been no guarantee, as it has been periodically not compiling for about two days now. I thought it might have been a corrupted component or graphic, but that doesn't seem to be the case as meticulously deleting individual library members didn't make a difference in trying to publish. If I rebuild the fla, I want to make it as lightweight as possible. I've written 36 classes for this project, totaling 430kb, with a few more still to go. Additionally, I'm importing some third party classes. I'm wondering if I'm running into some undocumented as3 code limit. One thing I was wondering about but can't find documentation is in the Advanced ActionScript 3.0 Settings panel in publish settings. I have no idea about the source path/library path/config constants tabs, but maybe it's sucking in too much to handle? When it decides it wants to compile, it takes a very long time to do so. - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in