Re: [Flashcoders] getURL
This is a new security setting in Flash 8 - drives me crazy. I rolled back to Flash 7 in one of my browsers. If you have Flash 8, there are workarounds. http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager.html The settings manager being an online app is so weird. Makes no sense to me. On 12/12/05, Hans Wichman [EMAIL PROTECTED] wrote: Hi list, it seems when playing content in Flash 8, using getUrl(myFIle.html, _blank, GET) does no longer append variables to the given file when run locally. Can anyone confirm this and does anyone have a workaround? greetz Hans ___ 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: AMFPHP for commercial projects
I'm curious why Macromedia (oops, adobe) don't pick up PHP as a remoting technology. It's a huge audience and they support PHP in their other products (ie. dreamweaver). On 1/27/06, Miles Thompson [EMAIL PROTECTED] wrote: But exactly what *is* the legal issue? That AMFPHP reverse-engineered Flash Remoting's binary file format? The MacroMedia web site has a tutorial on using it: http://www.macromedia.com/devnet/flash/articles/amfphp.html . I wouldn't think they're t erribly concerned, making the plumbing available encourages more use of Flash with a variety of back ends. Miles At 10:44 AM 1/26/2006, Mike Britton wrote: It's the legal issue -- this implies risk where other options don't. Personally I love AMFPHP and have never observed it blowing up; it's far faster than ColdFusion remoting in my experience. Legal issues aside, I'd go with it for enterprise-scale projects. Mike On 1/26/06, Simen Brekken [EMAIL PROTECTED] wrote: Hello Flashcoders, Question: What's your opinion and/or practice of using AMFPHP for client's project? AMFPHP is production ready (we run 20+ pretty big sites on it) but there's no warranty that it won't blow up and you'll have someone to call when it does. Regards, Simen Brekken ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Mike -- http://www.mikebritton.com http://www.mikenkim.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database: 267.14.23/240 - Release Date: 1/25/2006 ___ 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] getURL not working
seems obvious, but you are adding a GET or POST to the getURL? On 3/8/06, Bob Leisle [EMAIL PROTECTED] wrote: getURL() is the wrong way to go for sending data. The Flash XML object has methods specifically for sending and receiving data. Read up on the XML.load(), XML.send() and XML.sendAndLoad() methods. They'll do you right. hth hidayath q wrote: Hi all, I have doubt in getURL method.Im using a XML in a file which is more than 500 nodes. i will be creating new nodes dynamically in XML and i want to write it to a text file using PHP. im using the getURL method inside press of a button component to transfer the data from flash to PHP.but i cant get.can anyone of pls tell me what wrong in it. Regards, S.Hidayath ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Thanks, ~ Bob Leisle Headsprout Software Engineering http://www.headsprout.com Where kids learn to read! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Web service call not working on network
Does anyone have any tips why a site i'm using that is connecting to Web Services works fine in the IDE, and works fine outside my work network but not from my work network. At first I thought perhaps the port number was blocked at work but it is working within the Flash IDE and when I view the swf on my local PC. Anyone come across this before? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Web service call not working on network
Thanks, was a cluster issue... 2 of the servers had the crossdomain file, one did not (which is why it was working sometimes, and not others. On 3/15/06, Johannes Nel [EMAIL PROTECTED] wrote: sound like a crossdomain policy issue. run a http sniffer and see if there is a request for a crossdomain.xml file On 3/12/06, Mick G [EMAIL PROTECTED] wrote: Does anyone have any tips why a site i'm using that is connecting to Web Services works fine in the IDE, and works fine outside my work network but not from my work network. At first I thought perhaps the port number was blocked at work but it is working within the Flash IDE and when I view the swf on my local PC. Anyone come across this before? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Loading several images with one progressbar?
If your images are generally similar file sizes and you have 5 images, just make each one equal to 20% and do it that way. It won't be perfect but how perfect does a progress bar have to be? It's an indication of how much has / is loaded. On 3/12/06, Sascha Balkau [EMAIL PROTECTED] wrote: Hi Adrian, thanks for the idea but this approach will not work in my case because the images are loaded sequencially. If one image is finished loading, my class starts loading the next and so on, one after one. And the amount of images varies (the image filenames are fetched from a XML file). I'm now defining a segmentWidth by dividing the full progressbar width by the amount of images that are going to be loaded. That gives me the 100% for one image on the whol bar. I just haven't figured out yet how to make it work so that the bar doesn't start from 0 at every image. Any other idea? Sascha - Original Message - From: Adrian Park [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, March 12, 2006 3:24 AM Subject: Re: [Flashcoders] Loading several images with one progressbar? Say you have 3 images loading, use something like this: var bytesLoaded:Number = 0; var bytesTotal:Number = 0; bytesLoaded += image1.getBytesLoaded(); bytesTotal += image1.getBytesTotal(); bytesLoaded += image2.getBytesLoaded(); bytesTotal += image2.getBytesTotal(); bytesLoaded += image3.getBytesLoaded(); bytesTotal += image3.getBytesTotal(); var percentageLoaded:Number = (bytesLoaded/bytesTotal) * 100; There may be ways to optimise this code depending on your circumstances (e.g. just calculate bytesTotal once and reuse it) but this shows the basic idea. Adrian P. On 3/11/06, Sascha Balkau [EMAIL PROTECTED] wrote: Hi, this is probably an old hat but I can't get it right. I want to display the load progress of several images with one progress bar. How do I calculate the percentage of the bar? Thanks alot, Sascha ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] percent loaded?
In your publish settings try export your classes in frame 2 (with your preloader on frame 1) - has worked for me when using some beefy components before. On 3/17/06, Weyert de Boer [EMAIL PROTECTED] wrote: It's probably the AS2 classes you import these are loaded before first frame one, meaning before your stuff gets executed. You could consider when you don't use these classes in frame 1 to be loaded ona different frame i.e. frame 2. File - Publish Settings - Action Script 2 button ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Convert swf to exe
If you open the SWF in the Flash Player (version on your computer, not browser), just go File Create Projector from the menu in the player. I'm not familiar with MTASC to know what it will effect. On 4/1/06, David Rorex [EMAIL PROTECTED] wrote: On 3/31/06, Lieven Cardoen [EMAIL PROTECTED] wrote: When I compile with flash, the swf has different behaviour than compiled with mtasc. But I need the exe so... You should report this to the author of mtasc, he tries to make his compiler as compatible as possible. Anything that compiles in mtasc, should be able to compile in MMC with the same results. -David R ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] yet another screwing from micrsoft
The discussion on this seems to be broken into 3 groups 1. Microsoft - how could they do this to us 2. Look at all the money you can make charging clients to implement the fix 3. Such a nightmare to implement - panic stations! My thoughts/responses... 1. Microsoft didn't WANT this to happen, it's the result of trying to comply with a law suit. As much as all you anti-microsoft people like to not beleive this, I'm sure they're very aware of what effect this will have on the Flash audience and are just trying to keep everyone on both sides happy 2. That's like being a funeral director and getting excited when people pass on - not a good mentality at all. 3. 6 months from now we'll all be complaining about the next technical issues that comes before us - probably Flash/Adodbe player issues or the google browser not rendering flash properly ;) Despite all the panic - Flash will live on. On 4/2/06, Jim Kremens [EMAIL PROTECTED] wrote: Well, anyone who's disabled Javascript is going to miss out on half of the web at this point... Jim Kremens On 4/1/06, Byron Canfield [EMAIL PROTECTED] wrote: Additionally, the proposed solutions, whether embedded JavaScript or external JavaScript files are entirely ineffectual for those who have changed the browser settings to disallow JavaScript execution -- not all that uncommon in this, the age of the pop-ups. -- Byron Barn Canfield I couldnt give a stuff about the lost lawsuit, 0.001% revenue loss for MS compared to all legacy flash sites that I will have to dig up log in details for and fix, much bigger impact for me personally than bill will fell personally ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jim Kremens ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Active X and Microsoft IE ...
I don't know if this falls in line with the whole law suit or not, but it just seems so obvious to me that MS should implement a checkbox next to the dialog when you're allow ActiveX content that says [x] Always allow this Active X type or [x] Always allow flash content (the same way you get that checkbox when you first ever use IE and it tells you about submitting information across the internet). Would make life much easier for everyone if this were an option. On 4/11/06, Bill Lane [EMAIL PROTECTED] wrote: I actually think that the problem was that Adobe was too quick to respond. They've had a solution up since the first round of worry hit this forum. But I think it was so long ago that most forgot about it. Then when it hit the press again they didn't remind people firmly enough. They treated like the old news it was. Rather than the new news that most still think it is. Bill Lane Related question: Do you see reasons why so much of this conversation about ActiveX changes in the Microsoft browser has avoided the source material on the Adobe site? Andrew Lucking wrote: Good question. My perception is that this time around Adobe was slower to get *solutions* available. For whatever reasons it was only late last week that I was able to point folks to some workaround samples from Adobe. With the browser update already circulating as an optional download and rumours of it being included in this week's security patch from MS maybe folks started without Adobe's guidance? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] optimize lineTo algorithm
Does anyone know of any way to optimize a whole bunch of lineTo points? Say I have 500 points all fairly close that I'd like to reduce to fewer points. I guess what I'm really after is an algorithm similar to the Modify Shape Optimize command in the Flash API. Has anyone seen what type of math formula is used for this type of command that is quite common in most drawing apps. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Pushing content from DB to Flash widget
Does anyone know if it's possible to push content from a database to a list of flash clients (or widgets running on a desktop). I can have a flash app that checks every X seconds for new content from a database, but wondering if there's a way to do it in the other direction and push the content from a database to the flash clients without them having to poll the database. Are XML SocetServers the key here? Is there an issues with server strain on such things if say 1000 clients are connected to the server? Any info, ideas or experiences would be appreciated. - Mick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] General question about placement of code
If your button has been removed from the stage at any point on the timeline or there is a new instance name of the button then you will need to re-apply the button actions. If your button is moving around or you need to assign it actions several times you may be better creating a function to assign the buttons then call that function when needed. eg. buttonName.assignMyButFunct(); On 4/27/06, Jonathan Berry [EMAIL PROTECTED] wrote: My apologies for the message with the incorrect subject. From the prior e-mail: Why wouldn't function assignments on the main timeline applicable to a button/clip, etc., placed on the same frame (in an actions layer of course) not be applicable in subsequent keyframes of the button/clip? What I had was an ad sent to us by a client wherein the previous coder had used on() handlers on the clips and I was trying to rewrite it to include anonymous functions. However, when a new keyframe in the button layer came up, I had to re-enter the code there as well. This seemed like repetitive work. Can someone explain this basic functionality to me? -- Jonathan Berry, M.A. IT Consultant 619.306.1712(m) [EMAIL PROTECTED] www.mindarc.com --- This E-mail is covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521 and is legally privileged. This information is confidential information and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. --- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] ads inside a SWF
You're supposed to use the google supplied code for google ads. Not modified in any way. The things people do for an extra few cents ;) On 5/8/06, Peter Hall [EMAIL PROTECTED] wrote: I think the bare fact of rendering the ads in Flash is not a legal concern (though I am no lawyer either). But, it might depend more on exactly what you mean by end up on other sites. That's the part where I'd be most concerned about breaking their agreement (though I don't use google ads, and have never read their terms and conditions). Peter On 5/7/06, Mike Lyda [EMAIL PROTECTED] wrote: well.. anything is possible with a little magic. I'm wondering if someone has already done it, if it's legal, etc.. in all seriousness, I think I've figured out how to do it, but I'm kind of lazy like and not wanting to get a reprimand from the big Google man. --- Rajat Paharia [EMAIL PROTECTED] wrote: With Adsense they give you a chunk of javascript code. I don't know of any way to convert that into something renderable by Flash. Do you? best, - rajat __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Fitting squares into an area
Handy TILE component... http://chq.emehmedovic.com/?id=2 On 5/9/06, Bernard Poulin [EMAIL PROTECTED] wrote: Wow! I just tried your algorithm with my previous example numbers and it does output the correct square size (100) - also, internally it has the right number of columns/lines: e.g. 3x4 (p=3, q=4) As for performance, it took 6 iterations: Since the output was 3x4, the number of iterations was (3 + 4 - 1) = 6. (it started at 1x1 and did 6 iterations: something like: 1x1, 1x2, 2x2, 2x3, 3x3, 3x4) For N = 100, the number of iteration depends on the ratio: it could be anywhere from 19 (10x10-1) to 100 iterations (worst case happens if the output is a single line or a single column). So that would make N iterations (in worst cases) and ~2*SQRT(N)-1 best case. I took the liberty of optimizing the method a little bit and renaming a few internal variables to my personal liking. ;-) -- I did not do any real life testing on this. But it seems to work on paper. /** * computes the largest N square size (and layout) that can fit an area (width,height). * * @return an Object containing 'squareSize' and the number of 'cols' and 'rows'. * * 98% of the credits goes to Danny Kodicek */ function computeLargestSquareSizeAndLayout(width:Number, height:Number, Nsquares:Number): Object { var cols:Number = 1; var rows:Number = 1; var swidth:Number = width; var sheight:Number = height; var next_swidth:Number = width/(cols+1); var next_sheight:Number = height/(rows+1); while (true) { if (cols*rows = Nsquares) { var squareSize:Number = Math.min(swidth, sheight); return { squareSize:squareSize, cols:cols, rows:rows }; } if (next_swidth next_sheight) { cols++; swidth = next_swidth; next_swidth = width/(cols+1); } else { rows++; sheight = next_sheight; next_sheight = height/(rows+1); } } } B. 2006/5/8, Danny Kodicek [EMAIL PROTECTED]: Danny: I do not understand your algorithm - could you shed some more (high-level) light on what it is doing? Sure. The idea is that the optimal size will always be an exact fraction of either the width or the height. So what we do is drop down by multiples of these until we get to the first size that will contain N or more squares. At any particular width, we keep track of the two 'next-smallest' widths and drop down to the largest of these. Run through the algorithm with a few sample numbers and it should make sense. It may be that there's a more algebraic approach. The problem is, though, that there is no simple relationship between floor(x), floor(y) and floor(xy), which would be needed to come up with any truly useful solution. In the end, it turns into quite a complex optimisation problem, and given that the brute force algorithm is actually pretty fast, it hardly seems worth the effort :) Danny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Fitting squares into an area
Sorry wrong link, I'm sure there is a component on the site somewhere that does what you need (I think) ;) On 5/9/06, Mick G [EMAIL PROTECTED] wrote: Handy TILE component... http://chq.emehmedovic.com/?id=2 On 5/9/06, Bernard Poulin [EMAIL PROTECTED] wrote: Wow! I just tried your algorithm with my previous example numbers and it does output the correct square size (100) - also, internally it has the right number of columns/lines: e.g. 3x4 (p=3, q=4) As for performance, it took 6 iterations: Since the output was 3x4, the number of iterations was (3 + 4 - 1) = 6. (it started at 1x1 and did 6 iterations: something like: 1x1, 1x2, 2x2, 2x3, 3x3, 3x4) For N = 100, the number of iteration depends on the ratio: it could be anywhere from 19 (10x10-1) to 100 iterations (worst case happens if the output is a single line or a single column). So that would make N iterations (in worst cases) and ~2*SQRT(N)-1 best case. I took the liberty of optimizing the method a little bit and renaming a few internal variables to my personal liking. ;-) -- I did not do any real life testing on this. But it seems to work on paper. /** * computes the largest N square size (and layout) that can fit an area (width,height). * * @return an Object containing 'squareSize' and the number of 'cols' and 'rows'. * * 98% of the credits goes to Danny Kodicek */ function computeLargestSquareSizeAndLayout(width:Number, height:Number, Nsquares:Number): Object { var cols:Number = 1; var rows:Number = 1; var swidth:Number = width; var sheight:Number = height; var next_swidth:Number = width/(cols+1); var next_sheight:Number = height/(rows+1); while (true) { if (cols*rows = Nsquares) { var squareSize:Number = Math.min(swidth, sheight); return { squareSize:squareSize, cols:cols, rows:rows }; } if (next_swidth next_sheight) { cols++; swidth = next_swidth; next_swidth = width/(cols+1); } else { rows++; sheight = next_sheight; next_sheight = height/(rows+1); } } } B. 2006/5/8, Danny Kodicek [EMAIL PROTECTED]: Danny: I do not understand your algorithm - could you shed some more (high-level) light on what it is doing? Sure. The idea is that the optimal size will always be an exact fraction of either the width or the height. So what we do is drop down by multiples of these until we get to the first size that will contain N or more squares. At any particular width, we keep track of the two 'next-smallest' widths and drop down to the largest of these. Run through the algorithm with a few sample numbers and it should make sense. It may be that there's a more algebraic approach. The problem is, though, that there is no simple relationship between floor(x), floor(y) and floor(xy), which would be needed to come up with any truly useful solution. In the end, it turns into quite a complex optimisation problem, and given that the brute force algorithm is actually pretty fast, it hardly seems worth the effort :) Danny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] \r
You could always wrap CDATA around it. On 5/16/06, Fumio Nonaka [EMAIL PROTECTED] wrote: Even if you manipulate newline only with string, you might get annoying result: // Frame action var my_str:String = newline; my_str += +newline; // [Debug] [List Variables]: Variable _level0.my_str = ¥n¥r Tested on Flash 8.0/Mac OS X.4.6 Windows XP (SP1) _ Derek Vadneau wrote: The bugger is using \n or newline in a string and setting the text of a textfield to that string converts \n to \r when you read the text again. It's why I never use \n or newline. Good luck, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] load data from txt file above root directory
../ should give you the parent relative directory. If needed, you may like to try using the BASE attribute in your object/embed tag... http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_04157 On 5/18/06, Flashgrrl [EMAIL PROTECTED] wrote: Hi Flashcoders! I am attempting to load data from a text file(located above the root diretory) into a dynamic text box using LoadVars. When the .swf and .txt files are in the same directory it works fine. However I would like to place the text document above the root directory. I believe this is merely a matter of typing in the correct location. What is the absolute location? I've tried using: A. ../../sometext.txt B. /home/username/sometext.txt C. http://www.mywebsite.com/sometext.txt; ..and other variations on this theme. What am I missing? Oh, and I've also looked into the possibility that the text document is seen as outside the domain and added a crossdomain.xml document to address possible security restrictions for data loading. Didn't have a visible impact. Thank you in advance! -Flashgrrl Send instant messages to your online friends http://au.messenger.yahoo.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] CD ROM dimensions?
I think target audience is more about the type of users (eg. some corporations still have a % of 800x600, or older age groups). On stats of a few sites I run, there is still a 15% 800x600 audience (one of these sites is a gaming site). On the flipside - the new yahoo.com is by default 1024x768 (but you can change this is the page options). On 5/19/06, Flashgrrl [EMAIL PROTECTED] wrote: I'm sure a majority of your audience is in N. America so 1024 x 768 would work fine. If you are sending the cd's overseas I'd stick to 800x600 as there is alot of variety out there. :-) Cheers, Flashgrrl --- Robin Burrer [EMAIL PROTECTED] wrote: I'd say pretty much everybody runs at least a 1024 X 768 resolution these days. Most of the times I use 800x600 though, because of performance issues. It all depends on the kind of application you want to build. Also keep in mind that your performance can decrease up to 20% if you use a wrapper such as SWF studio or zinc (compared to the adobe projector). Robin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fernando Castillo Sent: Friday, 19 May 2006 5:18 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] CD ROM dimensions? Sure and 800x600 in some cases yet, all depends on the target users. -Mensaje original- Anyone building interactive cd roms at 1024 x 768 yet? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com Send instant messages to your online friends http://au.messenger.yahoo.com Send instant messages to your online friends http://au.messenger.yahoo.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Test CPU/performance/rendering
I'm building a fairly demanding site that has a fair bit of animation and rather than aiming for an average performance level of animation for my users, I'd like to turn off/on some features of the site depending on rendering capabilities of the users computer. Does anyone have any recommendations on the best way to achieve this? Off the top of my head I guess finding out the highest FPS the current viewer can achieve and flagging them as high or low performance depending on the results. Any other suggestions? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Test CPU/performance/rendering
Some good points Robin. I'd like to try automate the process as much as I can but will keep that in mind - it may be a better solution. Your timer would work for CPU speed, but I think I'd have to combine it with some rendering of some kind to test the capabilities of the graphics card also. eg. I have a fast computer at work with lots of ram that processes things like thing quicker than my PC at home, but has an old graphics card and is much slower at rendering. On 5/25/06, Robin Burrer [EMAIL PROTECTED] wrote: Hey Mick, Maybe it is better to give the user the option to select the processor speed rather than detecting it automatically. (that would be similar to picking your connection speed for a QuickTime movie). Some users may want to see all the effects even though they have a slow computer. If you want to determine the performance you could just measure the time it takes to perform some task. e.g. var t1:Number = getTimer(); for (var i = 0 ; i 10; i ++) { } var t2:Number = getTimer(); var timeToDoThis = (t2 -t1); trace (timeToDoThis) Don't know how accurate this is though :-) Robin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mick G Sent: Thursday, 25 May 2006 9:27 AM To: Flashcoders mailing list Subject: [Flashcoders] Test CPU/performance/rendering I'm building a fairly demanding site that has a fair bit of animation and rather than aiming for an average performance level of animation for my users, I'd like to turn off/on some features of the site depending on rendering capabilities of the users computer. Does anyone have any recommendations on the best way to achieve this? Off the top of my head I guess finding out the highest FPS the current viewer can achieve and flagging them as high or low performance depending on the results. Any other suggestions? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Disable all buttons
One dirty way is to place a one blank button over all your other buttons - set the btn to usehandCursor to false. This may or may not suit your needs. On 5/27/06, Éric Thibault [EMAIL PROTECTED] wrote: Hi all Is there a rapid way to disable all the buttons present in my movie at once or do I have to iterate through them all? like Button.enabled = false; A+ :-) -- === Éric Thibault Programmeur analyste Réseau de valorisation de l'enseignement Université Laval, pavillon Félix-Antoine Savard Québec, Canada Tel.: 656-2131 poste 18015 Courriel : [EMAIL PROTECTED] === Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de confidencialidad http://www.rec.ulaval.ca/lce/securite/confidentialite.htm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] wheel on curve game engine
Help vampire messages are more of a waste of *everything* than the original posters - Yawn http://www.cove.org/flade/ if a flash physics engine that might help you. On 5/29/06, Byron Canfield [EMAIL PROTECTED] wrote: Review the archives for the thread entitled: Are you a help vampire? -- Byron Barn Canfield Hello, got anyone idea or even script modellign wheel (bike, car..) on curve, collision but mainly bounces, gravity, etc like in this game: http://www.freeonlinegames.com/play/3286.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] OT: Anyone got a good CSS book to recommend?
http://www.amazon.com/gp/product/0321346939/002-5233719-8129618?v=glancen=283155 It's probably the worst title for the type of book it is, but an excellent front to back book. It speaks plain english and leads by example with real world case study scenarios rather than trying the explain each CSS property one at a time. On 6/2/06, David Brunswick [EMAIL PROTECTED] wrote: More Eric Meyer on CSS ISBN0-7357-1425-8 Published by New Riders David Brunswick Multimedia Developer FedEx Express Customer Service Organizational Learning 901-434-6605 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Deaney Sent: Thursday, June 01, 2006 3:50 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] OT: Anyone got a good CSS book to recommend? Hi, I recently bought the following book : http://www.digital-web.com/articles/css_mastery/ got from amazon http://www.amazon.com/gp/product/1590596145/002-2615236-0834407?v=glancen=2 83155 It's been a good read and I've picked up alot of useful info and tips - worth a look and a good reference guide for future projects. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Haschenburger Sent: 01 June 2006 18:40 To: Flashcoders mailing list Subject: [Flashcoders] OT: Anyone got a good CSS book to recommend? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Performance of Flash 8 filters
Just curious if many of you have done performance test on the Flash 8 filters and if they're much of a hit on the CPU or strain on rendering in anyway... eg. - A MC doing _x++; with and without a blur filter (much difference in performance?) - 50 instances of above? - FIlter values changing while it animates - much CPU strain? I know the filters are built in to the player, but does this mean there really isn't much performance issues at all? Has anyone seen any online test results from such things? - Mick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] onResize (when done)
My question is two-fold: Is it possible to determine if the stage is resizing larger? smaller? only height? only width? If you don't want to use onEnterFrame, just do the same process by checking the Stage.width and Stage.height with a setInterval and compare the current values with the last. On 6/6/06, Flash Mel [EMAIL PROTECTED] wrote: I had a question about this. There is a solution in the archives ( http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2002-December/056558.html ) where someone used onEnterFrame. That solution was back in 2002. Is there a better alternative now? My question is two-fold: Is it possible to determine if the stage is resizing larger? smaller? only height? only width? Ah, my mind is boggled! Cheers, fM ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] convert FLA to mx2004 utility
Does anyone know if there is any batch utility out there to convert/downsave Flash 8 FLAs to Flash MX2004. This is for someone without Flash 8. I googled and had a look on the Adobe site with no luck. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] convert FLA to mx2004 utility
Bing-bong Error - try again! Re-read my email :) - No Flash 8 - Batch utility to convert multiple files On 6/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: open the fla in flash 8 then File-saveAs Filetype- select Flash MX 2004. hope that is what you are looking for. regards tom - Original Message - From: Mick G [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, June 07, 2006 2:36 AM Subject: [Flashcoders] convert FLA to mx2004 utility Does anyone know if there is any batch utility out there to convert/downsave Flash 8 FLAs to Flash MX2004. This is for someone without Flash 8. I googled and had a look on the Adobe site with no luck. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] convert FLA to mx2004 utility
I have options of using Flash 8 - just thought someone might have built a util. I have about 20 files to convert, not a huge amount but It's just something I get asked to do regularly and it would be handy to point clients to it that don't have Flash 8. On 6/7/06, Marc Hoffman [EMAIL PROTECTED] wrote: I know you don't have Flash 8, but if this is a limited-time project you might use the 30-day trial version. You might be able to find or develop an extension to batch save to Flash MX 2004. When you do it manually from Flash 8, there's a dialog that alerts you to any functionality that will be lost in saving to the lower version. You'd have to automatically bypass the dialog somehow. How many files are you talking about? -Marc At 05:36 PM 6/6/2006, you wrote: Does anyone know if there is any batch utility out there to convert/downsave Flash 8 FLAs to Flash MX2004. This is for someone without Flash 8. I googled and had a look on the Adobe site with no luck. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] tabIndex on embedded swf
I havn't tried this but you could try adding a _lockroot to the swf. On 6/8/06, Ryan Sabir [EMAIL PROTECTED] wrote: Heya, I have an swf with form components on it, that is embedded inside another swf. I want to be able to tab between the form elements, but when I hit tab, the focus jumps to an element in the outer movie, rather than the embedded movie. The focus doesn't ever return to my form, it stays on this one button in the main nav. How can I make it tab between the elements just in the embedded movie? I've tried manually setting the tabIndex on the components, but it's not working. thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Is it possible to change Stage background color at runtime?
You could also set your wmode to transparent in the object/embed tag and use javascript to change the background of a containing DIV (Not that this is elegant but should work). On 6/8/06, Fernando Castillo [EMAIL PROTECTED] wrote: I would like to know if I can change the stage background color at runtime by code. I have solved by using a movieclip with an opaque background but I'm curious about this due now I need to use a real big mc. Thanks! - F ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Is it possible to change Stage background color atruntime?
Doh! If you're having trouble managing the size of the MC you're using as a 'fake' background, you could always just use a manageable size and use: MC._width = Stage.width; MC._width = Stage.height; Make sure you run that onResize if you're allowing people to resize the window of the projector. On 6/8/06, Fernando Castillo [EMAIL PROTECTED] wrote: Oops! I did forget to specify that this question is about EXE files. Thanks! On 6/8/06, [EMAIL PROTECTED] wrote: You could also set your wmode to transparent in the object/embed tag and use javascript to change the background of a containing DIV (Not that this is elegant but should work). On 6/8/06, Fernando Castillo [EMAIL PROTECTED] wrote: I would like to know if I can change the stage background color at runtime by code. I have solved by using a movieclip with an opaque background but I'm curious about this due now I need to use a real big mc. Thanks! - F ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text link on hover
Yes, you'll need to set up style in Flash... A:hover is supported in Flash. http://www.actionscript.org/tutorials/beginner/css_in_flash/index.shtml On 6/9/06, elibol [EMAIL PROTECTED] wrote: Does anyone know if it's possible to trigger an event with a text link hover state? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] color tracking w/webcam
http://www.adobe.com/devnet/flash/articles/webcam_motion.html On 6/9/06, Ian Tilley [EMAIL PROTECTED] wrote: Hi Weyert I did something a year or so ago using webcamxtra Xtra for Director and Flash 7. I'd like to do it again in Flash 8 at some point as I think bitmap caching would improve performance, for what I needed, greatly. JMyron is another solution but I didn't get near that. t. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: Friday, 9 June 2006 3:08 AM To: Flashcoders mailing list Subject: [Flashcoders] color tracking w/webcam Anyone aware of any kind of color tracking for Flahs 8 using the BitmapData stuff? with source is apperciated ;-) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Stretching Designs - Coded?
How is that kind of thing done? I know you can achieve some interestin gthings with scaleMode and Stage.align but I'm guessing something more complex is going on here. No - that's about it really. Just make sure your flash is embedded with 100% width so the stage does actually change size with the browser. //Set your movie up like: Stage.align = TL; Stage.scaleMode = noScale; //Add a listener so things get adjusted when the stage is resized var stageListener = new Object(); stageListener.onResize = function(){ alignContent(); } Stage.addListener(stageListener); //Use Stage.width to get the width of your stage (and Stage.height if needed). //When you want to align movieclips use: function alignContent(){ myMC._x = Stage.width; } Depending on how your MCs are set up, you may have to do some adjusting like: myMC._x = Stage.width - myMC._width - 50; Left aligned items don't really need anything. On 6/11/06, Kevin Cannon [EMAIL PROTECTED] wrote: Hi there, I've seen a couple of design occasionally (like thefwa.com) that dynamically stretch and adjust with the width of the browser and the content. How is that kind of thing done? I know you can achieve some interestin gthings with scaleMode and Stage.align but I'm guessing something more complex is going on here. I want to create a header banner, that fits into a flexible width site, so it needs to stretch with the page. The height will stay the same, and there's some design elements that should be locked left, and some locked right. Could anyone point me in the right direction. I've not had much trouble with google since i'm not entirely sure what the correct terms for this are. Thanks! - Kevin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] cake decorating app
www.ratemydrawings.com might give you a good example of some of the things that can be done with the flash drawing API. On 6/22/06, David Rorex [EMAIL PROTECTED] wrote: On 6/21/06, Weldon MacDonald [EMAIL PROTECTED] wrote: A cake decorater is asking about a web based app for designing cakes. It's a drawing app with a twist. He's found a desktop app in C# that he wants to port to Java for the web. I'm trying to convince him that Java for this is overkill and he should Actionscript. Am I right, or would it be relatively easy to port C# to Java. Are there any examples of this type of drawing app he could look over? Weldon MacDonald You're probably going to write from scratch either way, it wont be a 'port'. You can look at the source code to the C# for ideas on how to do things, but the architechure is different enough that you aren't really going to be able to reuse anything. Most types of drawing are pretty easy to do in Flash, and the user experience tends to be better as well -- (more people have flash installed already, no 10 second hang while the JVM loads up, etc etc). -David R ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] brp won't render
The Bold and Italic versions of the fonts will need to be embedded. This is usually the problem I forget :) On 6/22/06, Mike Mountain [EMAIL PROTECTED] wrote: OK this sounds really daft and I'm sure you've probably checked - but your text field isn't set to single line is it? Or no wrapping? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Sent: 21 June 2006 19:04 To: Flashcoders mailing list Subject: [Flashcoders] brp won't render I have a htmlText field that won't seem to recognize breaks or paragraph tags, however renders b, i, etc. Any Idea what I could be doing wrong? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] brp won't render
My answer was so very off subject ;) sorry. The only way I can replicate that problem is if the textfield is single line instead of double - otherwise your first code works fine for me. On 6/22/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote: Why not use br/ tags to keep things consistent? Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: 22 June 2006 11:47 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] brp won't render I have a htmlText field that won't seem to recognize breaks or paragraph tags, however renders b, i, etc. Any Idea what I could be doing wrong? If you do: htmlText = pLine 1/ppLine 2/ppLine 3/p; The TextField will render like this: Line 1Line 2Line 3 And the actual htmlText would be: P ALIGN=LEFTFONT FACE=Times New Roman SIZE=12 COLOR=#00 LETTERSPACING=0 KERNING=0Line 1Line 2Line 3/FONT/P There are no paragraph tags. But if you do: htmlText = pLine 1/p\npLine 2/p\npLine 3/p; The TextField will render like this: Line 1 Line 2 Line 3 And the actual htmlText would be: P ALIGN=LEFTFONT FACE=Times New Roman SIZE=12 COLOR=#00 LETTERSPACING=0 KERNING=0Line 1/FONT/PP ALIGN=LEFTFONT FACE=Times New Roman SIZE=12 COLOR=#00 LETTERSPACING=0 KERNING=0Line 2/FONT/PP ALIGN=LEFTFONT FACE=Times New Roman SIZE=12 COLOR=#00 LETTERSPACING=0 KERNING=0Line 3/FONT/P I'm not sure why, but this is the way it is. May be someone on the list can answer the reason behind this. Kenneth Kawamoto http://www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Best Flash data access way opinions
Macromedia doesn't support free technologies that are in direct competition with their technologies. Why would they? I always wondered why MM support PHP in Dreamweaver but refuse to do so for Flash with a PHP remoting. You can build a fully blown database driven site in Dreamweaver (allbeit not perfect code) using their PHP/MySQL support without writing a line of code and without paying for a CF server, .Net server, etc. On 6/23/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: But unless I am totally wrong, AMFPHP wasn't out of beta until recently. And it isn't officially supported by Adobe/MM, or if it is, it wasn't until recently. CF is. Macromedia doesn't support free technologies that are in direct competition with their technologies. Why would they? If you only used Macromedia supported technologies, you would have paid gobs of cash (tens of thousands of dollars) for Generator instead of using the free alternative, JGenerator, which, by the way, had more features than MM's version. MM didn't much care for the fact that nobody was buying their overpriced technology anymore, so when they moved from Flash 5 to Flash MX, they removed the ability to make Generator Templates, effectively ending support for it. This was a big f**k you! to the development community who had been building Jgenerator based sites for their clients, but couldn't offer the improvements in Flash MX and beyond to them because Macromedia decided to attack their own consumers. ColdFusion is a way for inexperienced coders to code middleware. CF is nowhere near as good as .NET, PHP, Java or Ruby. If you know how to code, don't waste your time with CF and dive right in to one of the far better middleware solutions (Ruby on Rails anyone?). AMFPHP has worked great for years, for free. Beta or not, it's a solid, reliable, free solution that many companies have used in production on projects large and small. I could care less if MM approves or not. :) -Steven ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Export frame option disabled
This is one of the reasons I avoid MM components unless I totally have to. Most of the components will only work if you export in first frame so the only option I''ve found is: - Put your content in an external SWF (which also causes problems because of a bug with the components needing an instance in the root library if they're loaded into target MCs). So, you now need to create a Shared Library for the components and preload them (or if you don't want the hassle of a shared library, some components get around this bug if you put a _lockroot in the SWF containing them). I'd love to hear other peoples solutions to component preloading. On 6/24/06, Mike Boutin [EMAIL PROTECTED] wrote: Here is an example of the preloader used placed on the first frame of the movie. this.onEnterFrame = function(){ var loaded:Number = this.getBytesLoaded(); var total:Number = this.getBytesTotal(); var percent:Number = Math.floor((loaded/total)*100); load_txt.text = Loading... +percent+%; loadBar._xscale = percent; if (percent == 100){ gotoAndPlay(2); delete this.onEnterFrame; } } stop(); Mike Mike wrote: Are you basing the percentage on the frames loaded (100 * _framesloaded / _totalframes) or bytes loaded (100 * getBytesLoaded() / getBytesTotal())? You should be doing the latter. If you are then ... um *tags someone else* -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Boutin Sent: Thursday, June 22, 2006 1:52 PM To: Flashcoders mailing list Subject: [Flashcoders] Export frame option disabled Hey everyone, Im creating a preloader and I notice that it doesnt start until about 90% done loading the file. I believe this is because my ui components are exported to the first frame. I tried unchecking export to first frame with no difference. I also tried changing the actionscript setting to export it to frame 2 rather than 1, but it is unavailable to change (the field is disabled). Am I missing something here? ;) Thanks! Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Best Flash data access way opinions
Hey no laughing - my point was that they support PHP, nothing more :P On 6/23/06, Michael Stuhr [EMAIL PROTECTED] wrote: Mick G schrieb: You can build a fully blown database driven site in Dreamweaver (allbeit not perfect code) LOL ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash for forums
The highly important and common feature for Forums is the ability to paste HTML, perform clean and efficient searches, insert images from other sites/URLs, embed flash animations, right-click to open links posted links in new tabs/windows, paste code, harcore forum users even cherish their custom footers. Most of these functions wouldn't be as effective in a flash front-end. On 6/25/06, Count Schemula [EMAIL PROTECTED] wrote: I'm on a few vBulletin powered forums and they work very well. Bulletin boards are far superior to e-mail lists in almost everyway. I've been on e-mail lists since before there was a web, and, really, there is no comparison to how much more useful 100,000 threaded conversations are in a bulletin board compared to an e-mail list. On 6/24/06, Josh Santangelo [EMAIL PROTECTED] wrote: vBulletin's current version has many AJAXy features which enable interactions similar to what you describe. It's not free, but it's not expensive either. http://vbulletin.com/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] optimizing an animation?
I've seen this mostly when the MC being tweened either has a lot of vector information or large (physically) bitmaps. - If it's all vector being zoomed, either optimize and cut down on the vectors or, create a new frame in the MC with 'some elements' only, goto that frame while zooming, do a callback function on the MC_tween to then go back to the frame you want once the tween is complete - If it's bitmaps being zoomed, they may have too much information to render quickly - try reducing the amount of pixels in the bitmap (like 50% scale) then stretch it 200% when it's dynamically attached - this will lower the quality but speed up the zoom (you can try this just to test if it is the bitmap causing the problem). - In general, disable elements one at a time and keep testing the movie to find the offending elements that are causing the chugging. On 6/27/06, michal jaworski [EMAIL PROTECTED] wrote: hi! i have a performance problems with a site. the site has four content areas with navigation between them, so that when you click on an icon the section zooms in from and icon size to full screen and the current sections zooms out at the same time. zooming and positioning is done with zeh fernando's mc_tween. the problem here is simple: the animation chokes. it almost looks as if there was a start frame, an end one and two or three frames displayed in between (it takes around a second). also there is a section with a news. news are diplsayed as list of titles. when clicked an item expands pushing the list down and the news copy shows in this space. textfields are created dynamically as the news are read form an xml file. backgound and buttons are attached dynamically too. the problem: it chokes too. this is weirded as tweening is very bad for the first time but then i smooths. any hints about how to address this? how to optmimize animation? what to use and what to avoid? thanks, michal ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Panning and Sliding, using Tweens possible?
MC Tween has a panTo command which does what you need (along with all the other standard tweens)... http://hosted.zeh.com.br/mctween/doc_panto.html On 6/27/06, Weyert de Boer [EMAIL PROTECTED] wrote: Yes, I have looked a bit at the Tween-classes, but I have some bad days in Flash at the moment. Looks like nothing want to work, and the IDE ain't helping either. Going nuts here. Things like when you press space the IDE give focus to the Output palette, or windows who disappear, weird responding document tabbar etc. Anyway I have worked on some old code which will do something like I want: function LORB( target ) { target._x = slideWidth - target._width; target._y = 0; unitX = ( slideWidth - target._width ) / totalFrames; unitY = ( slideHeight - target._height ) / totalFrames; target.onEnterFrame = function() { if ( currentFrame totalFrames ) { target._x = target._x - unitX; target._y = target._y + unitY; } else { delete target.onEnterFrame; } } } I am only clueless how you wrap something like into a equation for use with the Tween classes? Yours, Weyert de Boer I must admit I haven't looked at the Macromedia Tween classes, but surely this is very simple, just tween the _x and _y attribute of your clip. If not, look at any of the number of tween classes and managers out there (I recommend Fuse http://www.mosessupposes.com/Fuse or Zigo's Tween Manager http://laco.wz.cz/tween/ ), as they all have this functionality. Regards, Grant Cox Weyert de Boer wrote: I am curious if it's possible to use the Tween or TweenExtended class to make pan/slide animation. I mean something like you move a picture from the left bottom corner to the right top corner within the dimensions of the container movieclip. Yours, Weyert de Boer ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Panning and Sliding, using Tweens possible?
Sorry - wrong one ;) One of the tween classes has a pan feature... will post if I find it. On 6/27/06, Mick G [EMAIL PROTECTED] wrote: MC Tween has a panTo command which does what you need (along with all the other standard tweens)... http://hosted.zeh.com.br/mctween/doc_panto.html On 6/27/06, Weyert de Boer [EMAIL PROTECTED] wrote: Yes, I have looked a bit at the Tween-classes, but I have some bad days in Flash at the moment. Looks like nothing want to work, and the IDE ain't helping either. Going nuts here. Things like when you press space the IDE give focus to the Output palette, or windows who disappear, weird responding document tabbar etc. Anyway I have worked on some old code which will do something like I want: function LORB( target ) { target._x = slideWidth - target._width; target._y = 0; unitX = ( slideWidth - target._width ) / totalFrames; unitY = ( slideHeight - target._height ) / totalFrames; target.onEnterFrame = function() { if ( currentFrame totalFrames ) { target._x = target._x - unitX; target._y = target._y + unitY; } else { delete target.onEnterFrame; } } } I am only clueless how you wrap something like into a equation for use with the Tween classes? Yours, Weyert de Boer I must admit I haven't looked at the Macromedia Tween classes, but surely this is very simple, just tween the _x and _y attribute of your clip. If not, look at any of the number of tween classes and managers out there (I recommend Fuse http://www.mosessupposes.com/Fuse or Zigo's Tween Manager http://laco.wz.cz/tween/ ), as they all have this functionality. Regards, Grant Cox Weyert de Boer wrote: I am curious if it's possible to use the Tween or TweenExtended class to make pan/slide animation. I mean something like you move a picture from the left bottom corner to the right top corner within the dimensions of the container movieclip. Yours, Weyert de Boer ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] very basic question: Help?
This is the perfect scenario for using any of the many tweening classes... It might seem a bit confusing at first, but once you get familiar with them you'll wonder how you ever lived without them. I like... http://hosted.zeh.com.br/mctween/ (has filter tweens which are nice, and I like the way the callback functions work) otherwise... http://laco.wz.cz/tween/ (quite popular) or Macromedia actually have some built in to Flash (Search Flash help for About the Tween class). On 6/30/06, jcarlos [EMAIL PROTECTED] wrote: I want to understand which is the best/right way to concatenate movies which are dependent on serInterval to finish their execution, example this is part of a very simple image slice movement, I can have n slices, but just after the finish of the last one I´d like to know that it has finished and then start another animation for (var i = 0; i nTarjas; i++) { tarja[i] = this.attachMovie (mcTarjas, tarja + i, this.getNextHighestDepth ()); tarja[i]._x = posXInicial + i * deltaX; tarja[i]._y = 0; tarja[i]._alpha = (100 - deltaX) + i; intervalo[i] = setInterval (moveTarja, deltaTime, i, deltaX); } function moveTarja (atual, deltaX) { tarja[atual]._x -= deltaX; if (tarja[atual]._x deltaX * atual) { clearInterval (intervalo[atual]); } } stop (); this code is on the timeline, is not attached to any AS 2 external class I understand the callBack function concept but I don´t realize how to implement it in this situation , like myAnimation.onFinished = function() { // do another thing } thanks for any help João Carlos Brazil ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Progressivelly download (and show) a jpg image
You can 'fake' something by downloading a very small version of the image (like 3K) and scale it to the final size, once that has loaded, display, then start loading the full size version. I've done this before with very large file sized images. You could even use a PHP script using the GD library to generate your small version from the final image on the fly so you don't need 2 versions of each image. On 7/3/06, Michael Bedar [EMAIL PROTECTED] wrote: It's possible.. but not using loadMovie.. you'd have to make something serverside that read the image and sent it byte by byte.. kinda like a reverse on those samples that saved images to the server using bitmapdata. definitely not an optimal way to load an image. maybe there is a better way in as3 with bytearrays, but i don't know enough about that yet :) -- Michael On Jul 2, 2006, at 11:50 AM, Marc Hoffman wrote: I might be wrong, but I don't think you can download progressive jpgs, therefore you won't have anything to display until the jpg is completely loaded. If the jpgs are huge, you might consider downloading a lower-res image first, perhaps a .gif with fewer colors and/or a grayscale image. That should load very quickly. Once that's loaded, you could load the hi-res jpg and then, using masking, show it progressively from top to bottom. Marc At 08:03 AM 7/2/2006, you wrote: Hi Cor, thanks for the reply. Yes, I would use a mask. But the question is, how could I progressively show only the image while it is being downloaded? Marcelo On 7/2/06, Cor [EMAIL PROTECTED] wrote: You could use a mask -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Marcelo de Moraes Serpa Verzonden: zaterdag 1 juli 2006 13:48 Aan: Flashcoders mailing list Onderwerp: [Flashcoders] Progressivelly download (and show) a jpg image Is it possible somehow to progressivelly show a jpg being loaded via loadMovie()? The topdown effect that is native in images loaded via html... as far as I know, It´s only possible to show the image in the flash player after it has been completely loaded, but I remember seeing an example of such thing on flashkit once... Cheers, Marcelo. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http:// www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Issue with reapeat test publish
I've had this problem before Joseph - ignore the ego's on here that like to asume everyone else is a newbie ;) I've found this problem usually when components are involved and it's not a preloding issue. I even did a Flash dev class once and it was happening to people in the class, I asked the teacher and she had no answer either. Unforunately my response doesn't come with an answer - just a 'been there too' pat on the back. On 7/3/06, Michael Bedar [EMAIL PROTECTED] wrote: Sorry, not to be mean, but this was kinda funny:) Try opening the bandwidth profiler and you can see what it's doing. On Jul 2, 2006, at 3:21 PM, js wrote: When I test publish a file the first time, everything works as expected. However when I press ctl-enter again (while the window is still open), absolutely nothing works. If I close the window, and then test-publish again from within the IDE, the file works again. Has anyone else experienced this? How can I fix this? Joseph ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Php Host
Usually all the mediatemple fans come running out for this one ;) I'd recommend MediaTemple if you have high traffic or high demand site. I've had 2 sites that other various hosting companies complained I was using too much of their shared server resources - Media Temple server specs are VERY good for shared servers. On the downside, their features are only average but good enough. On 7/12/06, Mike Britton [EMAIL PROTECTED] wrote: I use FutureQuest (http://www.futurequest.net/) and love their service. I've never had a problem for over four years. They have PHP, MySQL and Ruby; shared and dedicated hosting; I can't say enough good things about them quite honestly. hth, Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] png load queue
Have you tried using JPGs instead of PNGs just to see if there's a difference there? I had an animation that was almost twice as fast when I used JPGs instead of PNGs. Either way, it sounds like a lot of data you're loading - perhaps it's just on your local machine it's slow because it's loading the PNGs instantly compared to via a web connection where you'll have X seconds between each image loading. On 8/9/06, Howard Nager [EMAIL PROTECTED] wrote: Slow was sloow. But it turned out more to do with my debug window than anything else. However, I have 24 frames of a 360 spin of a product (x 4+ png each)...and as each frame loads I draw it to the screen. That seems to be the issue now. Drawing each multilayed frame causes a hicup in whatever other animation I have going on. What's odd is that as soon as it has shown a frame on screen it never slows down again when showing that same frame again. Any suggestions on this? seems as if it chokes when it has to draw overlapped png files? -Original Message- From: [EMAIL PROTECTED] on behalf of Merrill, Jason Sent: Wed 8/9/2006 8:40 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] png load queue the load it is super choppy (especially on a mac). I am loading in sequence up to 100 png files - if that makes a difference. Well, that's a lot of data - how large is each file? It seems even a regular HTML page will slow down on 100 image files... or how slow is slow? Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Howard Nager Sent: Tuesday, August 08, 2006 6:02 PM To: Flashcoders mailing list; Flashcoders mailing list Subject: [Flashcoders] png load queue I'm having a weird issue where my flash player is performing very very slowly wile loading a queue of png files. Everything is smooth before and after, but during the load it is super choppy (especially on a mac). I am loading in sequence up to 100 png files - if that makes a difference. Any idea why this may be happenening? Help! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Calling functions in sequence
You could call the second function from the first (and have a paramater so it only runs the second function if you send the paramater). function funct1(runNext){ //do something if(runNext){ funct2(); } } function funct2(){ //do whatever } to call only the first function: funct1(); to call both: funct1(true); On 8/9/06, Matt Comstock [EMAIL PROTECTED] wrote: Thank you. What would I have to change to make is AS2 compatible? On 8/9/06, eric dolecki [EMAIL PROTECTED] wrote: this is AS3: http://www.senocular.com/flash/actionscript.php?file=ActionScript_3.0/com/senocular/events/Sequence.as On 8/9/06, Matt Comstock [EMAIL PROTECTED] wrote: I am a newbie to flash and I did search flashcoders prior to asking this question. My issue is that I have two function that I am trying to call when a user selects a cell in a datagrid. One function loads a flv file and the other loads an associated XML file. These functions work perfectly if I create two separate buttons to execute the function in the UI. I would like to be able to have the user select a value in a datagrid and after they select/cellpress the value execute function one, then after function one complete execute function two. Any help is greatly appreciated. Matt ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Site Check Please
Working OK here - FF / PC. On 9/12/06, Aaron Roberson [EMAIL PROTECTED] wrote: I have a flash banner on my site that is parsing xml and displaying a navigation menu. I have recieved a couple of reports that some users are unable to click through to the pages linked in the navigation. Could as many as possible take a look at the site and tell me if the navigation works. If not, does anyone have any ideas what could be causing the links to not work? Site to check: http://whitehorsemedia.com Thanks in advance, Aaron ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Site Check Please
Yeh, it might be overkill to publish as Flash 9 just for a navigation system. On 9/12/06, Ryan Potter [EMAIL PROTECTED] wrote: Once I installed flash 9 it worked fine. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Roberson Sent: Tuesday, September 12, 2006 11:02 AM To: Flashcoders mailing list Subject: [Flashcoders] Site Check Please I have a flash banner on my site that is parsing xml and displaying a navigation menu. I have recieved a couple of reports that some users are unable to click through to the pages linked in the navigation. Could as many as possible take a look at the site and tell me if the navigation works. If not, does anyone have any ideas what could be causing the links to not work? Site to check: http://whitehorsemedia.com Thanks in advance, Aaron ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Webcam color tracking
http://www.adobe.com/devnet/flash/articles/webcam_motion.html On 9/12/06, Serge Jespers [EMAIL PROTECTED] wrote: So... euhm.. no one? Hey guys, I was wondering if anyone has already tried webcam color tracking inside Flash 8 or 9...? So not the difference motion tracking that you see everywhere but tracking one particular color. Or I should say range of colors... I started out with getColorBoundsRect but that doesn't seem to be accurate enough or I just picked the wrong color... So... 1) Has anyone done it before? And if so, do you have a source laying around that could get me on the right track? 2) How does one select the correct color? Thanks in advance for your massive replies ;-) Serge ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] masking a clip which uses the drawing api
Try placing your API elements in a holder clip and masking that. Some people create new clips each time they draw an element and you may be masking only one element - not really sure what your API is doing but worth a try. On 9/22/06, Helen Triolo [EMAIL PROTECTED] wrote: sounds like http://flash-creations.com/notes/dynamic_drawingapi.php#cutoutmask Helen Josh Santangelo wrote: I have a clip that I'm drawing into. That clip is masked by a shape or another clip, set in the IDE or at runtime. The clip which is drawn into does not appear masked. Making a mask from a clip which you draw into does seem to work, but I couldn't make it work if the mask I drew had a hole in it. -josh On Sep 18, 2006, at 12:53a, Janis Radins wrote: Masking with elements made up by drawing API works 100%, ive done it many times. What is it that doesnt work for you? 2006/9/15, Merrill, Jason [EMAIL PROTECTED]: Is it not possible to mask a clip into which you draw things using the drawing API? I'm not totally sure about masking, but in general, I think there are some bugs or conflicts with a movie clip drawn upon with the draw API and other elements of the movie. I'm not sure this is as related as you would like, but for example, I had an issue with one of those drawn-on movie clips which had another movie clip as a child, which had a textfield on it. It worked fine until the textfield was updated with new data - then the old text still showed, and the new text was also drawn over the top - so it looked like there were two overlapping textfields. If I separated the textfield from the clip being drawn on, it worked fine. I never could figure out the behavior, but I assumed it had to do with the clips and children of clips drawn on by the draw API and the way the player renders them/redraws them. In another case, portions of v2 components always displayed below clips which were drawn upon - the drawn on clips were always on top. Post again if you figure it out. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] btn action function with params
Just a small thing that I've always wondered... When you assign a function name to a button action, is there a way to send parameters to this function? eg. function doStuff(mc){ trace(mc); } //Option1. this is a short way of targeting the above function my_btn.onRelease = doStuff; //Option2. but you can't send parameters my_btn.onRelease = doStuff(mc); //does not work //Option 3. Usually I have to do this... my_btn.onRelease = function(){ doStuff(mc); //does not work } I know it's no biggie, but it would be nice to do option 2 somehow - Mick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] btn action function with params
I'm not sure that's really what I was after... Put simply, I just wanted to be able to call a function from a button action in one line of code without having to add a new function() action after the button. So just this (but sending a param to a function called doStuff)... my_btn.onRelease = doStuff; Withough having to go: my_btn.onRelease = function(){ doStuff(myParam); } On 9/29/06, Merrill, Jason [EMAIL PROTECTED] wrote: One way: function doStuff(mc){ trace(mc); } my_btn.clip = mc my_btn.onRelease = function(){ doStuff(this.clip); } Might also be a preferred to do with Delegate.create() Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mick G Sent: Friday, September 29, 2006 2:29 PM To: Flashcoders mailing list Subject: [Flashcoders] btn action function with params Just a small thing that I've always wondered... When you assign a function name to a button action, is there a way to send parameters to this function? eg. function doStuff(mc){ trace(mc); } //Option1. this is a short way of targeting the above function my_btn.onRelease = doStuff; //Option2. but you can't send parameters my_btn.onRelease = doStuff(mc); //does not work //Option 3. Usually I have to do this... my_btn.onRelease = function(){ doStuff(mc); //does not work } I know it's no biggie, but it would be nice to do option 2 somehow - Mick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flash transparent on top of Windows Media Player
Does anyone know if there is a way to embed flash transparent (wmode=transparent) on a layer above an embedded Windows Media Player active-x control? So it's like this... --Flash (wmode transparency) ---Windows Media play playing video -HTML page I've made a demo to achieve this and the Media Player itself is below the flash - the video playing is on top of the flash. Any ideas/workarounds? - Mick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Allow smoothing on imported jpeg:s
Foce a: _quality=best on your timeline and see if it helps (Not sure if it will for imported JPGs, but I've done this before to fix rotated jagged stage JPGs) On 10/10/06, Johan Karlsson [EMAIL PROTECTED] wrote: ... Which works as long as the project is a flash 8 project. ;) But I guess most projects these days are just that. -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] För ??? Skickat: den 10 oktober 2006 12:53 Till: Flashcoders mailing list Ämne: Re: [Flashcoders] Allow smoothing on imported jpeg:s use the BitmapData Object to draw the jpg - Original Message - From: Johan Karlsson [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, October 10, 2006 4:54 PM Subject: SV: [Flashcoders] Allow smoothing on imported jpeg:s Not sure if there is any other way but the only way I know to make transformations of external pictures to look good is to keep the main timeline of the level only a single frame long. However since a main timeline with a single frame doesn't wor that well with preloaders this requires you to have a movie with the sole purpose of loading the main movie... -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] För Johan Nyberg Skickat: den 10 oktober 2006 10:24 Till: flashcoders@chattyfig.figleaf.com Ämne: [Flashcoders] Allow smoothing on imported jpeg:s Hi everybody, anybody know if there is a way to use the allow smoothing functionality on imported jpeg:s? I want to be able to rotate imported jpeg:s, but they look awful, and there doesn't seem to be a way to switch on allow smoothing with action script. Is there a work-around? -- Varmfrontsgatan 1 128 34 Skarpnäck 070 - 407 83 00 08 - 37 16 73 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash transparent on top of Windows Media Player
if the answers is: hey dude, this is not going to work properly, ever, then please just completely remove wmode. It is getting people mad. It's not broken - people use it, look at the advertising industry using it on millions of pages/sites every day with their wonderful over the page transparent advertising... If you don't like it and it's not meeting your project's requirements of being consistent/stable enough then don't use it. ...and I don't think anyone could answer the ever remark. Now, if only there were a way to close a thread ;) My original subject seems to have steered a little off course. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash transparent on top of Windows Media Player
Sorry - I should have italicized my sarcasm :) On 10/11/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: It's not broken - people use it, look at the advertising industry using it on millions of pages/sites every day with their wonderful over the page transparent advertising... Wonderful? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] WinXP style skin for components
Has anyone seen skins for Flash UI Components that look like WinXP skins. I recall seeing some once that detected if you were on Windows or MacOS and it displayed the appropriate skin but can't find it. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Easy to learn and use 3d program
swift3D - used in many design agencies I've worked for, not for it's features - just easy to use and create simple flash 3D content. On 10/27/06, Mike Mountain [EMAIL PROTECTED] wrote: Cinema 4D by Maxon is both simple to use and very powerful M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan Nyberg Sent: 27 October 2006 08:50 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Easy to learn and use 3d program Hi, I'm looking for an easy to learn and use 3d program to create content for Flash. What are your suggestions? I want to do fairly simple animations, but I need something that are a bit more complex than say, Xara3d. -- Varmfrontsgatan 1 128 34 Skarpnäck 070 - 407 83 00 08 - 37 16 73 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] swf and domains, what domain made the call?
Perhaps when you instruct with what EMBED code to use on myspace, do it like this... EMBED src=mydomain.com/myfile.swf?id=123 That ID could be a unique ID to a certain account. In flash you can do whatever database calls you need and check if that userID has the access you need. If the swf is called without the ID, then don't allow it. OR... I'm not sure if this will work, but you could use... EMBED src=mydomain.com/myfile.php - your php could check who the referrer is, and do whatever checking you need, then load your SWF and spit out a SWF-file type. - Mick On 10/28/06, Diversity [EMAIL PROTECTED] wrote: Not quite what I am looking for. Here is my situation. I have a swf on my server. This swf will be allowed to be posted on other sites such as myspace (if the user that created the account has a certain account type). Since it can be posted on myspace the actual swf will be in an embed tag on myspace with an src pointing to my server. What I need to do is once this swf gets called is see what the referring domain is and see if the creator of that content has an account that allows embedding on external sites. if(domain == myserver || domain == www.myserver){ // serve up content this is on our server no account check needed } else{ // WAIT!!! check if this content creator can embed outside of our domain } I hope I got my point across and I hope what i am trying to accomplish is actually doable. I tried localConnections domain function but that gave me the domain of the swf which was on my server not the domain of the html file that called/embedded the swf. Jim Berkey wrote: Would this do what you are looking for? http://www.mochibot.com jimbo *** REPLY SEPARATOR *** On 10/28/2006 at 6:24 PM Diversity wrote: Anyone with any suggestions? Diversity wrote: With flash and its cross domain security is there anyway for me to read what the calling domain is of the swf? Example swf located on my server, being called from domain.com. How can I see that its domain.com calling the swf and not myserver.com making the call? _url gives me the swf location not the calling domain. Thanks, Diversity ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Stage Height Bug?
It works OK for me without the onEnterFrame... I think what's happening is your Flash IDE SWF preview window is being cropped for display. Is the bandwidth profiler open and cropping your SWF? Have you tried outputting your trace to the stage and previewing it in a HTML file? On 11/17/06, Helmut Granda [EMAIL PROTECTED] wrote: I am sure this has come up before but I couldnt find any specific answer to this bug. If i create a blank movie and post this scrit trace(Stage.height); it will give 100 less than the actual size. but if you do this: this.onEnterFrame = function() { trace(Stage.height); } it will trace the true size after the first enterFrame. Ideas? TIA -- ...helmut helmutgranda.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Searching for Generator-like utility
Most solutions I've seen (such as the one Jim posted) only support converting Drawing API content to images. I've heard talk of people using ImageMagick or some type of screencapture software to convert what is displayed in the SWF to an image but am yet to see any examples. Let me know if you come across a solution - I've been looking into this for a while. On 11/17/06, Jim Robson [EMAIL PROTECTED] wrote: I located a methodology for generating PNGs from Flash at runtime here: http://jerryscript.hostrocket.com/flash/draw/SWFDrawing2JPEG.html It makes use of the GD and Ming libraries. Has anyone on the list used this method, or something similar? I'd be interested in any lessons you learned through your experience - advantages, disadvantages, gotcha's, etc. Thanks -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Robson Sent: Thursday, November 16, 2006 10:04 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Searching for Generator-like utility Remember Macromedia Generator? With the Generator extensions in the Flash authoring environment, you could create .swt files with placeholders for dynamic data and images. The Generator Server could then render these at runtime into .swf, .jpg, .gif, or .png files. With the advent of Flash MX, Generator was phased out. Does anyone know of a way to implement the functionality of Generator today? Specifically, I'm looking to convert Flashs file to .png files at runtime. Any thoughts / suggestions? -Jim ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] swf and referring domain
Two lines... *import* flash.*external*.*ExternalInterface *var thisDomain:String = flash.external.ExternalInterface(eval, location.href); I always forget that damn import and it kills me wasting time debugging it ;) On 11/17/06, Tyler Wright [EMAIL PROTECTED] wrote: Dave, If you were just using Flash8 ... it's beautiful. var thisDomain:String = flash.external.ExternalInterface(eval, location.href); one line, so sweet. Tyler On 11/15/06, Dave Segal [EMAIL PROTECTED] wrote: Is there a way to find the domain of the page that loads my swf. For example, someone embeds an swf served from my server on their www.myspace.com http://www.myspace.com/ page. Is there is way for me to determine that the request is coming from myspace.com at runtime? A search of the archive revealed this thread that describes exactly the problem that I am facing but I didn't see any solution. http://chattyfig.figleaf.com/pipermail/flashcoders/2006-October/175064.html I have the option of using AS 3 if it provides a solution. Thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] RE: setInterval and IE
I'm sure I've used setInterval at least a dozen times in eyeblaster OTP/banners and don't recall ever having an issue. As for eyeblaster in general, I'm so glad I don't have to touch that damn thing any more ;) On 11/30/06, Stephen Ford [EMAIL PROTECTED] wrote: Using setInterval in a flashmovie that is loaded into an eyeblaster content management system. The movie is an over the page advertisement and apparently causes issues with IE (if using setInterval) because eyeblaster puts the ad onto the web page with a transparent window mode. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] setRGB question
Even easier... mymc.setRGB(0x00); //set to black mymc.setRGB(undefined); //remove black On 11/30/06, eka [EMAIL PROTECTED] wrote: Hello :) use Color.setTransform method to clear the color effect :) var c:Color = new Color(mc) ; c.setRGB(0x00) ; c.setTransform ({ra:100, ga:100, ba:100, rb:0, gb:0, bb:0}) ; EKA+ :) 2006/11/30, dan [EMAIL PROTECTED]: Hi guys Im using the setRGB command to change a color of a movieclip to black Now... How do I change it back to its orig color? 10x d dan ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] setRGB question
Ooops I think that syntax is wrong :) I was thinking of the tweening classes colorTo :) On 11/30/06, Mick G [EMAIL PROTECTED] wrote: Even easier... mymc.setRGB(0x00); //set to black mymc.setRGB(undefined); //remove black On 11/30/06, eka [EMAIL PROTECTED] wrote: Hello :) use Color.setTransform method to clear the color effect :) var c:Color = new Color(mc) ; c.setRGB(0x00) ; c.setTransform ({ra:100, ga:100, ba:100, rb:0, gb:0, bb:0}) ; EKA+ :) 2006/11/30, dan [EMAIL PROTECTED] : Hi guys Im using the setRGB command to change a color of a movieclip to black Now... How do I change it back to its orig color? 10x d dan ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] xml thumbnail gallery reverse order problem
Does this help? for(var i=Array.length; i=0; i--){ //loop backwards } On 12/1/06, Scott Morgan [EMAIL PROTECTED] wrote: You could also use the reverse method which reverse's the order of your array: myArray.reverse(); and then loop through it like you normally would. Six of one, half-dozen of the other. Scott --- http://blog.socttgmorgan.com - Date: Fri, 01 Dec 2006 09:04:31 -0500 From: Merrill, Jason [EMAIL PROTECTED] Subject: RE: [Flashcoders] xml thumbnail gallery reverse order problem To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii i'm kind of a noob, so there is probably a really simple solution i'm overlooking. i was thinking: how would one reverse the order in which flash is processing/placing the thumbs? or maybe instead of using my script, there's some kind of for loop that might work? Note that a loop like this: for(var i=0; iArray.length; i++){ } Will go through forward through the array. However, a loop like this: for(var i in Array){ } Will do the exact same thing, only backwards through the array. Take this for example - paste this into a frame script and run it: myArray = [2,43,200,4776,0,68]; for(var i=0; imyArray.length; i++){ trace(position: +i+ value: +myArray[i]) } trace(==) for(var i in myArray){ trace(position: +i+ value: +myArray[i]) } Note in your code where you are calling this: function thumbnails_fn(k) - At a quick glance I could finds the function definition, but not where you called it from - I'm lazy - you posted a lot of code to mull over. But I suspect the value of k is going down, not up - check into the way you are calling it. for some reason flash does things in reverse order Flash only does what you tell it to do. :) Hope that's useful to you. Jason Merrill Bank of America Learning Organizational Effectiveness The information contained in this message is confidential. It is intended to be read only by the individual or entity named above or their designee. If the reader of this message is not the intended recipient, you are hereby notified that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] componets below mask
I believe this is because components use system fonts and system fonts do not show up in masks - if the components allow you to embed fonts, this should fix the problem. On 12/3/06, learner [EMAIL PROTECTED] wrote: Hello all, I have kept few components on the stage, like buttons, label etc. And have assigned a label text and button label to them. But when I keep a mask on them, I can not see the labels there. Also the datagrid's content which is populated with the dataprovider is not visible. I know that for dynamic text filed we need to embed the font to display them under the mask but what would be the solution in case of component. Regards, PS ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] File-name operand bug workaround
Does anyone know of a work-around to this bug: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833 I'm getting javascript errors in IE using externalInterface and SWF file names that have a hyphen in them. Unfortunately I'm working with a content management system that renames SWF's to files with hypens in them. This is not a well known bug but I've seen many threads with people getting these JS errors in IE using externalInterface. It's caused me grief quite a few times. Usually renaming my SWF without a hypen works except in this case when I can't. - Mick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] File-name operand bug workaround
This bug is actually more weird than you would think - it's not the passing of a string with a hypen that is causing the problem - it's simply a SWF with a hyphen calling any externalInterface call. Try this test: create a new Flash file - make sure you name it with a hypen in it eg. test-1.swf Then put this code in it... import flash.external.* ExternalInterface.call(alert,Hello); Run it in IE embedded in a HTML page. You will get a javascript error. Firefox no error. (I think only Flash Player 9 causes this error but unsure) Now re-publish your file without a hypen in it and run it again from IE and it will work fine. On 12/6/06, T. Michael Keesey [EMAIL PROTECTED] wrote: Well, one idea that comes to mind is that you could escape the filename (using the escape() function) before sending it through ExternalInterface, and then unescape it in JavaScript. Hyphens do not get converted by ActionScript's escape() function, but you can force it like so: ExternalInterface.call(myJSFunc, escape(s).replace(-, %2D)); Then, in JavaScript: function myJSFunc(filename) { filename = unescape(filename); // Continue } On 12/6/06, Mick G [EMAIL PROTECTED] wrote: Does anyone know of a work-around to this bug: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833 I'm getting javascript errors in IE using externalInterface and SWF file names that have a hyphen in them. Unfortunately I'm working with a content management system that renames SWF's to files with hypens in them. This is not a well known bug but I've seen many threads with people getting these JS errors in IE using externalInterface. It's caused me grief quite a few times. Usually renaming my SWF without a hypen works except in this case when I can't. - Mick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- T. Michael Keesey Director of Technology Exopolis, Inc. 2894 Rowena Avenue Ste. B Los Angeles, California 90039 -- The Dinosauricon: http://dino.lm.com Parry Carney: http://parryandcarney.com ISPN Forum: http://www.phylonames.org/forum/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Need to reload page ads on Flash event clicks.
I'm not sure how 247realmedia works but I know eyeblaster have some custom code that lets you communicate from one banner to another via their extension. You might want to check with them. Otherwise look into localconnection... http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16243 http://www.adobe.com/support/flash/action_scripts/local_connection_objects/ On 12/7/06, Marlon Harrison [EMAIL PROTECTED] wrote: Hi again Sorry for omitting that info. The ads are served through 247realmedia's OAS. The ads are typically swfs or jpegs, but they're not loaded into the flash area. The ad units exist in the page; a banner, leaderboard, and island. I have complete control over the coding of the page. I just need to make the ads to refresh at certain events in the flash area. I've seen some of the output from OAS, and typically its a document.write statement that puts the ad in the page. Does that help? Thanks again On 12/7/06, Alias™ [EMAIL PROTECTED] wrote: If you could provide more info about how the ads are served, that would help people to answer your question. Are you serving these ads from doubleclick/tangozebra/atlas/eyeblaster/other? Are they swfs/gifs/jpegs/all of the above? Do you have full control of the page? HTH, Alias On 07/12/06, Marlon Harrison [EMAIL PROTECTED] wrote: I have a page with a fairly detailed Flash app embedded. There are also 3 ad units on this page. I'd like to setup the swf to force the three ad units to refresh when a user navigates through to a new section of the flash app. I assumed I'd need to setup iframes around the adds, then call some js function from Flash which performs a document.location action on the iframes, and it seems to be working in Firefox, but not IE. Has anyone needed to do something similar and maybe offer some insight? Thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Need to reload page ads on Flash event clicks.
Sorry - I was assuming all banners were SWFs - in which case you could use localconnection to run a loadMovie in the banners you want to change (loading another SWF to the root level of each swf). On 12/7/06, Seth Vanbooven [EMAIL PROTECTED] wrote: As you've stated, set up your ads as IFRAME's and give them unique ID's. Then, create a JavaScript like below to change the SRC of the IFRAME's and call that function from your FLA. function reloadAds() { document.getElementById('adframe1').src = uri1; document.getElementById('adframe2').src = uri2; document.getElementById('adframe3').src = uri3; } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marlon Harrison Sent: Thursday, December 07, 2006 10:11 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Need to reload page ads on Flash event clicks. I'm sorry I guess I'm not explaining things clearly. I don't need the banners to communitcate with each other. I need to setup some solution, I'm sure with the help of javascript, that will trigger the defined ad units on teh page to refresh, independent of the entire page reloading. For example, assume I have a page called page.html, which has a FlashApp embedded. If I'm moving some section A to section B in my flash app, I'd like to force the ads on page.html to all refresh without reloading the whole page again. Is that clearer? On 12/7/06, Mick G [EMAIL PROTECTED] wrote: I'm not sure how 247realmedia works but I know eyeblaster have some custom code that lets you communicate from one banner to another via their extension. You might want to check with them. Otherwise look into localconnection... http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16243 http://www.adobe.com/support/flash/action_scripts/local_connection_objec ts/ On 12/7/06, Marlon Harrison [EMAIL PROTECTED] wrote: Hi again Sorry for omitting that info. The ads are served through 247realmedia's OAS. The ads are typically swfs or jpegs, but they're not loaded into the flash area. The ad units exist in the page; a banner, leaderboard, and island. I have complete control over the coding of the page. I just need to make the ads to refresh at certain events in the flash area. I've seen some of the output from OAS, and typically its a document.write statement that puts the ad in the page. Does that help? Thanks again On 12/7/06, Alias(tm) [EMAIL PROTECTED] wrote: If you could provide more info about how the ads are served, that would help people to answer your question. Are you serving these ads from doubleclick/tangozebra/atlas/eyeblaster/other? Are they swfs/gifs/jpegs/all of the above? Do you have full control of the page? HTH, Alias On 07/12/06, Marlon Harrison [EMAIL PROTECTED] wrote: I have a page with a fairly detailed Flash app embedded. There are also 3 ad units on this page. I'd like to setup the swf to force the three ad units to refresh when a user navigates through to a new section of the flash app. I assumed I'd need to setup iframes around the adds, then call some js function from Flash which performs a document.location action on the iframes, and it seems to be working in Firefox, but not IE. Has anyone needed to do something similar and maybe offer some insight? Thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options
Re: [Flashcoders] Extracting SWF height and width from php
On idea... You could use Stage.width and Stage.height in Flash - send those variables via Javscript/externalInterface and use a javascript function to adjust the height/width of the table. On 12/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is it possible to extract the height and width of a swf file with a command in php? Or is there another way to do this. it's because we want to make a table height dynamic to the size of the swf file. Just curious? Thanks, patrick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] frame 1 - stop() not working with simulate download
I've seen this behavior when using if(bytesLoaded==bytesTotal) and not checking if the bytesLoaded is 1K (or some small file size) to be sure it has started loading. So... use-- if(bytesLoaded==bytesTotal bytesLoaded1024) On 12/12/06, John Olson [EMAIL PROTECTED] wrote: I'm not sure why I never noticed this after so many years, but I was doing a demo for someone the other day and Flash was doing some weird things. It was an old school preloader demo with a stop() and an onEnterFrame loop on frame 1 that checked the bytes loaded and bytes total. I was bandwidth testing and it kept ignoring my stop() on frame 1. It worked fine if I was testing the movie normally, but would run right past the stop() on frame 1 when I did the Simulate Download. For my demo, I just moved everything to frame 2 and it worked fine, but it was extremely odd. I was more puzzled because I'm not sure how I didn't see this before (or don't recall it happening before). Is this a known issue with Simulate Download? I know there are issues that Simulate Download doesn't clear out all variables and objects from memory, but I found it odd that it was skipping/ignoring the stop() action. - John ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash Game - Post Encrypted Score to server side script
You can also try checking the HTTP referrer in PHP to make sure people can only post data to your PHP script from your page on your site. On 12/22/06, JulianG [EMAIL PROTECTED] wrote: Thanks John! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] export images from flash
http://www.quasimondo.com/archives/000572.php On 1/8/07, badi malik [EMAIL PROTECTED] wrote: hi all, i'm wondering if it's possible to export a jpg from flash and post it to a server for an application like Image Magick to composite...? thanks much ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] importing large string into Flash
And how will this solve my question and... to import this data into Flash to improve download times Importing an XML or TXT file into flash would be the same download time right? They're both text files. I know how to import the data. I'm just looking to see if there's ways to compress the data to 1)save bandwidth/file size 2)speed up download times Although as Zeh mentioned - the standard download protocols will compress the data anyway so it may not be an issue. On 1/10/07, baskar subramanian [EMAIL PROTECTED] wrote: hi use xml. when u call a php that php will echo the datas as xml content then u can read as normal xml. bye regards palanivel subramanian On 1/10/07, Mick G [EMAIL PROTECTED] wrote: I have external texts file that I'm loading into Flash containing strings like this content=1243,24,2423423,4235436,64564,64,45,6767867,8768,76... etc. Many of these text files I'm importing are over 100K. Can anyone things of a way to import this data into Flash to improve download times (ie, some type of compression that decompresses in Flash, etc.). I originally had this data in a database and called this data via AMFPHP and the data transfer was fast but for various hosting reasons I have to keep this data as text files. any ideas? - Mick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] hell with swapDepths
Keep all the clips that you want to perform swap depths inside a holder MC, that way when you're swapping depths it will only swap depths with elements inside that holder MC, not other elements. On 1/12/07, sam rolfe [EMAIL PROTECTED] wrote: Ok, so i thought I could use swapDepth in my class files with a heap of clips on stage, apparantly not. Does anyone have any tips on getting this going ? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Loading international language XML into Flash
I have a file that needs to be able to load various languages into the Flash via XML (Chinese, Japanese, Russian, etc.) Any tips? - Is this as simple as using system fonts for all dynamic text fields - If I want smooth fonts, do I just need to find a font to embed for each language (in which case I would need a seperate SWF for each language) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] crossdomain issues -- do they exist?
I thought the crossdomain policy file wasn't supported in Flash player 6?? You have to use: System.security.allowDomain http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213 or if you have control of both servers, use a proxy file (or the shim method) to load the file on the external domain into the same domain as the SWF. See here... http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16520 On 1/16/07, Thomas Fowler [EMAIL PROTECTED] wrote: Is the server environment for sportsillustrated.cnn.com clustered/load balanced? Maybe the crossdomain.xml file doesn't exist on one or more machines in the cluster? - Original Message - From: Perdue, Blake [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, January 16, 2007 4:01 PM Subject: RE: [Flashcoders] crossdomain issues -- do they exist? I added it after David's email -- it didn't work with or without it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Fowler Sent: Tuesday, January 16, 2007 4:51 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] crossdomain issues -- do they exist? You don't seem to be calling anything from the secure link on i.a.cnn.net but your crossdomain.xml file has secure set to true for that domain. Could that be the issue? - Original Message - From: Perdue, Blake [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, January 16, 2007 3:43 PM Subject: RE: [Flashcoders] crossdomain issues -- do they exist? Hmm, we have that file in place, and I still get the error message: http://sportsillustrated.cnn.com/crossdomain.xml -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Brunswick Sent: Tuesday, January 16, 2007 4:35 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] crossdomain issues -- do they exist? You need to have a crossdomain.xml file at the root of the server hosting the swf The file looks like so ?xml version=1.0 ? !DOCTYPE cross-domain-policy - cross-domain-policy allow-access-from domain=your domain secure=true / /cross-domain-policy David Brunswick Senior Multimedia Developer/OLP Administrator FedEx Customer Information Services Customer Service Organizational Learning 901-434-6605 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perdue, Blake Sent: Tuesday, January 16, 2007 3:22 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] crossdomain issues -- do they exist? So, this is the error message I get in Flash 6. Is there anyway around this issue? *** Security Sandbox Violation *** Connection to http://sportsillustrated.cnn.com/.element/swf/3.0/sect/MAIN/t1.xml?c=0.6 83000534772873 halted - not permitted from http://i.a.cnn.net/si/.element/swf/3.0/sect/MAIN/t1_tall_v6.swf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perdue, Blake Sent: Tuesday, January 16, 2007 4:03 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] crossdomain issues -- do they exist? We want to have this scenario for a homepage flash piece: - SWF is loaded off server A - SWF loads an XML config file off of server B - SWF loads images off of server C I have built this scenario and tested and it works fine. Some have said that this will not work due to crossdomain issues with Flash Player 6. Is this true? Does anyone know what these issues may be? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or
Re: [Flashcoders] Loading .html as a String variable
If you had a server-side language like PHP you could create a script to add myString= to the start of the file then load it with loadvars. On 1/16/07, Andrew Murphy [EMAIL PROTECTED] wrote: Hi. Does anyone know of a way to load an .html document as a simple String variable, so it can be parsed rather than displayed like a webpage? There's the good-ol-XML object, but if the webpage you're loading isn't exactly XML compliant, it won't load, correct..? Thanks. :) -[a]- -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.16.13/632 - Release Date: 16/01/2007 4:36 PM ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] ExternalInterface.call - javascript error
Try looking into this JS/Flash bug - it's a strange one but gets me once and a while... http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833 On 1/23/07, Nick Zotta [EMAIL PROTECTED] wrote: I created my own swfobject kind of javascript class that uses document.write() to put my SWF object into web page. IDs and NAMEs are unique. On 1/23/07, John VanHorn [EMAIL PROTECTED] wrote: also, make sure that the id/name of the object/embed tag is unique in the dom. id conflicts between two elements will give you this error, too. how are you embedding your swf? object/embed tags? swfobject? On 1/23/07, Nick Zotta [EMAIL PROTECTED] wrote: Hello flashcoders, Does anyone know the cause of the javascript error: Object doesn't support this property or method when using ExternalInterface.call() to comunicate between Flash and Javascript? My javascript function is triggered, but before executing its actions, a javascript error popup appears with the message :Object doesn't support this property or method. Even if the javascript function is blank (nothing to execute), the javascript error still appears. No javascript error in Firefox or Opera, but only in IE (6 and 7). I get this error both locally and on the webserver. All the tests were made with FlashPlayer 9. Thanks a lot, Nick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- John Van Horn [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] ExternalInterface.call - javascript error
My swf filename only contains small capital letters. Yes but how do you get small caps into a filename??? ;) On 1/23/07, Zeh Fernando [EMAIL PROTECTED] wrote: But they have. There are capital glyphs, and small capital glyphs (smallcaps). They're not capital glyphs with a different size, mind you, as there's change in shape size but not in weight. http://en.wikipedia.org/wiki/Smallcaps The more you learn... Zeh small capital letters? I didn't know capital letters had sizes! =P Sorry, couldn't resist. Intelligent discussion may now continue. :) -Andy On 1/23/07, Nick Zotta [EMAIL PROTECTED] wrote: Thanks for the link, I've already seen this bug on the net, but it is not my case. My swf filename only contains small capital letters. On 1/23/07, Mick G [EMAIL PROTECTED] wrote: Try looking into this JS/Flash bug - it's a strange one but gets me once and a while... http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833 On 1/23/07, Nick Zotta [EMAIL PROTECTED] wrote: I created my own swfobject kind of javascript class that uses document.write() to put my SWF object into web page. IDs and NAMEs are unique. On 1/23/07, John VanHorn [EMAIL PROTECTED] wrote: also, make sure that the id/name of the object/embed tag is unique in the dom. id conflicts between two elements will give you this error, too. how are you embedding your swf? object/embed tags? swfobject? On 1/23/07, Nick Zotta [EMAIL PROTECTED] wrote: Hello flashcoders, Does anyone know the cause of the javascript error: Object doesn't support this property or method when using ExternalInterface.call() to comunicate between Flash and Javascript? My javascript function is triggered, but before executing its actions, a javascript error popup appears with the message :Object doesn't support this property or method. Even if the javascript function is blank (nothing to execute), the javascript error still appears. No javascript error in Firefox or Opera, but only in IE (6 and 7). I get this error both locally and on the webserver. All the tests were made with FlashPlayer 9. Thanks a lot, Nick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- John Van Horn [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http
[Flashcoders] Flash wish: Omit comments on publish
I've always wondered why there is no option to omit comments when publishing a SWF. We all try comment our code as much as possible and at times it can double (or more) the number of lines of code in an application. This would especially make sense when using other people's classes or extensions (which are normally highly commented for everyone to understand). Am I wrong in thinking that comments are included in a SWF when it's published? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash wish: Omit comments on publish
When you decompile a SWF, you can see the comments right? On 1/25/07, Hans Wichman [EMAIL PROTECTED] wrote: Hi, I don't think the comments are included in the swf. greetz JC On 1/25/07, ben gomez farrell [EMAIL PROTECTED] wrote: U.I could be wrong, but doesn't omit trace actions in the publish settings do this? ben Mick G wrote: I've always wondered why there is no option to omit comments when publishing a SWF. We all try comment our code as much as possible and at times it can double (or more) the number of lines of code in an application. This would especially make sense when using other people's classes or extensions (which are normally highly commented for everyone to understand). Am I wrong in thinking that comments are included in a SWF when it's published? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash wish: Omit comments on publish
OK - thanks for clarification, I must be going a little mad :) On 1/25/07, Martin Wood-Mitrovski [EMAIL PROTECTED] wrote: comments arent compiled. dont worry about it. :) Mick G wrote: Am I wrong in thinking that comments are included in a SWF when it's published? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Invisible re-draw
Will updateafterevent() help? http://www.webpronews.com/webdevelopment/webapplications/wpn-27-20040521updateAfterEventExplained.html On 1/25/07, Micky Hulse [EMAIL PROTECTED] wrote: Hello. True or false: A Flash banner will not re-draw on the screen, via browser for example, if there is no animation happening? If above is true, is it possible to make flash re-draw even without animation happening? Sorry if silly question... just trying to trouble-shoot some web probs. :) TIA, Cheers, Micky -- Wishlist: http://snipurl.com/vrs9 Switch: http://browsehappy.com/ BCC?: http://snipurl.com/w6f8 My: http://del.icio.us/mhulse ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] ExternalInterface with multiple swfs
I've had this working fine - just make sure you use different IDs for each Flash module. On 1/29/07, Thomas Fowler [EMAIL PROTECTED] wrote: All- A recent post spurred my memory of an issue I had a while back. Has anyone experienced any issues with having two SEPARATE SWFs in an HTML page (using SWFObject) calling JavaScript methods via ExternalInterface? I ran into this last November and didn't find a solution. What was happening is the first swf loaded was able to call the JS methods, but the second was unable. Thanks, Thomas ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Remove / Hide a video component
I just did a quick test and dragged a component on stage and set myvid._visible = false; and it seemed to hide the component just fine Failing that you could always change it's x or y position to somewhere off stage like myvid._x = -1000 On 1/30/07, Paul Steven [EMAIL PROTECTED] wrote: I have a flash 8 movie that is composed of 60 sections and hence there are 60 labels. Some of these sections include a video clip playing and I have used the Flash 8 FLVPlybk component. What I would like to do is have this on stage in the correct position and then hide or remove it for sections that do not have an associated video clip. I have tried the following with no joy where my_FLVPlybk is the instance name: my_FLVPlybk._visible = false; my_FLVPlybk.contentPath = ; I would appreciate any advice on how to remove the video for sections that do not have video. For sections that do have a video I am setting the content path as follows: my_FLVPlybk.contentPath = media/video/1_0.flv; Thanks in advance Paul ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Need a volunteer Flash Programmer
This is very small and non-profit. I cannot pay you Classic! You may wish to read this... http://positionrelative.wordpress.com/2007/01/23/craigs-pissed/ On 1/30/07, Swivelgames Support [EMAIL PROTECTED] wrote: Hey, I am looking for some US based or English speaking Flash Programmers to help out with me on a small project. This is very small and non-profit. I cannot pay you, but if you have a website and information then I can add you to my contact page as a member in the project and add your website to the affiliates list.Heres what I need...I need a Flash Media Player with the following features: - A watermark that cannot be covered up in any mode (probably just a 20height x 300width area at the bottom of the program so I can add alogo at the bottom using an external file)- 3 modes:- Music mode: Mode with just the basic controls for music player and the list of songs on the playlist - Preferable height x width would be 115-130 x 300-350- Video mode: Just the video on bottom with the basic controls on top. - Preferable height x width would be 450-500 x 450-500 - Fullscreen mode: Music and Video, it will have the controls in the top left corner, small, and the playlist or the video in the rest of the screen - Preferable height x width would be... erm... Fullscreen? 100% x 100% xD- Compatible with M4A, MP3, WMA, M4V, AVI, and WMV audio and video files.- Compatible with M3U, XML(preferably), PLS, and any a short list of other common playlist files. - The text in the flash variable f should be used to load the audio, video, or playlist file using, say, ./load.php?file=$f or something. - This will give me the possibility of using a PHP to my advantage so I can use a MySQL DB to save video and music files and not worry aboutthe downloading and distributing of songs and videos illegally.- And a few others.I may or may not pay you, give me a wanted salary and I may give you commission, but I do not have money atm to give away. It would be great if someone could help me though, and I am looking for someone who can voluntarily help me through out the project when I need help.Thanks for your time, if this is possilbe thanks ALOT!And if I do end up getting money off this I might be able to try and find a way to pay you.Of course, as I said, all credit goes to you. You will be added to my Contacts page as a member of the projecteven if you will have nothing to do with me after this. You can add any info you want on the contacts page,including, email, name, location, job, resume, etc... _ Live Search: Better results, fast http://get.live.com/search/overview___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] to get last browsed web page before current
If you have access to PHP you can use http referrer (which isn't 100% effective, but one of the better solutions) $ENV{'HTTP_REFERER'} I'm not sure how well that will work with a Flash application but potentially you could send that to flash via a flashvar in PHP from your page. On 2/7/07, Jason Boyd [EMAIL PROTECTED] wrote: This has disadvantage that if the user has javascript disabled, might fail silently. Though I know of no other way to do this. On 2/7/07, Jim Berkey [EMAIL PROTECTED] wrote: I've used this on a flash button embedded in an html page with success: on (release) { getURL(javascript:window.history.go(-1)); } jimbo *** REPLY SEPARATOR *** On 2/7/2007 at 9:11 PM mac wrote: Hello, Do you know how to get last browsed web page before current ? Is it possible to request it from web browser or it should be used any trick. Do you have any idea ? best regards Maciek ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com 7 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] clickTags and sending variables to aspx
You're probably better off appending them manually so you can defined exactly which vars to send... on (release) { var1 = append=this_to_be_appended_to_URL; getURL(clickTag+var1, _blank, GET); trace (var1); } if you need the var names as part of the URL string you may need... on (release) { var1 = append=this_to_be_appended_to_URL; getURL(clickTag+?var1=+var1, _blank); trace (var1); } On 2/13/07, Toby Morey [EMAIL PROTECTED] wrote: Hey there Does anyone know how to append variables to an .aspx URL via a clickTag button on a banner ad? I haven't a clue (just a designer pretending to be a coder ;) At the moment the script I have on the button is: on (release) { var1 = append=this_to_be_appended_to_URL; getURL(clickTag, _blank, GET); trace (var1); } And then of course I'm letting whoever's hosting the banner ad know what the base default.aspx URL is... cheers T ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] clickTags and sending variables to aspx
I didn't see the append=. Let me try again... on (release) { var1 = append=this_to_be_appended_to_URL; getURL(clickTag+?+var1, _blank); trace (var1); } On 2/13/07, Mick G [EMAIL PROTECTED] wrote: You're probably better off appending them manually so you can defined exactly which vars to send... on (release) { var1 = append=this_to_be_appended_to_URL; getURL(clickTag+var1, _blank, GET); trace (var1); } if you need the var names as part of the URL string you may need... on (release) { var1 = append=this_to_be_appended_to_URL; getURL(clickTag+?var1=+var1, _blank); trace (var1); } On 2/13/07, Toby Morey [EMAIL PROTECTED] wrote: Hey there Does anyone know how to append variables to an .aspx URL via a clickTag button on a banner ad? I haven't a clue (just a designer pretending to be a coder ;) At the moment the script I have on the button is: on (release) { var1 = append=this_to_be_appended_to_URL; getURL(clickTag, _blank, GET); trace (var1); } And then of course I'm letting whoever's hosting the banner ad know what the base default.aspx URL is... cheers T ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Art oriented uses/examples of Flash
Web cam expirements (I consider these art) http://incomplet.gskinner.com/ 3D simulated art experiments http://www.levitated.net/ On 2/14/07, Iv [EMAIL PROTECTED] wrote: Hello Roy, http://www.conclave.ru RP Nice to see the links that people are sharing @ best Flash projects. If RP it's not too much OT, I'd be very interested in links that folks may have RP to specifically art-oriented projects (e.g fine RP art/conceptual/performance/installation type stuff). -- Ivan Dembicki __ [EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] handling non-western characters in Flash
I did this for a project recently... - Used XML files (different one for each language) - Use device fonts (embedding fonts for most languages is not an option... eg. Japanese font files would add massive file size) On 2/15/07, Michael Mudge [EMAIL PROTECTED] wrote: It'll take a ton of space, but try embedding a font that supports all the characters you need. Bitstream Cyberbit is a unicode TTF that has practically everything. As far as I can tell, Flash supports UTF8, which is an 8-bit unicode format... Files, variables, etc should all be in this format. Or, you can paste the non-western charaters straight in to Flash and they'll work fine... You can even save files this way; they'll be in the UTF-8 format. I have all manner of oriental characters working on my chat program without any extra work, except that the viewing machine needs to have the right font installed. - Kipp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Donald Desloge Sent: Thursday, February 15, 2007 10:48 AM To: Flashcoders mailing list Subject: [Flashcoders] handling non-western characters in Flash I've got a client who wants to have multiple language support. I was wondering if there is a preferred way, for those who have done this before, for handling non-western characters in Flash? Any advice? __ __ Don't get soaked. Take a quick peak at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/ #loc_weather ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/ flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] handling non-western characters in Flash
The problem is that some other asian language fonts for example could be 200K. There's lots of characters in some languages ;) On 2/15/07, Donald Desloge [EMAIL PROTECTED] wrote: I like the XML idea, have one for every language. You mentioned using device fonts instead of embedding them, have you ever tried this with shared fonts? Maybe have on font per shared library and load on demand the font that you need? Donald - Original Message From: Mick G [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, February 15, 2007 2:20:20 PM Subject: Re: [Flashcoders] handling non-western characters in Flash I did this for a project recently... - Used XML files (different one for each language) - Use device fonts (embedding fonts for most languages is not an option... eg. Japanese font files would add massive file size) On 2/15/07, Michael Mudge [EMAIL PROTECTED] wrote: It'll take a ton of space, but try embedding a font that supports all the characters you need. Bitstream Cyberbit is a unicode TTF that has practically everything. As far as I can tell, Flash supports UTF8, which is an 8-bit unicode format... Files, variables, etc should all be in this format. Or, you can paste the non-western charaters straight in to Flash and they'll work fine... You can even save files this way; they'll be in the UTF-8 format. I have all manner of oriental characters working on my chat program without any extra work, except that the viewing machine needs to have the right font installed. - Kipp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Donald Desloge Sent: Thursday, February 15, 2007 10:48 AM To: Flashcoders mailing list Subject: [Flashcoders] handling non-western characters in Flash I've got a client who wants to have multiple language support. I was wondering if there is a preferred way, for those who have done this before, for handling non-western characters in Flash? Any advice? __ __ Don't get soaked. Take a quick peak at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/ #loc_weather ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/ flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. http://tools.search.yahoo.com/toolbar/features/mail/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com