Re: [Flashcoders] API Interface in SWC...
API's tend to be exposed through Interfaces. This allows you to program agains an interface, keeping the implementation (concrete class) out of sight. You wrote: *sumTwoNumbers(numA, numB) { baseApp.sumTwoNumbers(numA,numB) }* You should make sure that baseApp is typed as an interface (for example IBaseApp). Make sure that the BaseApp class implements IBaseApp. The IBaseApp would look like this: *public interface IBaseApp { function sumTwoNumbers(numA:Number, numB:Number):Number; }* I hope this helps you. Greetz Erik On 5/27/08, Helmut Granda [EMAIL PROTECTED] wrote: I am creating a SWC file that will be given to the client with the basic API that they can use to reference to the main application. It all makes sense in my mind and in writing (create the methods that delegate to the main application). I have a basic format working but in order for it to work I have to include the classes that will handle all the process and that is what I am trying to avoid since we want full control of the base methods used within the application. For example: API: sumTwoNumbers(numA, numB) { baseApp.sumTwoNumbers(numA,numB) } but in order for this to work i need to import baseApp class or else i will get compile errors. My second option would be to dispatch events when necessary: sumTwoNumbers(numA, numB){ dispatchEvent(new CustomEvent ( CustomEvent.sumTwoNumbers, numA, numB)) } But i am not sure if this is the appropriate approach. Could some one that has dealt with similar situations share some wisdom here? TIA ___ 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] Powerpoint to swf
What are my best options for encoding individual slides (the complete presentation) to separates swfs? Would my options change if the controlling code were in As2 or AS3? Currently I realise that loading a converted AS2 swf into an AS3 project won't allow me to pause the swf mid-flight. Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Cross domain AS3
I guess you need a crossdomain.xml file on your server: http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html Romu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SJM Sent: 29 May 2008 10:12 To: Flash Coders List Subject: [Flashcoders] Cross domain AS3 Hi Guys My question; Is it possible in an XML file, to have an absolute link to an image ie. /banner/flash/uploadedimage/45/sunset.jpg. I need the url to be capable of being absolute and to contain the domain e.g. http://www.mydomain.co.uk/banner/flash/uploadedimage/45/sunset.jpg I currently have it set up but the image does not show. It only shows if the url is relative ie. uploadedimage/45/sunset.jpg SJM ___ 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] Cross domain AS3
Hi Guys My question; Is it possible in an XML file, to have an absolute link to an image ie. /banner/flash/uploadedimage/45/sunset.jpg. I need the url to be capable of being absolute and to contain the domain e.g. http://www.mydomain.co.uk/banner/flash/uploadedimage/45/sunset.jpg I currently have it set up but the image does not show. It only shows if the url is relative ie. uploadedimage/45/sunset.jpg SJM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: SALE 86% OFF
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash banner / layer on top - clickthrough?
Hi all, What's the latest status on transparent flash banners/layers? Can you click through them to the underlaying HTML? Thought it wasn't possible, but came across an example that worked in IE7. On Firefox it wasn't possible, although I thought sometimes it showed some kind of behaviour that would suggest clickthroughs. So what's the status? And how does the Flash layer needs to be embedded... I thought wmode was a key element... Sorry for me being lost here... Regards, Sander ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Assets quality Question.
it's the same, when I use small vector assets, they use to be blurry, and I think they are the reason of less performance when doing motion tweens. On 5/28/08, Glen Pike [EMAIL PROTECTED] wrote: Could you not use vector assets? Omar Fouad wrote: What do you mean by Crisp. On 5/27/08, leolea [EMAIL PROTECTED] wrote: Make sure your graphics are on full pixels. Not ony the graphics, but also their containers and the containers of their containers, and so on. ex: You have navMc.pixelButtonMc ( pixelButtonMc is contained in navMc ) pixelButtonMc.x = 10; ... but navMc.x = 5.6; result: pixelButtonMc will not be crisp. Also, make sure your PNG or JPG is crisp at the source. Drawing in photoshop using the pencil tool with a 1px brush size helps. On 27/05/08 13:12, Omar Fouad [EMAIL PROTECTED] wrote: Why no one is answering to me On Tue, May 27, 2008 at 2:39 AM, Omar Fouad [EMAIL PROTECTED] wrote: List, I was Checking out this site www.nalden.net and I found out how clear are the assets used in it. I tried to create similar assets but they always look blurry or ruined. I tried PNGs and JPGs but I get the same result. I use pixel fonts, and I put them in rounded x and y in order not to get them blurry. But how can I do this with assets? Look at the site, it sounds like some of the assets like the bootom bar buttons or the buttons in the upper hidden menu, are made of pixels just like pixel fonts, so they look so perfect and pleasant. What is the trick? How can I get a similar result? Cordially. -- Omar M. Fouad - Digital Emotions http://www.omarfouad.net This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Omar M. Fouad - Digital Emotions http://www.omarfouad.net This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 - Dynamic Variable?
Another one for you... I am having some trouble with dynamic variables, basically I expect this['xmlClass.xmlData.RecImageW' + 1] to mean xmlClass.xmlData.RecImageW1, but it seems it does not? // VALUES xmlClass.xmlData.RecImageW1 = 120; xmlClass.xmlData.RecImageW2 = 1220; xmlClass.xmlData.RecImageW3 = 3; xmlClass.xmlData.RecImageW4 = 23; xmlClass.xmlData.RecImageW5 = 222; for (var i = 1; i = 5; i++) { trace( this['xmlClass.xmlData.RecImageW' + i] ); } // OUTPUT SHOULD BE 120 1220 3 23 222 xmlData is type XML in the class xmlClass, it is set as public and tracing xmlClass.xmlData.RecImageW1 works so I know I can access the value, I just need a method that will loop through all of the variables and trace them. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 - Dynamic Variable?
for (var i=1; i=5; i++) { trace(this.xmlClass.xmlData[RecImageW+i]); } should work hth, cedric Another one for you... I am having some trouble with dynamic variables, basically I expect this['xmlClass.xmlData.RecImageW' + 1] to mean xmlClass.xmlData.RecImageW1, but it seems it does not? // VALUES xmlClass.xmlData.RecImageW1 = 120; xmlClass.xmlData.RecImageW2 = 1220; xmlClass.xmlData.RecImageW3 = 3; xmlClass.xmlData.RecImageW4 = 23; xmlClass.xmlData.RecImageW5 = 222; for (var i = 1; i = 5; i++) { trace( this['xmlClass.xmlData.RecImageW' + i] ); } // OUTPUT SHOULD BE 120 1220 3 23 222 xmlData is type XML in the class xmlClass, it is set as public and tracing xmlClass.xmlData.RecImageW1 works so I know I can access the value, I just need a method that will loop through all of the variables and trace them. ___ 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] Letter spacing in input fields, is it possible?
Hi List, Does anyone know if it is possible to have letter spacing in an input field (a field where you type in text) in AS3. I know you can do it on a dynamic or a normal textfield. I also tried in the IDE, but that does not work. (with embedded font) The code i have is this, it all works except the letterSpacing: searchFieldCountry_txt = new TextField( ); searchFieldCountry_txt.type = TextFieldType.INPUT; searchFieldCountry_txt.antiAliasType = AntiAliasType.ADVANCED; searchFieldCountry_txt.embedFonts = true; searchFieldCountry_txt.border = false; searchFieldCountry_txt.x = 340; searchFieldCountry_txt.y = 38; searchFieldCountry_txt.width = 175; searchFieldCountry_txt.height = 25; var formatInput:TextFormat = new TextFormat( ); formatInput.font = AvantGardeLight; formatInput.color = 0x00; format.letterSpacing = 1; formatInput.size = 14; searchFieldCountry_txt.defaultTextFormat = formatInput; I hope somebody has experience with this, Thanks in advance, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Letter spacing in input fields, is it possible?
I am not 100% on whether letter-spacing works as I have not tried it, but you may have to reapply the format each time the text in the input field is changed. Add a change listener Sidney de Koning wrote: Hi List, Does anyone know if it is possible to have letter spacing in an input field (a field where you type in text) in AS3. I know you can do it on a dynamic or a normal textfield. I also tried in the IDE, but that does not work. (with embedded font) The code i have is this, it all works except the letterSpacing: searchFieldCountry_txt = new TextField( ); searchFieldCountry_txt.type = TextFieldType.INPUT; searchFieldCountry_txt.antiAliasType = AntiAliasType.ADVANCED; searchFieldCountry_txt.embedFonts = true; searchFieldCountry_txt.border = false; searchFieldCountry_txt.x = 340; searchFieldCountry_txt.y = 38; searchFieldCountry_txt.width = 175; searchFieldCountry_txt.height = 25; var formatInput:TextFormat = new TextFormat( ); formatInput.font = AvantGardeLight; formatInput.color = 0x00; format.letterSpacing = 1; formatInput.size = 14; searchFieldCountry_txt.defaultTextFormat = formatInput; I hope somebody has experience with this, Thanks in advance, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Understanding Error 2036
%SYSTEMROOT%:\Documents and Settings\username\Application Data\Macromedia\Flash Player\Logs hmm yeah, not on my machine, and I have the flash 9 debug player. I also saw the Adobe article to fix it if the log file isn't being created, but I'm not going to mess with all that on my system to test Helmut's example. Let us know what you find out. Is there a reason you need to use the log file instead of the IDE debugger messages? Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash banner / layer on top - clickthrough?
Could you show us the example you came across? You can always set up your SWF to talk to JS and then to the underlying HTML. On Thu, May 29, 2008 at 5:49 AM, Sander Schuurman [EMAIL PROTECTED] wrote: Hi all, What's the latest status on transparent flash banners/layers? Can you click through them to the underlaying HTML? Thought it wasn't possible, but came across an example that worked in IE7. On Firefox it wasn't possible, although I thought sometimes it showed some kind of behaviour that would suggest clickthroughs. So what's the status? And how does the Flash layer needs to be embedded... I thought wmode was a key element... Sorry for me being lost here... Regards, Sander ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flex or Flash better for this?
Hi there, I'm starting work on a project that displays information from a database, generating text fields and loading swf clips and pngs dynamically with the layout defined in the data passed from the database (this will specify an xml file from a library that holds the layout for the page that will display the content). I was going to build this using a bunch of classes in Flash in AS3 and have started planning this out but then wondered if it might be simpler to do this in Flex as it uses XML to define the layout (though I am thinking of using a library of xml files containing spefic layouts for each page). I have little experience of using Flex and lots of experience using Flash AS2 3. I imagine that it's possible to update the MXML on the fly to generate new text fields and specify their properties as well as loading SWFs dynamically. My questions are; 1) is it easy to update the MXML dynamically to generate textfields and movieclips that display loaded SWFs /PNGs? 2) if so, can anyone point me to some tutorials that might help? 3) what are the benefits of doing this in Flex rather than Flash CS3? Cheers guys and girls, Ali ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Flash banner / layer on top - clickthrough?
This is the example. http://www.bandbreed.nl/client/clubmed/ takes quit a while to load! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Thursday, 29 May 2008 16:39 To: Flash Coders List Subject: Re: [Flashcoders] Flash banner / layer on top - clickthrough? Could you show us the example you came across? You can always set up your SWF to talk to JS and then to the underlying HTML. On Thu, May 29, 2008 at 5:49 AM, Sander Schuurman [EMAIL PROTECTED] wrote: Hi all, What's the latest status on transparent flash banners/layers? Can you click through them to the underlaying HTML? Thought it wasn't possible, but came across an example that worked in IE7. On Firefox it wasn't possible, although I thought sometimes it showed some kind of behaviour that would suggest clickthroughs. So what's the status? And how does the Flash layer needs to be embedded... I thought wmode was a key element... Sorry for me being lost here... Regards, Sander ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ 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] Understanding Error 2036
hmm yeah, not on my machine, and I have the flash 9 debug player. I also saw the Adobe article to fix it if the log file isn't being created, You can also just create the folder and an empty file flashlog.txt and that should fix the issue. but I'm not going to mess with all that on my system to test Helmut's example. Let us know what you find out. No problem, thanks for trying though. Is there a reason you need to use the log file instead of the IDE debugger messages? Most of the stuff I work on ends up on the web or uses some type of server side communication where I can only test on a server. In those cases I can still catch some trace statements from the browser by looking at the flashlog file and see where the application needs some adjustment or if everything has been successful. ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Flex or Flash better for this?
1) is it easy to update the MXML dynamically to generate textfields and movieclips that display loaded SWFs /PNGs? Sure you can build MXML on the fly with a server app, but you still have to compile the MXML into a .swf... so unless you automate that (which you can, but it's overkill for what you're doing) that's not a good option for you. However, you can use repeater elements in MXML to generate dynamic numbers of textfields, .swfs, etc. with dynamic properties. 3) what are the benefits of doing this in Flex rather than Flash CS3? If you can pick up Flex, laying out the UI can be much easier, and the databinding in Flex is awesome (imagine, in flex, if the dataprovider changes, it automatically adds or removes textfields or whatever to relfex the data). However, you've got a learning curve with Flex. It really depends on how ready you are to pick up Flex and learn it. Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Understanding Error 2036
You can also just create the folder and an empty file flashlog.txt and that should fix the issue. Nope. I did that, created a flashlog.txt in the folder described by Glex, created new Flash file with your sample code, put a png file next to it called layout.png and when I run the .fla, my Flash IDE crashes completely. I think the better course of action is to follow the directions on Adobe's site to fix the log file issue. Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Understanding Error 2036
ouch I didn't know you would get that reaction from flash. Sorry for giving you misleading information for your case. At work that is what we all do when the flashlog is created and never had that issue. Thanks for the heads up! I let you all know what I find out. On Thu, May 29, 2008 at 10:28 AM, Merrill, Jason [EMAIL PROTECTED] wrote: You can also just create the folder and an empty file flashlog.txt and that should fix the issue. Nope. I did that, created a flashlog.txt in the folder described by Glex, created new Flash file with your sample code, put a png file next to it called layout.png and when I run the .fla, my Flash IDE crashes completely. I think the better course of action is to follow the directions on Adobe's site to fix the log file issue. Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flex or Flash better for this?
Flex mxml is compiled into a swf and that is run - the mxml is not normally deployed, so dynamic updating of mxml is not normally done (there are server-side solutions to do that, but I wouldn't recommend them). Given what you've said about your application, unless you are able to use the flex components for your interface (by that I mean UI widgets from the component library), there's little to be gained from using Flex. If the UI that you are constructing from the XML could use the layout managers from Flex, then you could save yourself a lot of hassle rolling your own layout manager. So it all depends on how you plan to construct the UI - if you can use the layout managers from Flex and better still use the UI widgets, then Flex will help you. If your just constructingan interface with simple components placed at absolute positions then Flex won't help that much. I'm not sure if that helps or not. Take a look at the Flex component explorer ( http://examples.adobe.com/flex3/componentexplorer/explorer.html ) and see if you can make use of anything there in your application. Anything that can be done using MXML can be done in actionscript with Flex. If you are familiar with flash, but not Flex, it's going to take longer first time around if you're learning flex on this job. Paul - Original Message - From: Ali Drongo [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, May 29, 2008 4:03 PM Subject: [Flashcoders] Flex or Flash better for this? Hi there, I'm starting work on a project that displays information from a database, generating text fields and loading swf clips and pngs dynamically with the layout defined in the data passed from the database (this will specify an xml file from a library that holds the layout for the page that will display the content). I was going to build this using a bunch of classes in Flash in AS3 and have started planning this out but then wondered if it might be simpler to do this in Flex as it uses XML to define the layout (though I am thinking of using a library of xml files containing spefic layouts for each page). I have little experience of using Flex and lots of experience using Flash AS2 3. I imagine that it's possible to update the MXML on the fly to generate new text fields and specify their properties as well as loading SWFs dynamically. My questions are; 1) is it easy to update the MXML dynamically to generate textfields and movieclips that display loaded SWFs /PNGs? 2) if so, can anyone point me to some tutorials that might help? 3) what are the benefits of doing this in Flex rather than Flash CS3? Cheers guys and girls, Ali ___ 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] Letter spacing in input fields, is it possible?
Maybe a typo error? Check your code: var formatInput:TextFormat = new TextFormat( ); formatInput.font = AvantGardeLight; formatInput.color = 0x00; format.letterSpacing = 1; formatInput.size = 14; searchFieldCountry_txt.defaultTextFormat = formatInput; See that you used format instead of formatInput for letterSpacing. On Thu, May 29, 2008 at 9:36 AM, Glen Pike [EMAIL PROTECTED] wrote: I am not 100% on whether letter-spacing works as I have not tried it, but you may have to reapply the format each time the text in the input field is changed. Add a change listener Sidney de Koning wrote: Hi List, Does anyone know if it is possible to have letter spacing in an input field (a field where you type in text) in AS3. I know you can do it on a dynamic or a normal textfield. I also tried in the IDE, but that does not work. (with embedded font) The code i have is this, it all works except the letterSpacing: searchFieldCountry_txt = new TextField( ); searchFieldCountry_txt.type = TextFieldType.INPUT; searchFieldCountry_txt.antiAliasType = AntiAliasType.ADVANCED; searchFieldCountry_txt.embedFonts = true; searchFieldCountry_txt.border = false; searchFieldCountry_txt.x = 340; searchFieldCountry_txt.y = 38; searchFieldCountry_txt.width = 175; searchFieldCountry_txt.height = 25; var formatInput:TextFormat = new TextFormat( ); formatInput.font = AvantGardeLight; formatInput.color = 0x00; format.letterSpacing = 1; formatInput.size = 14; searchFieldCountry_txt.defaultTextFormat = formatInput; I hope somebody has experience with this, Thanks in advance, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ 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] FLV playing faster than it should
Hi! I'm having a strange issue with FLV in 3 recent projects and I don't have any idea about why this is happening. The problem is that when I pause a FLV stream and then unpause it, it plays much faster then it should until certain point, and then normalize. Seens that it plays fast until it reachs the point that it should be if it wasnt paused, and then it normalizes and plays normally. The most weird thing is that I'm using 3 diferent ways to play the FLV in each project: 1. AS3 NetStream; 2. AS2 NetStream; 3. AS2 FLVPlayback component (original component, no subclass). The problem happened on the 3 situations above and the all the 3 FLVs was compressed using the on2vp6 encoder of the Adobe Flash CS3 Video Encoder. Have anybody gone through this before? Thank you! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] SOLVED: Letter spacing in input fields, is it possible?
Been working to much and too long! Thanks for the tip, it worked :) Cheers, Sid On May 29, 2008, at 7:23 PM, Matheus Gorino wrote: Maybe a typo error? Check your code: var formatInput:TextFormat = new TextFormat( ); formatInput.font = AvantGardeLight; formatInput.color = 0x00; format.letterSpacing = 1; formatInput.size = 14; searchFieldCountry_txt.defaultTextFormat = formatInput; See that you used format instead of formatInput for letterSpacing. On Thu, May 29, 2008 at 9:36 AM, Glen Pike [EMAIL PROTECTED] wrote: I am not 100% on whether letter-spacing works as I have not tried it, but you may have to reapply the format each time the text in the input field is changed. Add a change listener Sidney de Koning wrote: Hi List, Does anyone know if it is possible to have letter spacing in an input field (a field where you type in text) in AS3. I know you can do it on a dynamic or a normal textfield. I also tried in the IDE, but that does not work. (with embedded font) The code i have is this, it all works except the letterSpacing: searchFieldCountry_txt = new TextField( ); searchFieldCountry_txt.type = TextFieldType.INPUT; searchFieldCountry_txt.antiAliasType = AntiAliasType.ADVANCED; searchFieldCountry_txt.embedFonts = true; searchFieldCountry_txt.border = false; searchFieldCountry_txt.x = 340; searchFieldCountry_txt.y = 38; searchFieldCountry_txt.width = 175; searchFieldCountry_txt.height = 25; var formatInput:TextFormat = new TextFormat( ); formatInput.font = AvantGardeLight; formatInput.color = 0x00; format.letterSpacing = 1; formatInput.size = 14; searchFieldCountry_txt.defaultTextFormat = formatInput; I hope somebody has experience with this, Thanks in advance, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ 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] full screen
Hi Everbody can anyone tell me how to make button from flash to make the movie fullscreen and in same time hide thr bars like title bar and the address bar like this site http://www.asylum.fr/#/accueil/ in this site there is btn down when click on it all the bars will hide . Bassam ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] full screen
http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html On Thu, May 29, 2008 at 1:57 PM, sense co moh [EMAIL PROTECTED] wrote: Hi Everbody can anyone tell me how to make button from flash to make the movie fullscreen and in same time hide thr bars like title bar and the address bar like this site http://www.asylum.fr/#/accueil/ in this site there is btn down when click on it all the bars will hide . Bassam ___ 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] Firefox popup blocker and flash 9
Turning on popup blocker shouldn't block user initiated clicks that call a js function to open a new window. Or, popup blocker should allow for a simple getURL(url, _blank). I'm finding these calls are being blocked some cases in Firefox on PC's with flash player 9. -d On 5/28/08 4:46 PM, Robert Leisle [EMAIL PROTECTED] wrote: This is probably not what your client wants to hear but the question has to be asked. Isn't Firefox popup blocker there for a reason? When blocking is active there is a message when a popup is attempted. Users have the choice to block or not, or to white-list your popups. I recommend allowing them that choice. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Wade Sent: Wednesday, May 28, 2008 4:22 PM To: Flash Coders List Subject: [Flashcoders] Firefox popup blocker and flash 9 I'm having problems with Fireox blocking my popup windows. I've tried everything I can think of. It seems to happen on Windows running Firefox but I can't replicate the issue on all machines I've tested(it works on most machines but not all). Here is the class I'm using: package { import flash.external.ExternalInterface; public class URLUtil{ protected static const WINDOW_OPEN_FUNCTION : String = window.open; public static function openWindow(url : String, window : String = _blank, features : String = ) : void { ExternalInterface.call(WINDOW_OPEN_FUNCTION, url, window, features); } } } //being called this way function recholder1Release(event:MouseEvent) { URLUtil.openWindow(res1link); } Any ideas? TIA, -D ___ 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
Re: [Flashcoders] Firefox popup blocker and flash 9
Hi Dan, Firefox blocks popups that aren't user-generated. Firefox's blocker only opens popups that tries to open on a onRelease event. So not automatic not onPress. Only onRelease / Viktor H On Fri, 30 May 2008 00:09:42 +0200, Dan Wade [EMAIL PROTECTED] wrote: Turning on popup blocker shouldn't block user initiated clicks that call a js function to open a new window. Or, popup blocker should allow for a simple getURL(url, _blank). I'm finding these calls are being blocked some cases in Firefox on PC's with flash player 9. -d On 5/28/08 4:46 PM, Robert Leisle [EMAIL PROTECTED] wrote: This is probably not what your client wants to hear but the question has to be asked. Isn't Firefox popup blocker there for a reason? When blocking is active there is a message when a popup is attempted. Users have the choice to block or not, or to white-list your popups. I recommend allowing them that choice. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Wade Sent: Wednesday, May 28, 2008 4:22 PM To: Flash Coders List Subject: [Flashcoders] Firefox popup blocker and flash 9 I'm having problems with Fireox blocking my popup windows. I've tried everything I can think of. It seems to happen on Windows running Firefox but I can't replicate the issue on all machines I've tested(it works on most machines but not all). Here is the class I'm using: package { import flash.external.ExternalInterface; public class URLUtil{ protected static const WINDOW_OPEN_FUNCTION : String = window.open; public static function openWindow(url : String, window : String = _blank, features : String = ) : void { ExternalInterface.call(WINDOW_OPEN_FUNCTION, url, window, features); } } } //being called this way function recholder1Release(event:MouseEvent) { URLUtil.openWindow(res1link); } Any ideas? TIA, -D ___ 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 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Firefox popup blocker and flash 9
Have you read the comments on the blog post: http://skovalyov.blogspot.com/2007/01/how-to-prevent-pop-up-blocking-in.html allowScript access may need setting as an attribute when you embed Flash You may need to specify a full URL wmode may have an effect. some more there too. Dan Wade wrote: Turning on popup blocker shouldn't block user initiated clicks that call a js function to open a new window. Or, popup blocker should allow for a simple getURL(url, _blank). I'm finding these calls are being blocked some cases in Firefox on PC's with flash player 9. -d On 5/28/08 4:46 PM, Robert Leisle [EMAIL PROTECTED] wrote: This is probably not what your client wants to hear but the question has to be asked. Isn't Firefox popup blocker there for a reason? When blocking is active there is a message when a popup is attempted. Users have the choice to block or not, or to white-list your popups. I recommend allowing them that choice. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Wade Sent: Wednesday, May 28, 2008 4:22 PM To: Flash Coders List Subject: [Flashcoders] Firefox popup blocker and flash 9 I'm having problems with Fireox blocking my popup windows. I've tried everything I can think of. It seems to happen on Windows running Firefox but I can't replicate the issue on all machines I've tested(it works on most machines but not all). Here is the class I'm using: package { import flash.external.ExternalInterface; public class URLUtil{ protected static const WINDOW_OPEN_FUNCTION : String = window.open; public static function openWindow(url : String, window : String = _blank, features : String = ) : void { ExternalInterface.call(WINDOW_OPEN_FUNCTION, url, window, features); } } } //being called this way function recholder1Release(event:MouseEvent) { URLUtil.openWindow(res1link); } Any ideas? TIA, -D ___ 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 -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Firefox popup blocker and flash 9
Dan Wade wrote: Turning on popup blocker shouldn't block user initiated clicks that call a js function to open a new window. Or, popup blocker should allow for a simple getURL(url, _blank). I'm finding these calls are being blocked some cases in Firefox on PC's with flash player 9. The Flash Player is a browser plugin (and presumably looks like a black box to the browser), so when e.g. Firefox gets a request to open a new window from the Flash Player, it probably can't tell whether this request is user initiated (thus legit) or not, so the blocker kicks in and blocks it. At least that's my theory (i definately don't know the technical details), so someone please correct me if i'm wrong. Cheers, Claus. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders