[Flashcoders] navigateToURL or getURL and pop-up blocking
I have a client Flash AS3 project where I need to open a new window from within Flash. I won't have any control over the html wrapper for the SWF so I can't use javascript within the HTML page. I've read suggestions about using Javascript:window.open but seems that will get blocked as well. Any suggestions? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] swfobject still preferred method?
It changed names, and then came back to SWFobject. 2.0 is in beta now. http://blog.deconcept.com/2007/10/02/swfobject-2-0-beta/ On 10/18/07, Count Schemula [EMAIL PROTECTED] wrote: Is swfobject still the preferred method of publishing flash files? For some reason I thought I heard there was a newer project he was either working on, supporting, or recommending? -- count_schemula ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] frame 1 - stop() not working with simulate download
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
Re: [Flashcoders] frame 1 - stop() not working with simulate download
It's not an issue of getting the correct size, its that the Flash file doesn't seem to obey the stop() on frame 1 when doing a simulate download test. Steps: 1. Create a new Flash file. 2. On frame 1, add stop(); trace(start); 3. On frame 5, add stop(); trace(stopped); Test the movie by pressing control-enter. output: start Use simulate download (control-enter again), and for some reason, flash skips the stop action on frame 1. output: start stopped So Flash traces start on frame 1 actionscript, but ignores the stop(). I can work around the problem, but its something that I didn't see before. - John On 12/12/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Message: 11 Date: Tue, 12 Dec 2006 11:35:25 -0800 From: Mick G [EMAIL PROTECTED] Subject: Re: [Flashcoders] frame 1 - stop() not working with simulate download To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 -- Message: 12 Date: Tue, 12 Dec 2006 11:39:15 -0800 From: Steven Sacks | BLITZ [EMAIL PROTECTED] Subject: RE: [Flashcoders] frame 1 - stop() not working with simulate download To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii An empty movieclip has a size of 4 bytes so you check to see if the bytesTotal 4 in addition to the percent loaded == 100. ___ 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] Re: V2 components too heavy
http://www.osflash.org/components Mudit -- check out this OSFlash page on the various components out there. There is also a good page on Patrick Mineault's page that talks about several of the component sets. http://www.5etdemi.com/blog/archives/2005/10/battle-of-the-component-sets/ From what I hear, Flash 9 will bring better and more light-weight components -- but that's probably at least 6-9 months off from now. On 12/6/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Message: 6 Date: Wed, 6 Dec 2006 08:07:15 -0800 (PST) From: mudit tuli [EMAIL PROTECTED] Subject: [Flashcoders] V2 components too heavy To: flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ascii I just made an application with V2 coponent and it turned out to be too heavy. A V2 combobox adds 40KB to my application(correct me if I am wrong here). I have tried using Mx components for Flash Mx 2004, but I found out that they don't generate an event but a callback though I have able to reduce the size of my application using Mx components. Is there any open source components that generate an event? Or you have to code your own ? Mudit ___ 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] Re: Flashcoders Digest, Vol 23, Issue 13
Another way to tackle it as well is to split it and compare the 2nd element of the split array. var num:Number = 2.3; var split:Array = String(num).split(.); trace(3 == split[1]); On 12/6/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Message: 21 Date: Wed, 6 Dec 2006 12:22:43 -0800 From: T. Michael Keesey [EMAIL PROTECTED] Subject: Re: [Flashcoders] Compare Decimal Point Value? To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=UTF-8; format=flowed In Flash 9, I get this for the traces: 2.3 0.2998 0.3 false false true Good old-fashioned floating point precision error. Instead of testing if they are equal, You could test if the difference between them is very small, e.g.: trace(Math.abs(num2 - num3) 0.1); // true On 12/6/06, Doug Coning [EMAIL PROTECTED] wrote: I'm scratching my head over this. Not sure what I'm doing wrong? I need to compare a decimal value of a numeric field to see if it contains a specific value of 0.3. Here is some sample code: var num:Number = 2.3; var num2:Number = num - int(num); var num3:Number = 0.3; trace(num); // 2.3 trace(num2); // 0.3 trace(num3); // 0.3 trace(num2 == num3);// false trace(num2 num3);// false trace(num2 num3);// true Why doesn't 0.3 equal 0.3? I've replaced int with Math.floor(), and it still doesn't work. I need to get the value after the decimal point and see if it equals 0.3. Thanks for your help. Doug Coning Senior Web Development Programmer FORUM Solutions [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] CellRenderer : Mix of double and single lines?
I know its possible to create a multiline CellRenderer. Macromedia has a sample of this on their site. Is it possible to create a CellRenderer that can create both single and multiline cells in a List, Tree or DataGrid? - 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] RE: MGEG to FLV...
Or you could use FFMPEG. FLV Encoding with FFmpeg Here is a post on using FFMPEG to convert MPG to FLV. http://www.db75.com/new_blog/?p=98 - John -Original Message- Date: Sun, 9 Apr 2006 12:02:19 +0100 From: kariminal [EMAIL PROTECTED] Subject: [Flashcoders] MGEG to FLV... To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Hello ! I am just wondering if anyone knows a good solution to get a server to convert MPEG's to FLV's ?.. For the moment I am thinking of a dedicated server, with a copy of Sorenson squeeze using watch folders. But there has got to be some other way of achieving this.. No?... Kind regards Karim ___ 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 Remoting
JP -- If you have used the Remoting Installer (http://download.macromedia.com/pub/flashremoting/mx2004/components/actionsc ript_2.0/flashremoting_comp_as20-win-en.exe), then you'll need to drag the Remoting Class library into your document before you can use them. When you do it this way, you get all the remoting classes which will add more K to your Flash SWF. Macromedia/Adobe also provides the source code for download as well, which allows you to directly import the classes you need and comes with a lesser K hit since you can import only what you need. http://download.macromedia.com/pub/flashremoting/mx2004/components/actionscr ipt_2.0/flashremoting_comp_sourcecode.zip - John -Original Message- Message: 20 Date: Mon, 23 Jan 2006 00:14:42 -0500 From: JP [EMAIL PROTECTED] Subject: RE: [Flashcoders] Flash Remoting To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii If you are using AS2, then you want to use import, not #include (which is AS1). DOH! I should have known that. Thanks! Now I've got to go fix my Win config. The installer claims that 'remoting is installed' and won't run again, but import mx.remoting.Services can't be loaded and clearly is not where it's suppose to be. Ah well, that's the easy part. Thanks again! - jp ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: Good Intro to Flash and SCORM?
Dan -- Not sure what you need to build or how much, but e-Learning Consulting sells a Flash-based SCORM toolkit for $149. http://www.e-learningconsulting.com/products/authoring/flash.html It's already set up to handle all the SCORM communication and has an easy to use ActionScript API. - John -Original Message- Date: Fri, 20 Jan 2006 07:17:36 -0500 From: dls [EMAIL PROTECTED] Subject: [Flashcoders] Good Intro to Flash and SCORM? To: Flash Coders flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed I need to hand roll some content in flash that can be tracked using SCORM. Anyone have a good online reference I can start with? Thanks! --dan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: OT [Flashcoders] Flash 8 and Rosetta -- MacIntel
There is an Apple Store right near my work here in Vegas. I just got back from lunch and they expect to have a new intel-based iMac within the next few days. Once it comes in, I'll see if I can run Flash and do some tests. - John Message: 15 Date: Tue, 10 Jan 2006 21:14:01 +0100 From: S ? ren Christensen [EMAIL PROTECTED] Subject: Re: OT [Flashcoders] Flash 8 and Rosetta -- MacIntel To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII well, lets see some head to head real-world benchmarls first ;-) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Sound.loadSound --- when does streaming actually start?
If I load an external MP3 into the Flash player and set up Flash to load it as a streaming event, when does it start to play? In the AS2 language reference, it states : Streaming sounds play while they are downloading. Playback begins when sufficient data has been received to start the decompressor. So what is sufficient data? The reason I am asking is that I was trying to stream very low bitrate MP3s, but they were long (1+ minutes around). When I used the bandwidth testing in Flash for 56K modem, the MP3 had to almost entirely download before it started. - John ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: Job Opportunity in Tucson
Chris -- I passed this info along to a friend of mine who teaches at Tucson Design College. Good luck. - John O. -Original Message- Message: 17 Date: Tue, 20 Dec 2005 15:23:53 -0700 From: Chris Hill [EMAIL PROTECTED] Subject: [Flashcoders] Job Opportunity in Tucson To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=windows-1252; format=flowed Work is ON-SITE AND PART TIME in gorgeous Tucson, AZ. NO TELECOMMUTE. GUI PROGRAMMER Looking for a coder with quality OOP principles, understands layout management and a sense of design. Code will be written in Flash ActionScript. ActionScript experience is a major plus, but more important are good coding fundamentals and a willingness to learn. Also important is that this is not a scripting position, this is full-on OOP development. ASP.NET/WEB DEVELOPER Looking for ASP.NET developer who can also work on legacy VBScript applications. Needs strong understanding of SQL, .NET and C# essentials, and quality coding practices. Position entails building custom CMS applications, and doing work on existing CMS front and backends. FLASH PRODUCTION ASSISTANT Looking for a non-coder who can handle production issues in Flash applications. Work would involve: laying out Flash apps based off comps, converting assets from clients into flash-friendly forms. Needs strong understanding of Flash, Photoshop, and Illustrator. GET IN TOUCH WITH ME If youre available to work ON-SITE PART-TIME, write/call me: 520.777.0032 [EMAIL PROTECTED] -- _ __ __ | | \/ ___\ Chris Hill | | / /_/ [EMAIL PROTECTED] |/\___ / http://ubergeek.tv /_/ The Smell of Geek! - ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders