[Flashcoders] search engines and flash remoting
Hi, i have this problem: i have to write a flash movie catalog in flash and amfphp, the client asks me that this catalog must be search engine friendly. So each item into the catalog must be visible by the google spiders Any suggestion, or any tutorial around the web? Thanks in advance a. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] FPS speed problem
Good morning Ive got multiple level and 25 images speed per second ( all level are at this rate) In llocal its fluid and running correctly and online its sacaded and not very fluid, Have you got an ID why ? Laurent ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] What's wrong with my events?
Hi all, I've a movie setup like this main.fla var control:MoveMe = new MoveMe(this, 10, 10); var oViewListener:Object = new Object(); myMenu.addEventListener(mex, oViewListener); oViewListener.mex = function(oEvent:Object):Void { trace(oEvent.evsource); trace(oEvent.msgtxt); }; and a class with this code class MoveMe { function MoveMe(mc:MovieClip, myX:Number, myY:Number) { mc.attachMovie(mcStart, myMenu, mc.getNextHighestDepth(), {_x:myX, _y:myY}); } } and a movieClip with this code in the first frame **[mcStart] this.useHandCursor = true; mx.events.EventDispatcher.initialize(this); function dispatchEvent() { } function addEventListener() { } function removeEventListener() { } onPress = function () { trace(funziona); sendMessage(prova); }; onRollOver = function () { }; onRollOut = function () { }; function sendMessage(p_msgtxt:String):Void { var eventObj:Object = {target:this, type:mex}; eventObj.evsource = this; eventObj.msgtxt = p_msgtxt; dispatchEvent(eventObj); } I read a lot about event dispatching and listening but there's still something that I don't get. What's wrong with my setup? -- When everyone is against you, it means that you are absolutely wrong-- or absolutely right. - Albert Guinon ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] nextFrame(),gotoAndStop(),play(),they are different?
Hi list! Today i touch an odd. It has 2 frames on the Timeline,I have a check in first frame,when it's ok goto sencond frame. when i use gotoAndStop(2),nextFrame(),and play() ,the Flash can goto Frame 2 ,the browser is Firfox. But only play() can work in the browser of IE,gotoAndStop(2),nextFrame() can do nothing! Why ?? -- 亲爱的朋友,祝你天天快了! http://www.flashpixy.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] PrintJob causes Abort Script error message.
Apologies for reposting, hopefully someone has come across this before. We have a large and complex Flash RIA that represents almost 2 years of development effort. Unfortunately we have one major unresolved issue. In a couple of places we have print functionality. When the print job system dialogue appears, if the user doesn't close the dialogue within 15 seconds, the Abort Script message appears (A script in this movie is causing Macromedia Flash 8 to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?). Is this a known Flash bug? Is there a workaround? We've been trying to solve it for about a month. ta. ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] PrintJob causes Abort Script error message.
Is this a known Flash bug? It's not a bug. Is there a workaround? You cannot change the timeout. We've been trying to solve it for about a month. A 5 second google search would have saved you 30 days of wasted time. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_15512 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] PrintJob causes Abort Script error message.
PrintJob is a poorly written class in general. Also, it runs synchronously when it talks to the system. The reason Flash throws up the alert is because for 15 seconds it is stuck waiting. The movie is waiting on a line of code to finish. Flash responds to the movie being hung, which it technically is because the request to the OS is synchronous. There isn't a workaround except to not use PrintJob. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, March 29, 2006 2:38 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] PrintJob causes Abort Script error message. Apologies for reposting, hopefully someone has come across this before. We have a large and complex Flash RIA that represents almost 2 years of development effort. Unfortunately we have one major unresolved issue. In a couple of places we have print functionality. When the print job system dialogue appears, if the user doesn't close the dialogue within 15 seconds, the Abort Script message appears (A script in this movie is causing Macromedia Flash 8 to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?). Is this a known Flash bug? Is there a workaround? We've been trying to solve it for about a month. ta. ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] PrintJob causes Abort Script error message.
Steven's response was a little unhelpful :) Is this a known Flash bug? It's not a bug. I would suggest that it is: there's no error in the code, and it's not that the Flash movie itself is running slowly, it's purely a result of user interaction. While the print dialogue is displayed, the Flash movie should simply not be running. 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
RE: [Flashcoders] PrintJob causes Abort Script error message.
Well, there IS a workaround but you have to hack your swf using flasm and set the timeout to some larger number. This really is not recommended and most people use this to actually decrease the timeout delay, not increase it (because they're simultaneously increasing the recursion depth). http://codeazur.com/forum/viewtopic.php?t=260 http://www.actionscript.org/forums/showthread.php3?t=65371 http://www.powersdk.com/ted/2005/11/macromedia-please-add.php -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Wednesday, March 29, 2006 2:58 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] PrintJob causes Abort Script error message. PrintJob is a poorly written class in general. Also, it runs synchronously when it talks to the system. The reason Flash throws up the alert is because for 15 seconds it is stuck waiting. The movie is waiting on a line of code to finish. Flash responds to the movie being hung, which it technically is because the request to the OS is synchronous. There isn't a workaround except to not use PrintJob. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, March 29, 2006 2:38 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] PrintJob causes Abort Script error message. Apologies for reposting, hopefully someone has come across this before. We have a large and complex Flash RIA that represents almost 2 years of development effort. Unfortunately we have one major unresolved issue. In a couple of places we have print functionality. When the print job system dialogue appears, if the user doesn't close the dialogue within 15 seconds, the Abort Script message appears (A script in this movie is causing Macromedia Flash 8 to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?). Is this a known Flash bug? Is there a workaround? We've been trying to solve it for about a month. ta. ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] PrintJob causes Abort Script error message.
It's not a bug, its poor programming by Macromedia... Fact is, the Flash Player should put the PrintJob process into a separate thread, but it doesn't... My guess is that Macromedia doesn't want to use any more than a single thread in a single Flash Player instance ;-) Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danny Kodicek Sent: 29 March 2006 12:03 To: Flashcoders mailing list Subject: Re: [Flashcoders] PrintJob causes Abort Script error message. Steven's response was a little unhelpful :) Is this a known Flash bug? It's not a bug. I would suggest that it is: there's no error in the code, and it's not that the Flash movie itself is running slowly, it's purely a result of user interaction. While the print dialogue is displayed, the Flash movie should simply not be running. 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
RE: [Flashcoders] PrintJob causes Abort Script error message.
I would suggest that it is: there's no error in the code, and it's not that the Flash movie itself is running slowly, it's purely a result of user interaction. While the print dialogue is displayed, the Flash movie should simply not be running. PrintJob makes a synchronous call to the OS. Flash ceases to execute code until it receives a response. Unfortunately, this means Flash is hung on a line of code which means Flash is going to throw up an error after 15 seconds because it believes, and rightfully so, that it has code that is unresponsive. It is not a bug. It's the way PrintJob is written - synchronously. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] PrintJob causes Abort Script error message.
On 29 Mar 2006, at 12:07, Steven Sacks wrote: I would suggest that it is: there's no error in the code, and it's not that the Flash movie itself is running slowly, it's purely a result of user interaction. While the print dialogue is displayed, the Flash movie should simply not be running. PrintJob makes a synchronous call to the OS. Flash ceases to execute code until it receives a response. Unfortunately, this means Flash is hung on a line of code which means Flash is going to throw up an error after 15 seconds because it believes, and rightfully so, that it has code that is unresponsive. It is not a bug. It's the way PrintJob is written - synchronously. No, it really is a bug. The bug is that the Flash Player doesn't suppress the timeout notification when a PrintJob is active. It is quite reasonable to expect a user to spend more than 15 seconds configuring their print settings. Since I very much doubt that this was intended behaviour, I would class this as a bug. -- Steve Webster Head of Development Featurecreep Ltd. http://www.featurecreep.com 14 Orchard Street, Bristol, BS1 5EH 0117 905 5047 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] PrintJob causes Abort Script error message.
I would suggest that it is: there's no error in the code, and it's not that the Flash movie itself is running slowly, it's purely a result of user interaction. While the print dialogue is displayed, the Flash movie should simply not be running. PrintJob makes a synchronous call to the OS. Flash ceases to execute code until it receives a response. Unfortunately, this means Flash is hung on a line of code which means Flash is going to throw up an error after 15 seconds because it believes, and rightfully so, that it has code that is unresponsive. It is not a bug. It's the way PrintJob is written - synchronously. Er - and I'd say that's a bug (in Flash, not in the OP's code). The code that checks if a movie is hanging should be looking at number of lines of code executed. While a modal dialogue is up, it shouldn't be being called at all. 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] If not Zinc, then what?
Or it`s better run away from them and develop the tool using C# or something like that? I use Flash for creating apps delivered through web. I use Director for creating locally deployed app. I create some serious apps such as credit card processing touchscreen running 24/7, and Director does it well. I feel using Flash for such app development is like using screwdriver as hammer - sure you can use it, but if there is a better tool for the job. I always had this feeling Flash is not meant to be run for a long period of time - no one will interact with your Flash movie on browser for 24 hours continuously, so that's absolutely fine. But can anyone tell me if you have successfully developed 24/7 app using Flash wrapped in Zinc/SWFStudio/mProjector/Screenweaver without having issues such as memory leaks? Kenneth Kawamoto 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
RE: [Flashcoders] PrintJob causes Abort Script error message.
No need to use flasm here, the SLI Injector will do the same since it´s nothing more than a Tag in the SWF File. http://www.buraks.com/swfsli/ hth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Wednesday, March 29, 2006 1:05 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] PrintJob causes Abort Script error message. Well, there IS a workaround but you have to hack your swf using flasm and set the timeout to some larger number. This really is not recommended and most people use this to actually decrease the timeout delay, not increase it (because they're simultaneously increasing the recursion depth). http://codeazur.com/forum/viewtopic.php?t=260 http://www.actionscript.org/forums/showthread.php3?t=65371 http://www.powersdk.com/ted/2005/11/macromedia-please-add.php -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Wednesday, March 29, 2006 2:58 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] PrintJob causes Abort Script error message. PrintJob is a poorly written class in general. Also, it runs synchronously when it talks to the system. The reason Flash throws up the alert is because for 15 seconds it is stuck waiting. The movie is waiting on a line of code to finish. Flash responds to the movie being hung, which it technically is because the request to the OS is synchronous. There isn't a workaround except to not use PrintJob. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, March 29, 2006 2:38 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] PrintJob causes Abort Script error message. Apologies for reposting, hopefully someone has come across this before. We have a large and complex Flash RIA that represents almost 2 years of development effort. Unfortunately we have one major unresolved issue. In a couple of places we have print functionality. When the print job system dialogue appears, if the user doesn't close the dialogue within 15 seconds, the Abort Script message appears (A script in this movie is causing Macromedia Flash 8 to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?). Is this a known Flash bug? Is there a workaround? We've been trying to solve it for about a month. ta. ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] PrintJob causes Abort Script error message.
Either way, the fact is theres not much to be done... And no Flash Player update will help, because most users will still have the buggy version. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danny Kodicek Sent: 29 March 2006 12:26 To: Flashcoders mailing list Subject: Re: [Flashcoders] PrintJob causes Abort Script error message. I would suggest that it is: there's no error in the code, and it's not that the Flash movie itself is running slowly, it's purely a result of user interaction. While the print dialogue is displayed, the Flash movie should simply not be running. PrintJob makes a synchronous call to the OS. Flash ceases to execute code until it receives a response. Unfortunately, this means Flash is hung on a line of code which means Flash is going to throw up an error after 15 seconds because it believes, and rightfully so, that it has code that is unresponsive. It is not a bug. It's the way PrintJob is written - synchronously. Er - and I'd say that's a bug (in Flash, not in the OP's code). The code that checks if a movie is hanging should be looking at number of lines of code executed. While a modal dialogue is up, it shouldn't be being called at all. 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
RE: [Flashcoders] If not Zinc, then what?
I´m using an SWF Studio App 24/7 here at work (kind of XML news ticker/reader) and it works just fine. Regarding the whole discussion, I would recommend SWF Studio. It is realy stable and the developers are allways fast with their responds. They even did a custom implementation of a feature set free of charge for me/my client! The only big disadvantage is the lack of OSX support, but I´m sure it will be coming some time,... Regards, André -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: Wednesday, March 29, 2006 1:41 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] If not Zinc, then what? Or it`s better run away from them and develop the tool using C# or something like that? I use Flash for creating apps delivered through web. I use Director for creating locally deployed app. I create some serious apps such as credit card processing touchscreen running 24/7, and Director does it well. I feel using Flash for such app development is like using screwdriver as hammer - sure you can use it, but if there is a better tool for the job. I always had this feeling Flash is not meant to be run for a long period of time - no one will interact with your Flash movie on browser for 24 hours continuously, so that's absolutely fine. But can anyone tell me if you have successfully developed 24/7 app using Flash wrapped in Zinc/SWFStudio/mProjector/Screenweaver without having issues such as memory leaks? Kenneth Kawamoto 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
RE: [Flashcoders] PrintJob causes Abort Script error message.
PrintJob works fine in simplistic Flash movies. Try and do anything advanced (such as a stock exchange trading system) and it will cause the alert to appear. That ain't an error with my code! --- On Wed 03/29, Steven Sacks [EMAIL PROTECTED] wrote: From: Steven Sacks [mailto: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Date: Wed, 29 Mar 2006 03:34:35 -0800 Subject: RE: [Flashcoders] PrintJob causes Abort Script error message. The modal dialog does not belong to Flash, it belongs to Windows, andspecifically it belongs to the browser window that contains the Flash movie.This being said, I have a Flash app that uses PrintJob and I just testedkeeping my PrintJob dialog open for a full 3 minutes and I did not get analert that Flash was hung.So, it looks like you have some other issue with your movie and PrintJobisn't to blame.-Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danny Kodicek Sent: Wednesday, March 29, 2006 3:26 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] PrintJob causes Abort Script error message. I would suggest that it is: there's no error in the code, and it's not that the Flash movie itself is running slowly, it's purely a result of user interaction. While the print dialogue is displayed, the Flash movie should simply not be running. PrintJob makes a synchronous call to the OS. Flash ceases to execute code until it receives a response. Unfortunately, this means Flash is hung on a line of code which means Flash is going to throw up an error after 15 seconds because it believes, and rightfully so, that it has code that is unresponsive. It is not a bug. It's the way PrintJob is written - synchronously. Er - and I'd say that's a bug (in Flash, not in the OP's code). The code that checks if a movie is hanging should be looking at number of lines of code executed. While a modal dialogue is up, it shouldn't be being called at all. 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://[EMAIL PROTECTED] change your subscription options or search the archive:http://chattyfig.figleaf.com/mailman/listinfo/flashcodersBrought to you by Fig Leaf SoftwarePremier Authorized Adobe Consulting and Traininghttp://www.figleaf.comhttp://training.figleaf.com ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] PrintJob causes Abort Script error message.
Fab, thanks, I'll give it a try. --- On Wed 03/29, =?iso-8859-1?Q?Andr=E9_Goliath?= [EMAIL PROTECTED] wrote: From: =?iso-8859-1?Q?Andr=E9_Goliath?= [mailto: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Date: Wed, 29 Mar 2006 13:28:18 +0200 Subject: RE: [Flashcoders] PrintJob causes Abort Script error message. No need to use flasm here, the SLI Injector will do the same since it´snothing more than a Tagin the SWF F ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] PrintJob causes Abort Script error message.
And for the record, I am certainly no friend of the PrintJob class. It's poorly written and I've pointed out its numerous flaws in previous posts to this list. Yes, it shouldn't have been coded to work the way it does. The way it works is poorly thought out. But, that doesn't mean that it's a bug because it technically is working exactly as it should. Danny Kodicek...I think I remember you from my Director days, so long ago. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] If not Zinc, then what?
Have you used Zinc? How do you compare the two? Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Goliath Sent: 29 March 2006 12:46 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] If not Zinc, then what? I´m using an SWF Studio App 24/7 here at work (kind of XML news ticker/reader) and it works just fine. Regarding the whole discussion, I would recommend SWF Studio. It is realy stable and the developers are allways fast with their responds. They even did a custom implementation of a feature set free of charge for me/my client! The only big disadvantage is the lack of OSX support, but I´m sure it will be coming some time,... Regards, André -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: Wednesday, March 29, 2006 1:41 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] If not Zinc, then what? Or it`s better run away from them and develop the tool using C# or something like that? I use Flash for creating apps delivered through web. I use Director for creating locally deployed app. I create some serious apps such as credit card processing touchscreen running 24/7, and Director does it well. I feel using Flash for such app development is like using screwdriver as hammer - sure you can use it, but if there is a better tool for the job. I always had this feeling Flash is not meant to be run for a long period of time - no one will interact with your Flash movie on browser for 24 hours continuously, so that's absolutely fine. But can anyone tell me if you have successfully developed 24/7 app using Flash wrapped in Zinc/SWFStudio/mProjector/Screenweaver without having issues such as memory leaks? Kenneth Kawamoto 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] PrintJob causes Abort Script error message.
PrintJob works fine in simplistic Flash movies. Try and do anything advanced (such as a stock exchange trading system) and it will cause the alert to appear. That ain't an error with my code! Ah ha! So now we get to the bottom of it. PrintJob does not cause Flash to alert about a slow running script. We've established that. You can't say it's PrintJob's fault anymore just because your app is more complicated. If it works in a simple test, it works period. The issue lies somewhere else. Without looking at your code, my best guess is that you are running processes at the same time as a PrintJob starts. What's happening is that you have some script expecting a method to finish running, but the PrintJob starts and, because it's a synchronous call, Flash sits and waits. Unfortunately, you've got some other code trying to run or code that was in the middle of something and because it got locked up while Flash waits on the PrintJob to complete, it thinks Flash is locked up and Flash throws the error. So, yes, it is a problem with your code. You need to halt all processes before your PrintJob starts. Do not use the SLI injector to increase the timeout. That's like injecting painkillers in a broken ankle so you can keep running. Fix your code. -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] If not Zinc, then what?
I´m using an SWF Studio App 24/7 here at work (kind of XML news ticker/reader) and it works just fine. Hi André, Does your app have heavy user interaction? Does it have multimedia (audio and video)? Does it have multiple SWF modules rather than just one SWF? Is it full-screen app? If so and it's stable I'd look into SWF Studio (no OSX is bad though!) Kenneth Kawamoto 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
Re: [Flashcoders] PrintJob causes Abort Script error message.
And for the record, I am certainly no friend of the PrintJob class. It's poorly written and I've pointed out its numerous flaws in previous posts to this list. Yes, it shouldn't have been coded to work the way it does. The way it works is poorly thought out. But, that doesn't mean that it's a bug because it technically is working exactly as it should. I think we're in a semantic discussion about what is and isn't a bug here. I agree with Steve W: I can't see that the Flash engineers would have specifically designed it with this behaviour in mind, and the behaviour is not what the function ought to do from a user's perspective, therefore it's a bug. (Otherwise you could argue that *every* program is doing exactly what it was programmed to do, therefore nothing is a bug). I would argue that Flash's 'is it hanging' test should be given a hook that the printJob (or other) classes could talk to, which essentially stops it checking until the function is returned. Anyway, I was under the impression that it counted number of lines of code executed, not time taken. In particular, your discovery that this doesn't occur in a barebones movie would seem to imply that it *is* a bug, because somehow the synchronicity isn't being maintained. Danny Kodicek...I think I remember you from my Director days, so long ago. That's me. And I remember that you were a bit belligerent then too ;) 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
RE: [Flashcoders] If not Zinc, then what?
I use Flash with a C# backend for a kiosk system. It enables me to provide card scanning, coin mech, note reader, printer and database support. This system is run 24/7 and the only issues I get is to do with my C# coding relative to the odd network glitch... Other than that, it stands up to anything. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: 29 March 2006 13:21 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] If not Zinc, then what? I´m using an SWF Studio App 24/7 here at work (kind of XML news ticker/reader) and it works just fine. Hi André, Does your app have heavy user interaction? Does it have multimedia (audio and video)? Does it have multiple SWF modules rather than just one SWF? Is it full-screen app? If so and it's stable I'd look into SWF Studio (no OSX is bad though!) Kenneth Kawamoto 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
Re: [Flashcoders] Flasc - simple question
When using this code in my Test class I see a textfield on the stage, but my graphical assets ( some squares ) have dissapeared ... I'm still gettin the error.text message though class Test { static var app : Test; function Test() { // creates a 'tf' TextField size 800x600 at pos 0,0 _root.createTextField(tf,0,0,0,800,600); // write some text into it _root.tf.text = Hello world !; } // entry point static function main(mc) { app = new Test(); } } On 3/29/06, Webdevotion [EMAIL PROTECTED] wrote: Hey John, First, tnx for the great effort you put into your tools! I feel a bit silly for asking these questions, as everyone seems so comfortable using MTASC etc. I created a fla, with a mc test on stage which is linked to a Test class in the library. I'm compiling without any checkboxes in the MTASC panel. Still the same output == .. errors.txt class Test { function Test () { trace(Test); } function main () { trace(main); } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] + simbol issue help
My guess (and it is only a guess) is that Flash is treating the contents of LoadVars like a url-encoded string. e.g. thing1=Something+something+elsething2=Another+thing Which would mean that it probably replaces your '+' symbol with a space. I'd try urlencoding your vars before you output them (in your ASP file - I'm not sure what the urlencode() function is in ASP but I'm sure there is one). That way, the characters should get through okay. For example: thing1=A bucket of frogs+toads would become: thing1=A+bucket+of+frogs%2Btoads See? It's encoded the + symbol as %2B. This will also take care of any '' or '=' signs that might cause you problems. Hope that's helpful, Ian On 3/29/06, Alfredo Laguia [EMAIL PROTECTED] wrote: yes i added the symbol in the list and i did everything that i do allways the code is simple: * misVars = new LoadVars() var cantidad:Number misVars.onLoad = function(success){ if(success){ //trace(misVars) cantidad = misVars.cant montoDatos() trace(misVars[titulo+3]) } else{ trace(error al cargar los datos) } } misVars.load(http://www.inaltia.es/demo/loadInfoNoticias.asp;, GET) var posY = 60 montoDatos = function(){ for(var i= 0; icantidad; i++){ container = menu.grupoNOTICIAS.NOTICIASMC container.attachMovie(moduloNOTICIA, consolaNoticias+i, 100+i) container[consolaNoticias+i]._y = posY container[consolaNoticias+i].fecha_txt.text = misVars[fecha+i] container[consolaNoticias+i].titulo_txt.text = misVars[titulo+i] container[consolaNoticias+i].contenido = misVars[contenido+i] container[consolaNoticias+i].info_btn.onPress = function(){ noticias._visible = 100; noticias.noticiasEXTENDIDAS.noticias_txt = this._parent.contenido } posY = posY +60 } } - Original Message - From: Ian Thomas [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 29, 2006 3:52 PM Subject: Re: [Flashcoders] + simbol issue help Are you using an embedded font? If so, have you remembered to add the + symbol to the list of embedded characters? HTH, Ian On 3/29/06, Alfredo Laguia [EMAIL PROTECTED] wrote: hi there what can i do to show + symbol in a dynamic textfield?? i take the data from an asp and calling the asp throw the explorer i can see the content data without issue. thx for 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
RE: [Flashcoders] PrintJob causes Abort Script error message.
Remember, though, that should an unforeseen cercumstance occur in your application that will otherwise throw an error will likely hang the users machine with no typical way for the user to escape except to crash the application completely... Most users don't like that too much :-P Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Wheeler Sent: 29 March 2006 15:04 To: Flashcoders mailing list Subject: Re: [Flashcoders] PrintJob causes Abort Script error message. Steven Sacks wrote: I have explained in detail the source of your problem. If you choose not to take the advice given to you by coders who know more than you about the subject at hand, then why post a question to the list? You are doing yourself and your client a disservice with your blame Macromedia attitude and finger pointing. It's not the end of the world. Your code simply does not take into account a synchronous call. That is not PrintJob's fault. That is not the Flash player's fault. You should fix your code now that you understand why it's breaking. The fact is, there's a real solution to your problem. Whether you realize it or not, you have already admitted that it is your code that is to blame. You have stated twice now that the application is a real-time trading system. In all likelihood, this means you have intervals running and all kinds of parsing and drawing going on most of the time. The exact kind of processes that would go haywire should Flash have to make a synchronous call with an indeterminate response time. PrintJob makes a synchronous call and Flash is single threaded. All your real-time stuff is reacting to the synchronous call. When a user presses the print button, you need to put a halt on new processes, wait for currrent processes to complete and then start the PrintJob. If it's going to take more than 250ms, throw up a window that says something like Preparing to print. Upon completion of the PrintJob, you need to resync with the server immediately, and should probably put up a window that says something like Sending data to printer until the application is all caught up. Your SLI injection to increase the timeout as a solution is irreponsible. It is a heavy-handed technique fraught with potential problems far worse than your printing one and it doesn't actually solve the problem, it just masks it, and poorly. I wouldn't go live with that. Do the right thing. - Spike Lee I would suggest setting the timeout to 7200 seconds and then test it to see what happens if you leave it sitting over lunch. Please warn us when you are going to do this, since from the tone of the conversation, there is some sense that this will cause the end of civilization as we know it. I suspect that the impact will be considerably less and the users of the application may be able to deal with any repercussions by changing their reaction to a dialogue box - it should not be taken as an invitation to go for a coffee. If Macromedia feels OK about the single threading issue, we have to cut ourselves some slack about dealing with it. It certainly is a cautionary note to designers of new applications that you should consider designing in some way to easily shutdown all of the animation and communication functions while setting up a print job. The effect on a communication link of an extended timeout might be one of the problems that you encounter since the other end might decide that you have died over lunch and cut its end. If you are re-establishing the link (authorization???) on each data transfer, this may not be a problem. Ron Ron ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] PrintJob causes Abort Script error message.
Wow, I really should break my sentences up with comma's and fullstops. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lee McColl-Sylvester Sent: 29 March 2006 15:22 To: Flashcoders mailing list Subject: RE: [Flashcoders] PrintJob causes Abort Script error message. Remember, though, that should an unforeseen cercumstance occur in your application that will otherwise throw an error will likely hang the users machine with no typical way for the user to escape except to crash the application completely... Most users don't like that too much :-P Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Wheeler Sent: 29 March 2006 15:04 To: Flashcoders mailing list Subject: Re: [Flashcoders] PrintJob causes Abort Script error message. Steven Sacks wrote: I have explained in detail the source of your problem. If you choose not to take the advice given to you by coders who know more than you about the subject at hand, then why post a question to the list? You are doing yourself and your client a disservice with your blame Macromedia attitude and finger pointing. It's not the end of the world. Your code simply does not take into account a synchronous call. That is not PrintJob's fault. That is not the Flash player's fault. You should fix your code now that you understand why it's breaking. The fact is, there's a real solution to your problem. Whether you realize it or not, you have already admitted that it is your code that is to blame. You have stated twice now that the application is a real-time trading system. In all likelihood, this means you have intervals running and all kinds of parsing and drawing going on most of the time. The exact kind of processes that would go haywire should Flash have to make a synchronous call with an indeterminate response time. PrintJob makes a synchronous call and Flash is single threaded. All your real-time stuff is reacting to the synchronous call. When a user presses the print button, you need to put a halt on new processes, wait for currrent processes to complete and then start the PrintJob. If it's going to take more than 250ms, throw up a window that says something like Preparing to print. Upon completion of the PrintJob, you need to resync with the server immediately, and should probably put up a window that says something like Sending data to printer until the application is all caught up. Your SLI injection to increase the timeout as a solution is irreponsible. It is a heavy-handed technique fraught with potential problems far worse than your printing one and it doesn't actually solve the problem, it just masks it, and poorly. I wouldn't go live with that. Do the right thing. - Spike Lee I would suggest setting the timeout to 7200 seconds and then test it to see what happens if you leave it sitting over lunch. Please warn us when you are going to do this, since from the tone of the conversation, there is some sense that this will cause the end of civilization as we know it. I suspect that the impact will be considerably less and the users of the application may be able to deal with any repercussions by changing their reaction to a dialogue box - it should not be taken as an invitation to go for a coffee. If Macromedia feels OK about the single threading issue, we have to cut ourselves some slack about dealing with it. It certainly is a cautionary note to designers of new applications that you should consider designing in some way to easily shutdown all of the animation and communication functions while setting up a print job. The effect on a communication link of an extended timeout might be one of the problems that you encounter since the other end might decide that you have died over lunch and cut its end. If you are re-establishing the link (authorization???) on each data transfer, this may not be a problem. Ron Ron ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Help!
My emails aren't getting through to the list! Whats up?!?! 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
Re: [Flashcoders] + simbol issue help
yes! server.URLencode that´s the perfect solution rigth now thx a lot Ian and people! - Original Message - From: Ian Thomas [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 29, 2006 4:34 PM Subject: Re: [Flashcoders] + simbol issue help Hi Alfredo, Having just done a quick Google - instead of transforming each + symbol, just call this: Server.URLEncode(myString) where myString is the value you want to encode. For example: titulo3=%=Server.URLEncode(Here is my text with a + in it)% Or something similar. Cheers, Ian On 3/29/06, Alfredo Laguia [EMAIL PROTECTED] wrote: first: Yes, it is verdana type and i've embedded the font as always, as the rest of the symbology well at least, with the encode, as a %2B. i can see the symbol, and i can keep working on the problem is, i need to change my asps to transform every + symbol with %2B thx a lot ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Flasc - simple question
great : ) uncheck the header did the trick for me : ) now on to more complicated projects I guess ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] PrintJob
Not tried it but a painless way to get around some printing wierdness may be to copy the bitmapdat of the thing you want to print out, paste it into an MC offstage then print that? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lee McColl-Sylvester Sent: 29 March 2006 14:35 To: Flashcoders mailing list Subject: RE: [Flashcoders] PrintJob The Print feature of Flash prints the passed MovieClip... It there is content that the MovieClip isn't showing, then you need to print the inner clip containing the content instead. To find the location of this clip, I suggest using John Gardn's Xray. Lee ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Flasc - simple question
Excellent, glad that worked for ya! PS I just posted version 1.7 late last night with a fix to the import as well as some other fixes. Get it, install it, have a good day with it ;) On 3/29/06, Webdevotion [EMAIL PROTECTED] wrote: great : ) uncheck the header did the trick for me : ) now on to more complicated projects I guess ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] nextFrame(), gotoAndStop(), play(), they are different?
My guess is that your swf file is probably cached in firefox, while you may have tried disabling caching in both browsers, firefox, erratically, for lack of a better analysis, caches and reloads swf files. The reason I think this is the problem is because gotoAndStop and nextFrame do not begin playing the file, so using these functions to progress through the timeline will only work if the target frame is loaded. If your target frame is 2, than both nextFrame from frame 1 and gotoAndStop(2) will perform identical results. The play function, on the other hand, will trigger the playhead to play the timeline, and in your particular situation, the play function would merely begin the playhead, remaining on frame 1 until frame 2 was finished loading. There must be a stop function on frame 2, since you aren't experiencing any looping, or the playhead stoping on frame 1 again after going to frame 2, or continuing past frame 2 if there are subsequent frames. It also sounds as if the code on frame 1 is a preloader, if this is the case, maybe you should take another look at it, otherwise, you will need a preloader on frame 1 to ensure that frame 2 exists when you go to it. Hope this helps, M. On 3/29/06, zikey Han [EMAIL PROTECTED] wrote: Hi list! Today i touch an odd. It has 2 frames on the Timeline,I have a check in first frame,when it's ok goto sencond frame. when i use gotoAndStop(2),nextFrame(),and play() ,the Flash can goto Frame 2 ,the browser is Firfox. But only play() can work in the browser of IE,gotoAndStop(2),nextFrame() can do nothing! Why ?? -- 亲爱的朋友,祝你天天快了! http://www.flashpixy.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] Displaying objects
This will give you what you're looking for: var cols:Number = 3; var rows:Number = 3; for(var i:Number=0;irows;i++) { for(var j:Number=0;jcols;j++) { var gridLocation:Number = (i+j) + ((rows-1)*i); trace(grid location = + gridLocation); // create your moviecilp } } row by row, create a movieclip per column. hth, John On 3/29/06, Flash Mel [EMAIL PROTECTED] wrote: Ok, since my email got through this morning, I'm hoping this one gets through. Here is the question I've emailed four times now. Doesn't show up in the threads. Here we go: Here is what I have so far: import mx.transitions.Tween; import mx.transitions.easing.*; m = 0; numTiles = 112; function placeTiles() { if (m == numTiles){ m = 0; clearInterval(buildTiles); } else { _root.attachMovie(square, tile + m + _mc, m, {_x:m % 14 * 50, _y:Math.floor(m / 14) * 50}); myObj = tile + m + _mc; new Tween(_root[myObj], _alpha, Regular.easeInOut, 0, 100, 35, false); _root[myObj].number_text.text = m; m++; } } buildTiles = setInterval(placeTiles, 30); This works fine. Builds the rows one after another. But what I am trying to do is build one row across and one down. Make sense? In essence, the final display and position of the objects will be: 123 456 789 The sequence I am after: 1 then 12 4 then 123 45 7 and so on 123 456 78 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 -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] sIFR
has anyone made or found a flash 8 replacement sIFR??? by sIFR i mean flash replacement... for text... http://www.mikeindustries.com/sifr/ smith ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Displaying objects
also, i released this in the red5 repository - it's a GridManager class that you can use to draw a grid (literally or not) and gives you methods like: 1. calcGridLocation() - based on where you mouse is over the grid, you get back a zero based grid number. So if i you have a 3x3 grid, you might get back 4 if you're in the center piece. 2. getColRow() - based on the gridLocation number you pass in, you can get back the column/row numbers that correspond - if you're in 4, you'd get back 2,2 (not zero based) 3. calcCenterSpot() - gives you the pixels x/y of the center of a particular piece based on col/row you send in. if you already have a movieclip that has your grid graphic, you just pass that movieclip reference to initGrid() and all the calculations will be based on that movieclip. You still have to pass in the grid's width and height as this isn't always the size of the movieclip etc ;) http://mirror1.cvsdude.com/trac/osflash/red5/browser/java/server/trunk/swf/DEV_Source/classes/org/red5/utils/GridManager.as don't know if it's applicable to your scenario, but it works well for grid based games. hth, On 3/29/06, John Grden [EMAIL PROTECTED] wrote: This will give you what you're looking for: var cols:Number = 3; var rows:Number = 3; for(var i:Number=0;irows;i++) { for(var j:Number=0;jcols;j++) { var gridLocation:Number = (i+j) + ((rows-1)*i); trace(grid location = + gridLocation); // create your moviecilp } } row by row, create a movieclip per column. hth, John On 3/29/06, Flash Mel [EMAIL PROTECTED] wrote: Ok, since my email got through this morning, I'm hoping this one gets through. Here is the question I've emailed four times now. Doesn't show up in the threads. Here we go: Here is what I have so far: import mx.transitions.Tween; import mx.transitions.easing.*; m = 0; numTiles = 112; function placeTiles() { if (m == numTiles){ m = 0; clearInterval(buildTiles); } else { _root.attachMovie(square, tile + m + _mc, m, {_x:m % 14 * 50, _y:Math.floor(m / 14) * 50}); myObj = tile + m + _mc; new Tween(_root[myObj], _alpha, Regular.easeInOut, 0, 100, 35, false); _root[myObj].number_text.text = m; m++; } } buildTiles = setInterval(placeTiles, 30); This works fine. Builds the rows one after another. But what I am trying to do is build one row across and one down. Make sense? In essence, the final display and position of the objects will be: 123 456 789 The sequence I am after: 1 then 12 4 then 123 45 7 and so on 123 456 78 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 -- John Grden - Blitz -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Displaying objects
Ok, since my email got through this morning, I'm hoping this one gets through. Here is the question I've emailed four times now. Doesn't show up in the threads. Here we go: Here is what I have so far: import mx.transitions.Tween; import mx.transitions.easing.*; m = 0; numTiles = 112; function placeTiles() { if (m == numTiles){ m = 0; clearInterval(buildTiles); } else { _root.attachMovie(square, tile + m + _mc, m, {_x:m % 14 * 50, _y:Math.floor(m / 14) * 50}); myObj = tile + m + _mc; new Tween(_root[myObj], _alpha, Regular.easeInOut, 0, 100, 35, false); _root[myObj].number_text.text = m; m++; } } buildTiles = setInterval(placeTiles, 30); This works fine. Builds the rows one after another. But what I am trying to do is build one row across and one down. Make sense? In essence, the final display and position of the objects will be: 123 456 789 The sequence I am after: 1 then 12 4 then 123 45 7 and so on 123 456 78 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
Re: [Flashcoders] Displaying objects
Thanks John, This is great! When I trace this, it works. I've applied it to my code, and I think I have added something wrong. What happens is that all the elements just build in a single area. Here is what I had in the previous code: http://www.apt11.com/test/test.html Essentially, I need 0 to display, then 1, 14 then 2, 15, 28 and so on. Am I not applying your code correctly? My apologies for the bumbling and thanks for the help. fM. On 3/29/06, John Grden [EMAIL PROTECTED] wrote: This will give you what you're looking for: var cols:Number = 3; var rows:Number = 3; for(var i:Number=0;irows;i++) { for(var j:Number=0;jcols;j++) { var gridLocation:Number = (i+j) + ((rows-1)*i); trace(grid location = + gridLocation); // create your moviecilp } } row by row, create a movieclip per column. hth, John On 3/29/06, Flash Mel [EMAIL PROTECTED] wrote: Ok, since my email got through this morning, I'm hoping this one gets through. Here is the question I've emailed four times now. Doesn't show up in the threads. Here we go: Here is what I have so far: import mx.transitions.Tween; import mx.transitions.easing.*; m = 0; numTiles = 112; function placeTiles() { if (m == numTiles){ m = 0; clearInterval(buildTiles); } else { _root.attachMovie(square, tile + m + _mc, m, {_x:m % 14 * 50, _y:Math.floor(m / 14) * 50}); myObj = tile + m + _mc; new Tween(_root[myObj], _alpha, Regular.easeInOut, 0, 100, 35, false); _root[myObj].number_text.text = m; m++; } } buildTiles = setInterval(placeTiles, 30); This works fine. Builds the rows one after another. But what I am trying to do is build one row across and one down. Make sense? In essence, the final display and position of the objects will be: 123 456 789 The sequence I am after: 1 then 12 4 then 123 45 7 and so on 123 456 78 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 -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Displaying objects
well, if you're using my code, then it would essentially build all pieces the way you show it happening in that link. to do it diagonaly the way you specify, there's 2 ways: 1. come up with an algorithm to calculate that type of movement based on the number of rows/cols you have (ouch) 2. create the grid first, hide all pieces. Create an array by hand with those values, and loop that array displaying the correct pieces: var pieceList:Array ({pieces:[0]}, {pieces: [1,14]}, {pieces:[2,15,28]}); for(var i:Number=0;ipieceList.length;i++) { for(var j:Number=0;jpieceList[i].pieces.length;j++) { this[piece_ + pieceList[i].pieces[j]._visible = true; } } Either set visible to true of tell it to gotoAndPlay(transitionIn) or whatever you have in frame lables etc. Make sense? JG On 3/29/06, Flash Mel [EMAIL PROTECTED] wrote: Thanks John, This is great! When I trace this, it works. I've applied it to my code, and I think I have added something wrong. What happens is that all the elements just build in a single area. Here is what I had in the previous code: http://www.apt11.com/test/test.html Essentially, I need 0 to display, then 1, 14 then 2, 15, 28 and so on. Am I not applying your code correctly? My apologies for the bumbling and thanks for the help. fM. On 3/29/06, John Grden [EMAIL PROTECTED] wrote: This will give you what you're looking for: var cols:Number = 3; var rows:Number = 3; for(var i:Number=0;irows;i++) { for(var j:Number=0;jcols;j++) { var gridLocation:Number = (i+j) + ((rows-1)*i); trace(grid location = + gridLocation); // create your moviecilp } } row by row, create a movieclip per column. hth, John On 3/29/06, Flash Mel [EMAIL PROTECTED] wrote: Ok, since my email got through this morning, I'm hoping this one gets through. Here is the question I've emailed four times now. Doesn't show up in the threads. Here we go: Here is what I have so far: import mx.transitions.Tween; import mx.transitions.easing.*; m = 0; numTiles = 112; function placeTiles() { if (m == numTiles){ m = 0; clearInterval(buildTiles); } else { _root.attachMovie(square, tile + m + _mc, m, {_x:m % 14 * 50, _y:Math.floor(m / 14) * 50}); myObj = tile + m + _mc; new Tween(_root[myObj], _alpha, Regular.easeInOut, 0, 100, 35, false); _root[myObj].number_text.text = m; m++; } } buildTiles = setInterval(placeTiles, 30); This works fine. Builds the rows one after another. But what I am trying to do is build one row across and one down. Make sense? In essence, the final display and position of the objects will be: 123 456 789 The sequence I am after: 1 then 12 4 then 123 45 7 and so on 123 456 78 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 -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Displaying objects
Sorry, code correction - LOL, on code that's not been tested ... for(var i:Number=0;ipieceList.length;i++) { for(var j:Number=0;jpieceList[i].pieces.length;j++) { this[piece_ + pieceList[i].pieces[j]]._visible = true; } } On 3/29/06, John Grden [EMAIL PROTECTED] wrote: well, if you're using my code, then it would essentially build all pieces the way you show it happening in that link. to do it diagonaly the way you specify, there's 2 ways: 1. come up with an algorithm to calculate that type of movement based on the number of rows/cols you have (ouch) 2. create the grid first, hide all pieces. Create an array by hand with those values, and loop that array displaying the correct pieces: var pieceList:Array ({pieces:[0]}, {pieces: [1,14]}, {pieces:[2,15,28]}); for(var i:Number=0;ipieceList.length;i++) { for(var j:Number=0;jpieceList[i].pieces.length;j++) { this[piece_ + pieceList[i].pieces[j]._visible = true; } } Either set visible to true of tell it to gotoAndPlay(transitionIn) or whatever you have in frame lables etc. Make sense? JG On 3/29/06, Flash Mel [EMAIL PROTECTED] wrote: Thanks John, This is great! When I trace this, it works. I've applied it to my code, and I think I have added something wrong. What happens is that all the elements just build in a single area. Here is what I had in the previous code: http://www.apt11.com/test/test.html Essentially, I need 0 to display, then 1, 14 then 2, 15, 28 and so on. Am I not applying your code correctly? My apologies for the bumbling and thanks for the help. fM. On 3/29/06, John Grden [EMAIL PROTECTED] wrote: This will give you what you're looking for: var cols:Number = 3; var rows:Number = 3; for(var i:Number=0;irows;i++) { for(var j:Number=0;jcols;j++) { var gridLocation:Number = (i+j) + ((rows-1)*i); trace(grid location = + gridLocation); // create your moviecilp } } row by row, create a movieclip per column. hth, John On 3/29/06, Flash Mel [EMAIL PROTECTED] wrote: Ok, since my email got through this morning, I'm hoping this one gets through. Here is the question I've emailed four times now. Doesn't show up in the threads. Here we go: Here is what I have so far: import mx.transitions.Tween; import mx.transitions.easing.*; m = 0; numTiles = 112; function placeTiles() { if (m == numTiles){ m = 0; clearInterval(buildTiles); } else { _root.attachMovie(square, tile + m + _mc, m, {_x:m % 14 * 50, _y:Math.floor(m / 14) * 50}); myObj = tile + m + _mc; new Tween(_root[myObj], _alpha, Regular.easeInOut, 0, 100, 35, false); _root[myObj].number_text.text = m; m++; } } buildTiles = setInterval(placeTiles, 30); This works fine. Builds the rows one after another. But what I am trying to do is build one row across and one down. Make sense? In essence, the final display and position of the objects will be: 123 456 789 The sequence I am after: 1 then 12 4 then 123 45 7 and so on 123 456 78 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 -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 -- John Grden - Blitz -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Flowing Text in Flash
I've searched a lot on google and the list and haven't found much, so maybe I'm missing something obvious again. Basically I need to fill a text field, and when that text field is full, i should start filling the next one. My current idea is: Break the text into space delimited tokens. Keep adding tokens and checking maxscroll to see if it is equal to 1. If maxscroll equals 1 then subtract the last token. Move on to the next text field. Not an ideal solution, but the only one that I think will work. Has anyone done anything similar? Thanks Chris ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Testing LocalConnection from a server in the IDE
Hi Mani - Have you prefixed your localConnectionID with an underscore? Try _id as opposed to id. The other gotcha is just to make sure there aren't two instances of the receiving swf running (as often is the case when using one of the SWF2EXE tools), since one will capture all the messages and the other will show nothing. best, - rajat On 3/29/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: I have a swf that is sending to a LocalConnection and it works fine when they are both operating locally but when I place the sending swf to the server it stops working- this is despite the fact that I have tried placing an allowDomain in the receiving swf. I am using Flash 8 as my authoring environment. What other issues should I troubleshoot when dealing with a LocalConnection behaving this way? Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Rajat Paharia [EMAIL PROTECTED] http://www.bunchball.com http://www.rootburn.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] Controlling Accordion using ActionScript
Hello All, I literally read ALL the posts in the Archives regarding the Accordion component, and there was no mention of what I need. It seems as if the Accordion is only setup to broadcast certain events, when the Accordion itself is actually clicked on. My goal is to remotely control my Accordion control, so that there are multiple ways to cause the Sliding Animation. I have a top MenuBar, in which I want options available, to cause the Accordion Control to animate to the proper Child. Am I missing something, or is the Accordion simply not designed for this? Also, how can I communicate with MovieClips contained within the Accordion Children? It seems as if the Accordion Control is acting as a Container - so must I first create a variable that refers to the Contents of the Accordion, before I can communicate with the Children's components? There is no reference to this topic either. Kind of like the Window Control - myWindow.content.controls? Thanks in advance for all your help, 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
Re: [Flashcoders] Testing LocalConnection from a server in the IDE
forgive me if this is implied, but there's always been alot of misunderstanding about LocalConnection.. LocalConnection is not used to send messages from one machine to another. It's meant to send messages between 2 or more swf files on the same machine whether in browser or .exe again, don't kill me if that's not what you were referring too ;) On 3/29/06, Rajat Paharia [EMAIL PROTECTED] wrote: Hi Mani - Have you prefixed your localConnectionID with an underscore? Try _id as opposed to id. The other gotcha is just to make sure there aren't two instances of the receiving swf running (as often is the case when using one of the SWF2EXE tools), since one will capture all the messages and the other will show nothing. best, - rajat On 3/29/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: I have a swf that is sending to a LocalConnection and it works fine when they are both operating locally but when I place the sending swf to the server it stops working- this is despite the fact that I have tried placing an allowDomain in the receiving swf. I am using Flash 8 as my authoring environment. What other issues should I troubleshoot when dealing with a LocalConnection behaving this way? Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Rajat Paharia [EMAIL PROTECTED] http://www.bunchball.com http://www.rootburn.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 -- - Alan Queen ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] sIFR
On 3/29/06, Aaron Smith [EMAIL PROTECTED] wrote: has anyone made or found a flash 8 replacement sIFR??? by sIFR i mean flash replacement... for text... http://www.mikeindustries.com/sifr/ can't you just publish the sifr font swf to flash 8? -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
Re: [Flashcoders] sIFR
I'm really curious as to why you might need a thing like that. Yotam. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Recommendation on good AS 2.0 framework code?
Hi all, I am looking for some well-written framework code done in AS2.0 to read up on (Reading source is good for ya). Does anyone have any recommendation on any well-written AS2.0 framework out there? - boon - Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Testing LocalConnection from a server in the IDE
Alan- They're both on the same machine but thanks for clearing that up either way. I was thinking that I could test a file sitting on the server using a local swf file and the local connection. I tried putting the domain permission etc but to no avail. Finally I resolved to just placing the other swf file on the same html page in a debug version. Rajat- as far as the name starting with an underscore -does that help? I don't think I've ever come across that- If so I have overlooked it. Thanks guys, Mani On 3/29/06, Alan Queen [EMAIL PROTECTED] wrote: forgive me if this is implied, but there's always been alot of misunderstanding about LocalConnection.. LocalConnection is not used to send messages from one machine to another. It's meant to send messages between 2 or more swf files on the same machine whether in browser or .exe again, don't kill me if that's not what you were referring too ;) On 3/29/06, Rajat Paharia [EMAIL PROTECTED] wrote: Hi Mani - Have you prefixed your localConnectionID with an underscore? Try _id as opposed to id. The other gotcha is just to make sure there aren't two instances of the receiving swf running (as often is the case when using one of the SWF2EXE tools), since one will capture all the messages and the other will show nothing. best, - rajat On 3/29/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: I have a swf that is sending to a LocalConnection and it works fine when they are both operating locally but when I place the sending swf to the server it stops working- this is despite the fact that I have tried placing an allowDomain in the receiving swf. I am using Flash 8 as my authoring environment. What other issues should I troubleshoot when dealing with a LocalConnection behaving this way? Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Rajat Paharia [EMAIL PROTECTED] http://www.bunchball.com http://www.rootburn.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 -- - Alan Queen ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Recommendation on good AS 2.0 framework code?
arp and cairnorm i suppose. and yes reading is good for you, looking at your name it seems william gibson is your choice. On 3/29/06, Boon Chew [EMAIL PROTECTED] wrote: Hi all, I am looking for some well-written framework code done in AS2.0 to read up on (Reading source is good for ya). Does anyone have any recommendation on any well-written AS2.0 framework out there? - boon - Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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
RE: [Flashcoders] Controlling Accordion using ActionScript
Mike, You can use either accordionInstance.getChildAt(index) to get an child at a specific index, or accordionInstance.selectedChild to get the currently selected child. Both methods should return a reference to a movie clip within the accordion. http://livedocs.macromedia.com/flash/8/main/3088.html http://livedocs.macromedia.com/flash/8/main/3091.html Regards, Peter deHaan Adobe Systems Incorporated On 3/29/06, Mike Anderson [EMAIL PROTECTED] wrote: Okay, I am an idiot :) selectedIndex - duh! For some reason, I was looking for something specific, therefore overlooking the obvious. Still, how to address a MovieClip that has been instantiated by the Accordion Control continues to evade me. It must be some type of child property, but I am still skimming the help docs for the answer. If anybody has a quick answer on this, I'd greatly appreciate it. Thanks! Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Wednesday, March 29, 2006 2:42 PM To: Flashcoders mailing list Subject: [Flashcoders] Controlling Accordion using ActionScript Hello All, I literally read ALL the posts in the Archives regarding the Accordion component, and there was no mention of what I need. It seems as if the Accordion is only setup to broadcast certain events, when the Accordion itself is actually clicked on. My goal is to remotely control my Accordion control, so that there are multiple ways to cause the Sliding Animation. I have a top MenuBar, in which I want options available, to cause the Accordion Control to animate to the proper Child. Am I missing something, or is the Accordion simply not designed for this? Also, how can I communicate with MovieClips contained within the Accordion Children? It seems as if the Accordion Control is acting as a Container - so must I first create a variable that refers to the Contents of the Accordion, before I can communicate with the Children's components? There is no reference to this topic either. Kind of like the Window Control - myWindow.content.controls? Thanks in advance for all your help, 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 -- - Lanny McNie ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Controlling Accordion using ActionScript
Sorry guys, I am totally brain dead today - It's so weird, how you get accustom to specific syntax for some V2 controls, and when working with a different one, you expect some type of consistency - and you get so focused looking for something, that you flat out overlook the answer. Sorry to post these questions to the list - if I read the Help Docs without having my blinders on, I would have found the answer. In fact, I did find the answers on my own, shortly after posting my last reply to the list. I must say though, after reading every single thread regarding the Accordion Control, it has plenty of limitations, and has caused many people lots of headaches. Thank you again everybody, I am always grateful for your advice. Mike :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lanny McNie Sent: Wednesday, March 29, 2006 3:54 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Controlling Accordion using ActionScript var mc = accordionInstance.getChildAt( index ) ? On 3/29/06, Mike Anderson [EMAIL PROTECTED] wrote: Okay, I am an idiot :) selectedIndex - duh! For some reason, I was looking for something specific, therefore overlooking the obvious. Still, how to address a MovieClip that has been instantiated by the Accordion Control continues to evade me. It must be some type of child property, but I am still skimming the help docs for the answer. If anybody has a quick answer on this, I'd greatly appreciate it. Thanks! Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Wednesday, March 29, 2006 2:42 PM To: Flashcoders mailing list Subject: [Flashcoders] Controlling Accordion using ActionScript Hello All, I literally read ALL the posts in the Archives regarding the Accordion component, and there was no mention of what I need. It seems as if the Accordion is only setup to broadcast certain events, when the Accordion itself is actually clicked on. My goal is to remotely control my Accordion control, so that there are multiple ways to cause the Sliding Animation. I have a top MenuBar, in which I want options available, to cause the Accordion Control to animate to the proper Child. Am I missing something, or is the Accordion simply not designed for this? Also, how can I communicate with MovieClips contained within the Accordion Children? It seems as if the Accordion Control is acting as a Container - so must I first create a variable that refers to the Contents of the Accordion, before I can communicate with the Children's components? There is no reference to this topic either. Kind of like the Window Control - myWindow.content.controls? Thanks in advance for all your help, 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 -- - Lanny McNie ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
http://www.flash-creations.com/notes/servercomm_remoting_amfphp.php I have the above file working well on a local test server. Flash 8, amfphp, mySQL. Then I try to make this file work on my hosted sever: http://www.thelargeglass.com/highscores2/index.html The file works when I do a Test Movie and play it locally. According to NetConnectionDebugger I'm connecting to my remote/online host and it's getting the data from tha db. I can even add and delete records. When I upload this file, it does not work. On my computer, it says Waiting for localhost down in the bottom web browser status window. ??? It should not be looking for any localhost? So, in conclusion, files works EVERYWHERE, except where I need to work. Any ideas? === I think I'm gonna like amfphp remoting a lot... I never got remoting to work with CFMX. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
sounds like your trying to connect to your localhost amfphp gateway from the web version.. change your gateway to point to the gateway on your site. (IE, you should have one amfphp install on local( thats the one thats working ) then one in www.thelargeglass.com/ flashremoting/ you want to connect to the one online.. hope that helps smith On Mar 29, 2006, at 3:02 PM, Count Schemula wrote: http://www.flash-creations.com/notes/servercomm_remoting_amfphp.php I have the above file working well on a local test server. Flash 8, amfphp, mySQL. Then I try to make this file work on my hosted sever: http://www.thelargeglass.com/highscores2/index.html The file works when I do a Test Movie and play it locally. According to NetConnectionDebugger I'm connecting to my remote/online host and it's getting the data from tha db. I can even add and delete records. When I upload this file, it does not work. On my computer, it says Waiting for localhost down in the bottom web browser status window. ??? It should not be looking for any localhost? So, in conclusion, files works EVERYWHERE, except where I need to work. Any ideas? === I think I'm gonna like amfphp remoting a lot... I never got remoting to work with CFMX. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
I have an amfphp install on both? When I play it locally, seems like it connects remotely ok: ConnectString: http://www.thelargeglass.com/amfphp/gateway.php; DebugId: 0 EventType: Connect MovieUrl: file:///C|/Documents and Settings/Dual Core/My Documents/thelargeglass/webDev/dualcore/highscores/highscores.swf Protocol: http Source: Client Time: 1143673926056 Date (object #1) .Wed Mar 29 18:12:06 GMT-0500 2006 ConnectString: http://www.thelargeglass.com/amfphp/gateway.php?PHPSESSID=5ea2dbbd18e96edc6bb434e0b296f64f; DebugId: 0 EventType: Connect MovieUrl: file:///C|/Documents and Settings/Dual Core/My Documents/thelargeglass/webDev/dualcore/highscores/highscores.swf Protocol: http Source: Client Time: 1143673926868 Date (object #1) .Wed Mar 29 18:12:06 GMT-0500 2006 This tests positive: http://www.thelargeglass.com/amfphp/gateway.php In my flash file: var gatewayUrl:String = http://www.thelargeglass.com/amfphp/gateway.php;; NetDebug.initialize(); var _service:Service = new Service(gatewayUrl, null, 'Highscores', null , null); The amfphp service for Highscores: For the *** values, I have the correct online db server information ? class Highscores { var $dbhost = '';// your information here var $dbname = ''; var $dbuser = ''; var $dbpass = ''; function Highscores() { $this-methodTable = array( getScores = array( description = Returns rs of all scores from highscores table, access = remote, returntype = recordSet ), insertScore = array( description = Insert score into highscores table, return id, access = remote ), deleteScore = array( description = Deletes score for specified id from highscores, access = remote ) ); // Initialize db connection $this-conn = mysql_pconnect($this-dbhost, $this-dbuser, $this-dbpass); mysql_select_db ($this-dbname); } function getScores() { return mysql_query(SELECT * FROM highscores); } function insertScore($scoreData) { mysql_query(INSERT INTO highscores VALUES (NULL,'.addslashes($scoreData['nickname']).','.$scoreData['dateposted'].','.$scoreData['score'].')); return mysql_insert_id(); } function deleteScore($id) { return mysql_query(DELETE FROM highscores WHERE id=.$id); } } ? I've switched folders, browsers etc try to see if it's a cache problem. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
is your endpoint set correctly? : var _service:Service = new Service(gatewayUrl, null, 'Highscores', null , null); if Highscores.php is in a highscores or gamesfolder of some sort in the services folder in amfphp. you need to reference it like: var _service:Service = new Service(gatewayUrl, null, 'games.Highscores', null , null); try that.. smith On Mar 29, 2006, at 3:17 PM, Count Schemula wrote: I have an amfphp install on both? When I play it locally, seems like it connects remotely ok: ConnectString: http://www.thelargeglass.com/amfphp/gateway.php; DebugId: 0 EventType: Connect MovieUrl: file:///C|/Documents and Settings/Dual Core/My Documents/thelargeglass/webDev/dualcore/highscores/highscores.swf Protocol: http Source: Client Time: 1143673926056 Date (object #1) .Wed Mar 29 18:12:06 GMT-0500 2006 ConnectString: http://www.thelargeglass.com/amfphp/gateway.php? PHPSESSID=5ea2dbbd18e96edc6bb434e0b296f64f DebugId: 0 EventType: Connect MovieUrl: file:///C|/Documents and Settings/Dual Core/My Documents/thelargeglass/webDev/dualcore/highscores/highscores.swf Protocol: http Source: Client Time: 1143673926868 Date (object #1) .Wed Mar 29 18:12:06 GMT-0500 2006 This tests positive: http://www.thelargeglass.com/amfphp/gateway.php In my flash file: var gatewayUrl:String = http://www.thelargeglass.com/amfphp/ gateway.php; NetDebug.initialize(); var _service:Service = new Service(gatewayUrl, null, 'Highscores', null , null); The amfphp service for Highscores: For the *** values, I have the correct online db server information ? class Highscores { var $dbhost = '';// your information here var $dbname = ''; var $dbuser = ''; var $dbpass = ''; function Highscores() { $this-methodTable = array( getScores = array( description = Returns rs of all scores from highscores table, access = remote, returntype = recordSet ), insertScore = array( description = Insert score into highscores table, return id, access = remote ), deleteScore = array( description = Deletes score for specified id from highscores, access = remote ) ); // Initialize db connection $this-conn = mysql_pconnect($this-dbhost, $this-dbuser, $this-dbpass); mysql_select_db ($this-dbname); } function getScores() { return mysql_query(SELECT * FROM highscores); } function insertScore($scoreData) { mysql_query(INSERT INTO highscores VALUES (NULL,'.addslashes($scoreData['nickname']).','.$scoreData ['dateposted'].','.$scoreData['score'].')); return mysql_insert_id(); } function deleteScore($id) { return mysql_query(DELETE FROM highscores WHERE id=.$id); } } ? I've switched folders, browsers etc try to see if it's a cache problem. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
Nope. Everything is nice and clean. It's a near virgin install. Do you get the localhost call in the status bar as well? It's super simple, it just seems like something about moving the file online wrecks it. The very same .swf file pulls up the data if I play it from my computer Test Movie style. On 3/29/06, Aaron Smith [EMAIL PROTECTED] wrote: is your endpoint set correctly? : var _service:Service = new Service(gatewayUrl, null, 'Highscores', null , null); if Highscores.php is in a highscores or gamesfolder of some sort in the services folder in amfphp. you need to reference it like: var _service:Service = new Service(gatewayUrl, null, 'games.Highscores', null , null); try that.. smith On Mar 29, 2006, at 3:17 PM, Count Schemula wrote: I have an amfphp install on both? When I play it locally, seems like it connects remotely ok: ConnectString: http://www.thelargeglass.com/amfphp/gateway.php; DebugId: 0 EventType: Connect MovieUrl: file:///C|/Documents and Settings/Dual Core/My Documents/thelargeglass/webDev/dualcore/highscores/highscores.swf Protocol: http Source: Client Time: 1143673926056 Date (object #1) .Wed Mar 29 18:12:06 GMT-0500 2006 ConnectString: http://www.thelargeglass.com/amfphp/gateway.php? PHPSESSID=5ea2dbbd18e96edc6bb434e0b296f64f DebugId: 0 EventType: Connect MovieUrl: file:///C|/Documents and Settings/Dual Core/My Documents/thelargeglass/webDev/dualcore/highscores/highscores.swf Protocol: http Source: Client Time: 1143673926868 Date (object #1) .Wed Mar 29 18:12:06 GMT-0500 2006 This tests positive: http://www.thelargeglass.com/amfphp/gateway.php In my flash file: var gatewayUrl:String = http://www.thelargeglass.com/amfphp/ gateway.php; NetDebug.initialize(); var _service:Service = new Service(gatewayUrl, null, 'Highscores', null , null); The amfphp service for Highscores: For the *** values, I have the correct online db server information ? class Highscores { var $dbhost = ''; // your information here var $dbname = ''; var $dbuser = ''; var $dbpass = ''; function Highscores() { $this-methodTable = array( getScores = array( description = Returns rs of all scores from highscores table, access = remote, returntype = recordSet ), insertScore = array( description = Insert score into highscores table, return id, access = remote ), deleteScore = array( description = Deletes score for specified id from highscores, access = remote ) ); // Initialize db connection $this-conn = mysql_pconnect($this-dbhost, $this-dbuser, $this-dbpass); mysql_select_db ($this-dbname); } function getScores() { return mysql_query(SELECT * FROM highscores); } function insertScore($scoreData) { mysql_query(INSERT INTO highscores VALUES (NULL,'.addslashes($scoreData['nickname']).','.$scoreData ['dateposted'].','.$scoreData['score'].')); return mysql_insert_id(); } function deleteScore($id) { return mysql_query(DELETE FROM highscores WHERE id=.$id); } } ? I've switched folders, browsers etc try to see if it's a cache problem. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
Make sure you have a crossdomain.xml file in the root of your server, otherwise the security model in Flash will refuse connections to that server. The simplest version (allow all connections from any flash files) would be: ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd; cross-domain-policy allow-access-from domain=* / /cross-domain-policy Regards, Grant Cox Count Schemula wrote: http://www.flash-creations.com/notes/servercomm_remoting_amfphp.php I have the above file working well on a local test server. Flash 8, amfphp, mySQL. Then I try to make this file work on my hosted sever: http://www.thelargeglass.com/highscores2/index.html The file works when I do a Test Movie and play it locally. According to NetConnectionDebugger I'm connecting to my remote/online host and it's getting the data from tha db. I can even add and delete records. When I upload this file, it does not work. On my computer, it says Waiting for localhost down in the bottom web browser status window. ??? It should not be looking for any localhost? So, in conclusion, files works EVERYWHERE, except where I need to work. Any ideas? === I think I'm gonna like amfphp remoting a lot... I never got remoting to work with CFMX. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
you should only need that if you are connecting to one domain from another.. in Counts case everything is on the same domain I believe so that won't matter... On Mar 29, 2006, at 3:43 PM, Grant Cox wrote: Make sure you have a crossdomain.xml file in the root of your server, otherwise the security model in Flash will refuse connections to that server. The simplest version (allow all connections from any flash files) would be: ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd; cross-domain-policy allow-access-from domain=* / /cross-domain-policy Regards, Grant Cox Count Schemula wrote: http://www.flash-creations.com/notes/servercomm_remoting_amfphp.php I have the above file working well on a local test server. Flash 8, amfphp, mySQL. Then I try to make this file work on my hosted sever: http://www.thelargeglass.com/highscores2/index.html The file works when I do a Test Movie and play it locally. According to NetConnectionDebugger I'm connecting to my remote/online host and it's getting the data from tha db. I can even add and delete records. When I upload this file, it does not work. On my computer, it says Waiting for localhost down in the bottom web browser status window. ??? It should not be looking for any localhost? So, in conclusion, files works EVERYWHERE, except where I need to work. Any ideas? === I think I'm gonna like amfphp remoting a lot... I never got remoting to work with CFMX. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
I just added a crossdomain.xml to the web root. No change. The very same .swf file can pull this data when I do Test Movie. The server is an online remote host, not my local computer and not the webserver that hosts the flash file, ie, it's on a different domain, no matter whether I access it Test Movie or web hosted style. I know it's something super simple, the file does seem to work in 2 other situations (local web server and Test Movie). On 3/29/06, Grant Cox [EMAIL PROTECTED] wrote: Make sure you have a crossdomain.xml file in the root of your server, otherwise the security model in Flash will refuse connections to that server. The simplest version (allow all connections from any flash files) would be: ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd; cross-domain-policy allow-access-from domain=* / /cross-domain-policy Regards, Grant Cox Count Schemula wrote: http://www.flash-creations.com/notes/servercomm_remoting_amfphp.php I have the above file working well on a local test server. Flash 8, amfphp, mySQL. Then I try to make this file work on my hosted sever: http://www.thelargeglass.com/highscores2/index.html The file works when I do a Test Movie and play it locally. According to NetConnectionDebugger I'm connecting to my remote/online host and it's getting the data from tha db. I can even add and delete records. When I upload this file, it does not work. On my computer, it says Waiting for localhost down in the bottom web browser status window. ??? It should not be looking for any localhost? So, in conclusion, files works EVERYWHERE, except where I need to work. Any ideas? === I think I'm gonna like amfphp remoting a lot... I never got remoting to work with CFMX. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
Actually, the db server is a wholly separate server? But the same .swf gets the remote db data when I do Test Movie. amfphp is on the remote server, and seems to test positive. http://www.thelargeglass.com/amfphp/gateway.php On 3/29/06, Aaron Smith [EMAIL PROTECTED] wrote: you should only need that if you are connecting to one domain from another.. in Counts case everything is on the same domain I believe so that won't matter... On Mar 29, 2006, at 3:43 PM, Grant Cox wrote: Make sure you have a crossdomain.xml file in the root of your server, otherwise the security model in Flash will refuse connections to that server. The simplest version (allow all connections from any flash files) would be: ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd; cross-domain-policy allow-access-from domain=* / /cross-domain-policy Regards, Grant Cox ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
Can you create a simple page that creates a new instance of your class and spits what would be sent to flash via amf to the screen instead to see if the class file is not barfing silently on the remote server? Could it be handling of whitespace in the class file - although I think this was fixed in v1.0? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Count Schemula Sent: Wednesday, March 29, 2006 3:56 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] lil' help with amfphp... works locally, not uploaded... Actually, the db server is a wholly separate server? But the same .swf gets the remote db data when I do Test Movie. amfphp is on the remote server, and seems to test positive. http://www.thelargeglass.com/amfphp/gateway.php ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
Fixed. I could scream. The publish settings were publishing to a different folder. So, I was blinded by jumping between servers and the 3 hour time difference between me and where my sever is. So, does, http://www.thelargeglass.com/highscores2/index.html work for y'all? I'm excited, I'm a hacker at best (obviously) but have been chasing this remoting thing for a long time. Finally! It works! Seriously, I've blown a lot of time trying to learn remoting and this is my very first success. Thanks everyone, sorry for the stupid errror on my part. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
I think the /browser folder doers this? example: http://www.thelargeglass.com/amfphp/browser/ Let's you test the basic service? On 3/29/06, Ettwein, Josh [EMAIL PROTECTED] wrote: Can you create a simple page that creates a new instance of your class and spits what would be sent to flash via amf to the screen instead to ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
no it wouldnt be whitespace.. one thing you could check for is php errors.. check the logs.. one quick way to check for php errors is to navigate to the Highscores.php file in the web browser.. go to http://www.5etdemi.com/blog/ this is patrick mineaults blog. he is lead dev on amfphp. download the cinqetdemi.remoting remoting library..(3rd post down or so).. they're really nice wrapper classes used for remoting. makes it really simple.. theres an example of how to use it there.. basically there wrapper classes for the flash remoting classes.. smith On Mar 29, 2006, at 4:03 PM, Ettwein, Josh wrote: Can you create a simple page that creates a new instance of your class and spits what would be sent to flash via amf to the screen instead to see if the class file is not barfing silently on the remote server? Could it be handling of whitespace in the class file - although I think this was fixed in v1.0? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Count Schemula Sent: Wednesday, March 29, 2006 3:56 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] lil' help with amfphp... works locally, not uploaded... Actually, the db server is a wholly separate server? But the same .swf gets the remote db data when I do Test Movie. amfphp is on the remote server, and seems to test positive. http://www.thelargeglass.com/amfphp/gateway.php ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
Yes, you're right.. It does. My bad. Your stuff works for me now. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Count Schemula Sent: Wednesday, March 29, 2006 4:07 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] lil' help with amfphp... works locally, not uploaded... I think the /browser folder doers this? example: http://www.thelargeglass.com/amfphp/browser/ Let's you test the basic service? On 3/29/06, Ettwein, Josh [EMAIL PROTECTED] wrote: Can you create a simple page that creates a new instance of your class and spits what would be sent to flash via amf to the screen instead to ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
sweet, got the monkeyman 666 from somebody. Awesome. I'm soo happy about this. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
works i would still check out that cineqdemi.remoting library i posted.. (just a second ago) smith On Mar 29, 2006, at 4:05 PM, Count Schemula wrote: Fixed. I could scream. The publish settings were publishing to a different folder. So, I was blinded by jumping between servers and the 3 hour time difference between me and where my sever is. So, does, http://www.thelargeglass.com/highscores2/index.html work for y'all? I'm excited, I'm a hacker at best (obviously) but have been chasing this remoting thing for a long time. Finally! It works! Seriously, I've blown a lot of time trying to learn remoting and this is my very first success. Thanks everyone, sorry for the stupid errror on my part. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] lil' help with amfphp... works locally, not uploaded...
Got it fixed. I had an error in my Flash Publish settings. Thanks, it was very helpful to see the steps y'all would take. On 3/29/06, Aaron Smith [EMAIL PROTECTED] wrote: no it wouldnt be whitespace.. one thing you could check for is php errors.. check the logs.. one quick way to check for php errors is to navigate to the Highscores.php file in the web browser.. I'll def check these out. Thanks. go to http://www.5etdemi.com/blog/ this is patrick mineaults blog. he is lead dev on amfphp. download the cinqetdemi.remoting remoting library..(3rd post down or so).. they're really nice wrapper classes used for remoting. makes it really simple.. theres an example of how to use it there.. basically there wrapper classes for the flash remoting classes.. smith ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] existing project to start using mtasc, an easier way?
Flashcoders, I have an existing AS2 codebase that I think would benefit from using mtasc. The compile time is currently about 1 minute for the application. Not terrible, but not great either. The problems are: I am using includes which I have managed to get around using... but.. After getting though the include issues I am having to go into the Classes and make modifications to a ton of them to get this thing to compile Now I am obviously not the best OOP coder or mtasc would just compile (right?)... but I know a enough about AS and OOP so this should be possible. Is there an easier way to do this or does every class need to be massaged to get mtasc to compile? Is there a -nonstrict flag (i wish)...?? Also what if I were to try to use the Flex compiler, can it publish AS2 for Flash Player 7 (or maybe 8)? Please help!! Thanks for your time. Sean ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Flowing Text in Flash
Yeah, that's what I figured, but if I remember, getTextExtent is a Lingo call for Director? I'll try doing a line of tokens at a time, and see if I can improve the speed that way. Cheers C Michael Bedar wrote: I did the same thing a few years ago, and it worked fine. You may run into speed problems if you go over a certain amount of text to scroll however. Instead of using maxscroll, it is a bit faster to use getTextExtent to see if a given line will fit in the text box.. Instead of testing word by word, you can start to make some educated guesses about how many chars will fit in a line, based again on the extent. This way you can make far fewer comparisons. And remember, if you are putting string S into textboxes a,b and c.. there is no need to test anything in c, just dump everything left in. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Flowing Text in Flash
Get text extent is a TextFormat method On Mar 29, 2006, at 7:19 PM, Chris Hill wrote: Yeah, that's what I figured, but if I remember, getTextExtent is a Lingo call for Director? I'll try doing a line of tokens at a time, and see if I can improve the speed that way. Cheers C Michael Bedar wrote: I did the same thing a few years ago, and it worked fine. You may run into speed problems if you go over a certain amount of text to scroll however. Instead of using maxscroll, it is a bit faster to use getTextExtent to see if a given line will fit in the text box.. Instead of testing word by word, you can start to make some educated guesses about how many chars will fit in a line, based again on the extent. This way you can make far fewer comparisons. And remember, if you are putting string S into textboxes a,b and c.. there is no need to test anything in c, just dump everything left in. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Flowing Text in Flash
Ah, my bad! Very cool, never used that. Thanks a lot! C Michael Bedar wrote: Get text extent is a TextFormat method On Mar 29, 2006, at 7:19 PM, Chris Hill wrote: Yeah, that's what I figured, but if I remember, getTextExtent is a Lingo call for Director? I'll try doing a line of tokens at a time, and see if I can improve the speed that way. Cheers C Michael Bedar wrote: I did the same thing a few years ago, and it worked fine. You may run into speed problems if you go over a certain amount of text to scroll however. Instead of using maxscroll, it is a bit faster to use getTextExtent to see if a given line will fit in the text box.. Instead of testing word by word, you can start to make some educated guesses about how many chars will fit in a line, based again on the extent. This way you can make far fewer comparisons. And remember, if you are putting string S into textboxes a,b and c.. there is no need to test anything in c, just dump everything left in. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Testing LocalConnection from a server in the IDE
Mani - Read here forthwith and whereas the underscore is important: http://www.macromedia.com/support/flash/action_scripts/local_connection_objects/local_connection_object07.html best, - rajat On 3/29/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: Alan- They're both on the same machine but thanks for clearing that up either way. I was thinking that I could test a file sitting on the server using a local swf file and the local connection. I tried putting the domain permission etc but to no avail. Finally I resolved to just placing the other swf file on the same html page in a debug version. Rajat- as far as the name starting with an underscore -does that help? I don't think I've ever come across that- If so I have overlooked it. Thanks guys, Mani On 3/29/06, Alan Queen [EMAIL PROTECTED] wrote: forgive me if this is implied, but there's always been alot of misunderstanding about LocalConnection.. LocalConnection is not used to send messages from one machine to another. It's meant to send messages between 2 or more swf files on the same machine whether in browser or .exe again, don't kill me if that's not what you were referring too ;) On 3/29/06, Rajat Paharia [EMAIL PROTECTED] wrote: Hi Mani - Have you prefixed your localConnectionID with an underscore? Try _id as opposed to id. The other gotcha is just to make sure there aren't two instances of the receiving swf running (as often is the case when using one of the SWF2EXE tools), since one will capture all the messages and the other will show nothing. best, - rajat On 3/29/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: I have a swf that is sending to a LocalConnection and it works fine when they are both operating locally but when I place the sending swf to the server it stops working- this is despite the fact that I have tried placing an allowDomain in the receiving swf. I am using Flash 8 as my authoring environment. What other issues should I troubleshoot when dealing with a LocalConnection behaving this way? Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Rajat Paharia [EMAIL PROTECTED] http://www.bunchball.com http://www.rootburn.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 -- - Alan Queen ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 -- Rajat Paharia [EMAIL PROTECTED] http://www.bunchball.com http://www.rootburn.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 load pregress
Thanks Jim Berkey wrote: This is probably what you are looking for: Live Docs: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1586.html - Original Message - From: Rodrigo Schramm [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 29, 2006 5:10 PM Subject: [Flashcoders] XML load pregress Hello, Is possible to put a load progress in a XML loader? I want to load a xml file and display the progress of download. But, the XML class don't have a onLoadProgress callback like MovieClipLoader. Schramm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Recommendation on good AS 2.0 framework code?
ARP: http://www.osflash.org/arp Cairngorn: http://www.macromedia.com/devnet/flex/articles/cairngorm_pt1_02.html William Gibson: http://en.wikipedia.org/wiki/William_Gibson_%28novelist%29 - respect! 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
Re: [Flashcoders] Recommendation on good AS 2.0 framework code?
i'm getting into arp, but I would highly recommend looking up on jesse's site for his rendition of it, much more flexible. Its good if you are doing application based work, if not.. its too much. ARP: http://www.osflash.org/arp Cairngorn: http://www.macromedia.com/devnet/flex/articles/cairngorm_pt1_02.html William Gibson: http://en.wikipedia.org/wiki/William_Gibson_%28novelist%29 - respect! 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] DINAMIC MENU
make the textfield dynamic, make it multilined, wordwrap and make sure it can autosize. mytxt.autoSize='left'; (can also be true) Hi, I'm loading texts from a XML file to be assigned to different buttons, but this texts have different amout of characters, and I need the buttons to adjust to the amout of characters, keeping the same widht for all of them, and just changing height and make this text to wrap. For example, when text is home this button must have one line, but when text is This text is to long for a button I need it to be set in 2 or maybe 3 lines. Thanks in advance. Sebastián Sirvent http://www.e-foco.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] PrintJob causes Abort Script error message.
Steven Sacks wrote: Please warn us when you are going to do this, since from the tone of the conversation, there is some sense that this will cause the end of civilization as we know it. Hacking the swf to increase the timeout is not the solution, it's a band-aid on a gunshot wound. Maybe he is only nicked and a band-aid might do the job. It is hard to tell without reading all 50,000 lines of his code. In the real world, sometimes you only need to fix the problem in the current release and can fix the design in the next version. Patches are allowed and many patches do not make it into the next release because the underlying problem goes away with a redesign. It is impossible to tell if his application will blow up after the timeout is increased but it is unlikely that it will cause the rest of us much of a problem. Ron I have over 20 years of programming experience including at assembler level, advanced Java, etc, but thanks for trying to put me in my place :-) Let's say for argument's sake that it is a bug and it is all Macromedia's fault and they won't fix it and life is unfair. That doesn't change the fact that your application needs to work to your client's expectations. You need to find a solution because that's what you're paid to do. You hit the nail on the head here - your application needs to work to your client's expectations; not to ours or not to be perfect. As Danny Kodicek knows coming from a Director background, there were tons of bugs in Director and workarounds had to be figured out to make certain things work. John Dowdell, in his infinite wisdom, got on Direct-L and posted that Director had no bugs, that there was just application behavior that Director developers wished worked differently. At the end of the day, I don't tell my client Sorry, it's a bug and I can't work around it. I figure out how to get it done, and so should you and everyone else who does this for a living. The place I'm trying to put you in is Flash Developer. ;) Noble sentiments but sometimes in the real world you have to tell a client Sorry it is a bug/design artifact in the underlying software and I can not fix it or implement a work-around in the budget that you want. Furthermore, the cost of fixing it exceeds the value to the organization. In my work, I can not just charge clients money with no accountability. They expect me to make reasonable judgements about the value of my activities and not to just spend time because I have an ego-driven need to get a perfect solution. I need to be able to explain my position and to demonstrate how my recommendation is in the client's best interest. I do not always know when to quit but not quiting or not accepting a good enough solution is not a virtue (at least not in the eye of the guy paying for it). Ron ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] yet another screwing from micrsoft
anyone care to comment on this little gem? http://www.eweek.com/article2/0,1895,1943847,00.asp looks bad to me, thats a lot of reauthoring ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] existing project to start using mtasc, an easier way?
On 3/29/06, thotskee [EMAIL PROTECTED] wrote: Flashcoders, I have an existing AS2 codebase that I think would benefit from using mtasc. The compile time is currently about 1 minute for the application. Not terrible, but not great either. The problems are: I am using includes which I have managed to get around using... but.. After getting though the include issues I am having to go into the Classes and make modifications to a ton of them to get this thing to compile Now I am obviously not the best OOP coder or mtasc would just compile (right?)... but I know a enough about AS and OOP so this should be possible. Is there an easier way to do this or does every class need to be massaged to get mtasc to compile? Is there a -nonstrict flag (i wish)...?? I don't think so...you just have to go through and fix them all. Even a very large project, shouldn't take you more than a day's work to convert, most fixes are generally very simple. My coworkers always write code like this: if(blah) var arg = 1 else var arg = 2 return arg; // ERROR: arg not defined! which works in MMC. the solution is simple, just define 'arg' above the if statement. Also what if I were to try to use the Flex compiler, can it publish AS2 for Flash Player 7 (or maybe 8)? I haven't heard exactly, but I'm pretty sure it doesn't compile to AS2. They don't want to compete with mtasc I guess :P -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] Tween and actionscript
I have a movieclip animating across the stage using a tween in the timeline. Halfway through that tween I'm using AS to set the _alpha of the clip to 50%. At the moment I do this, if forgets about the tween in the timeline and stops moving. Why is this happenning? How do I tell Flash that I want the timeline animation to keep working after I change a MovieClip property? 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
Re: [Flashcoders] Tween and actionscript
I have a movieclip animating across the stage using a tween in the timeline. Halfway through that tween I'm using AS to set the _alpha of the clip to 50%. At the moment I do this, if forgets about the tween in the timeline and stops moving. Why is this happenning? How do I tell Flash that I want the timeline animation to keep working after I change a MovieClip property? Timeline animations are something done on design-time - when exporting the final SWF, flash actually renders all the motion frames to precalculated pseudo-keyframes and then applies them when playing the movie. You can't make it 'switch' back to the timeline tween. As soon as you change a property dynamically, it snaps out of any tweening and flash won't update it anymore. You can do this: 1. Instead of changing the property on the movie that's being tweened on the timeline, change it INSIDE it (for example, having a container movieclip inside the movieclip itself, which you can change the property); or 2. Drop timeline tweening and use 100% actionscript tweening instead. Chosing option 1 can be messy and it's a bit different to figure out (it will stack with yout timeline tweening, not overwrite or change it) but it works on some cases. And chosing option 2 is probably the best thing you'll ever do for your flash development productivity. - Zeh ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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
I'll wager microsoft is a wee bit more upset about the eolas patent than you are... Here is a workaround for it... http://www.flashinto.com/phpBB2/viewtopic.php?t=3215sid=a69d2b96fbe275f8ae573b0ad09600c0 On 3/29/06, Andy Johnston [EMAIL PROTECTED] wrote: anyone care to comment on this little gem? http://www.eweek.com/article2/0,1895,1943847,00.asp looks bad to me, thats a lot of reauthoring ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Tween and actionscript
Or just add a keyframe in the middle and change the alpha On Mar 30, 2006, at 12:03 AM, Zeh Fernando wrote: I have a movieclip animating across the stage using a tween in the timeline. Halfway through that tween I'm using AS to set the _alpha of the clip to 50%. At the moment I do this, if forgets about the tween in the timeline and stops moving. Why is this happenning? How do I tell Flash that I want the timeline animation to keep working after I change a MovieClip property? Timeline animations are something done on design-time - when exporting the final SWF, flash actually renders all the motion frames to precalculated pseudo-keyframes and then applies them when playing the movie. You can't make it 'switch' back to the timeline tween. As soon as you change a property dynamically, it snaps out of any tweening and flash won't update it anymore. You can do this: 1. Instead of changing the property on the movie that's being tweened on the timeline, change it INSIDE it (for example, having a container movieclip inside the movieclip itself, which you can change the property); or 2. Drop timeline tweening and use 100% actionscript tweening instead. Chosing option 1 can be messy and it's a bit different to figure out (it will stack with yout timeline tweening, not overwrite or change it) but it works on some cases. And chosing option 2 is probably the best thing you'll ever do for your flash development productivity. - Zeh ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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
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 I'll wager microsoft is a wee bit more upset about the eolas patent than you are... Here is a workaround for it... http://www.flashinto.com/phpBB2/viewtopic.php?t=3215sid=a69d2b96fbe275f8ae573b0ad09600c0 On 3/29/06, Andy Johnston [EMAIL PROTECTED] wrote: anyone care to comment on this little gem? http://www.eweek.com/article2/0,1895,1943847,00.asp looks bad to me, thats a lot of reauthoring ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Tween and actionscript
Since I use Zeh's tweening methods I would have to agree with him, use actionscript to do the tweening and you'll be a happy developer from this day forth. It is a much cleaner way to control your movies. If you haven't done so to this point I would suggest reading through his site and get a handle on how you can have more control over your movies using actionscript. http://hosted.zeh.com.br/mctween/using.html I know that doesn't answer your question but it will help you as a developer. Gerry On Mar 30, 2006, at 12:03 AM, Zeh Fernando wrote: I have a movieclip animating across the stage using a tween in the timeline. Halfway through that tween I'm using AS to set the _alpha of the clip to 50%. At the moment I do this, if forgets about the tween in the timeline and stops moving. Why is this happenning? How do I tell Flash that I want the timeline animation to keep working after I change a MovieClip property? Timeline animations are something done on design-time - when exporting the final SWF, flash actually renders all the motion frames to precalculated pseudo-keyframes and then applies them when playing the movie. You can't make it 'switch' back to the timeline tween. As soon as you change a property dynamically, it snaps out of any tweening and flash won't update it anymore. You can do this: 1. Instead of changing the property on the movie that's being tweened on the timeline, change it INSIDE it (for example, having a container movieclip inside the movieclip itself, which you can change the property); or 2. Drop timeline tweening and use 100% actionscript tweening instead. Chosing option 1 can be messy and it's a bit different to figure out (it will stack with yout timeline tweening, not overwrite or change it) but it works on some cases. And chosing option 2 is probably the best thing you'll ever do for your flash development productivity. - Zeh ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] [ANNC] FlashAmp 3 Released
Marmalade Multimedia is pleased to announce the release of FlashAmp 3 for Windows and Macintosh. FlashAmp is the sound-visualization utility for Macromedia Flash 8 and MX2004. Use FlashAmp 3 to quickly and easily synchronize sound in Flash... - Create perfectly synchronized audio animations and visualizations based on sound frequencies and amplitude. - FlashAmp is the quickest and easiest way to lip sync character animations in Flash. - Take advantage of the new imaging features in Flash 8 to create amazing audio visualizations with a level of performance that was previously impossible. FlashAmp 3 is available now, with a bunch of new features including a Preview window with animated spectrum and waveform displays, and new spectrum and amplitude functions to give you more control over the audio data that you can use in Flash. FlashAmp comes in three editions - Pro, Standard and Lite - so you can choose the functionality that suits you without having to pay for stuff you won't use. All editions of FlashAmp are designed to be easy to use so you can quickly and easily generate the audio sync data that you can use in Flash. And once FlashAmp has produced the data you don't have to be an expert in ActionScript to get great results. All three editions of FlashAmp are available for Windows 2000/XP and Mac OS X. To get more information and download a demo version of FlashAmp 3 go to, http://www.marmalademedia.com.au/flashamp/ ___ Marmalade Multimedia www.marmalademedia.com.au ___ ___ Sydney, Australia[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