Re: Re: [Flashcoders] Progressivelly download (and show) a jpg image
Please people, update your facts, since Flash Player 8, Flash can dynamicly load progressive jpgs, along several other image formats as stated in a previous message.. Yet I don't know if Flash can be triggered to show the image displaying progressivly, In my experience when I just do a simple loader with a MovieClipLoader, it is displayed after it is completely loaded, not a second before :(. good luck, Joeri On 7/2/06, Marlon Harrison [EMAIL PROTECTED] wrote: I may be wrong, but I think the only way to achieve that effect is to simulate it once the image is completely loaded. When you see jpg's load in progessively - it's because they're encoded that way. Flash can't load progressive jpegs. On 7/1/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: Is it possible somehow to progressivelly show a jpg being loaded via loadMovie()? The topdown effect that is native in images loaded via html... as far as I know, It´s only possible to show the image in the flash player after it has been completely loaded, but I remember seeing an example of such thing on flashkit once... Cheers, Marcelo. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] [Ann] Tonight: World's Largest Flex Application
I wish people wouldn't advertise local events on this list. The grand screaming majority here is nowhere near Sydney and probably won't be anytime soon. - Andreas Chris Velevitch wrote: Tonight, Robin Hilliard of Rocketboots (www.rocketboots.com.au) will talk about the lessons learnt from the world's largest Flex (1.5) application. 6:30 pm for 7 pm start. Details about the group, venue and program are available from http://www.flashdev.org.au. Please also note, whilst the meetings and the use of the club are free, the club does require us to purchase beverages and/or snacks in exchange. Please RSVP at http://www.flashdev.org.au/rsvp. There will be lucky door prizes for those who rsvp. (Put yourself on the http://www.frappr.com/flexdevelopers map) Chris -- - Andreas Rønning --- Flash guy Rayon Visual Concepts, Oslo, Norway --- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] [Ann] Tonight: World's Largest Flex Application
I disagree. I dont know the full demographic breakdown of the members of this list so I can't comment on the 'screaming majority', but even if there are 1 or 2 aussie coders interested in this I would consider it useful. Andreas Rønning wrote: I wish people wouldn't advertise local events on this list. The grand screaming majority here is nowhere near Sydney and probably won't be anytime soon. - Andreas Chris Velevitch wrote: Tonight, Robin Hilliard of Rocketboots (www.rocketboots.com.au) will talk about the lessons learnt from the world's largest Flex (1.5) application. 6:30 pm for 7 pm start. Details about the group, venue and program are available from http://www.flashdev.org.au. Please also note, whilst the meetings and the use of the club are free, the club does require us to purchase beverages and/or snacks in exchange. Please RSVP at http://www.flashdev.org.au/rsvp. There will be lucky door prizes for those who rsvp. (Put yourself on the http://www.frappr.com/flexdevelopers map) 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] [Ann] Tonight: World's Largest Flex Application
I wish people wouldn't advertise local events on this list. The grand screaming majority here is nowhere near Sydney and probably won't be anytime soon. Isn't it easy enough for you to ignore them? I went ahead and gave my blessing to Chris' announcements, because I don't think there's a local list for him to use. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] [Ann] Tonight: World's Largest Flex Application
I'm relatively certain if there are 1 or 2 aussie coders interested in this they'd be signed up to other lists where the information would be more readily available. This list is global, and as Sydney has a developers group, they should have a list of their own. Sorry, but this is the second time i've seen this event advertised on this list and once is more than enough thanks. This falls back on previous list arguments about what content is proper here to keep the noise to a minimum, and on that note, my opinion is stated, and i'll leave it at that. - Andreas Nick Weekes wrote: I disagree. I dont know the full demographic breakdown of the members of this list so I can't comment on the 'screaming majority', but even if there are 1 or 2 aussie coders interested in this I would consider it useful. Andreas Rønning wrote: I wish people wouldn't advertise local events on this list. The grand screaming majority here is nowhere near Sydney and probably won't be anytime soon. - Andreas Chris Velevitch wrote: Tonight, Robin Hilliard of Rocketboots (www.rocketboots.com.au) will talk about the lessons learnt from the world's largest Flex (1.5) application. 6:30 pm for 7 pm start. Details about the group, venue and program are available from http://www.flashdev.org.au. Please also note, whilst the meetings and the use of the club are free, the club does require us to purchase beverages and/or snacks in exchange. Please RSVP at http://www.flashdev.org.au/rsvp. There will be lucky door prizes for those who rsvp. (Put yourself on the http://www.frappr.com/flexdevelopers map) 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 -- - Andreas Rønning --- Flash guy Rayon Visual Concepts, Oslo, Norway --- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] [Ann] Tonight: World's Largest Flex Application
Fine :) Just thought i was being a good watchdog. Let anarchy roam free! - A Dave Watts wrote: I wish people wouldn't advertise local events on this list. The grand screaming majority here is nowhere near Sydney and probably won't be anytime soon. Isn't it easy enough for you to ignore them? I went ahead and gave my blessing to Chris' announcements, because I don't think there's a local list for him to use. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- - Andreas Rønning --- Flash guy Rayon Visual Concepts, Oslo, Norway --- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Out of Office June 30 - July 4
I will be out of the office June 30 through July 4, returning July 5th in the a.m. I will return all messages and emails on Weds. July 5th. Thanks - Tracey Halvorsen fastspot ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] [Ann] Tonight: World's Largest Flex Application
Dave Watts wrote: I wish people wouldn't advertise local events on this list. The grand screaming majority here is nowhere near Sydney and probably won't be anytime soon. Isn't it easy enough for you to ignore them? I went ahead and gave my blessing to Chris' announcements, because I don't think there's a local list for him to use. I think his posting is a tid bit rude in my humble opinion. I don't see why they can't post such interesting posts. The only problem that could be is it's Flex orientated ;) Anyway it's to warm to make a fight ;-=) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Any tools for testing flash applications?
Hello, at osflash you can find a project called AutoTestFlash, which can be used for GUI-tests. Janosch Vipin schrieb: Hello All, I am new to this mailing list and this is my first mail. We are a company which makes desktop flash/director applications(both desktop and online). If there is any reliable tools using which we can automate testing the applications. We tried a tool called 'Test Smith', but found not reliable. Any suggestions? links? which can help us ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Problem creating Shared Objects
Hi, I have a problem where Shared objects are not getting created on the client's machine. The Shared Objects works fine on my machine. Are there any known issues with any OS / Flash player versions? Regards, Aasim Momin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] [Ann] Tonight: World's Largest Flex Application
You want rude? Try Too many posts on this list are newbie questions! I'm king benign :P There have been points in the past when members of this list get the finger for posting local news, and i didn't see why this was any different. But i stand corrected. - A Weyert de Boer wrote: Dave Watts wrote: I wish people wouldn't advertise local events on this list. The grand screaming majority here is nowhere near Sydney and probably won't be anytime soon. Isn't it easy enough for you to ignore them? I went ahead and gave my blessing to Chris' announcements, because I don't think there's a local list for him to use. I think his posting is a tid bit rude in my humble opinion. I don't see why they can't post such interesting posts. The only problem that could be is it's Flex orientated ;) Anyway it's to warm to make a fight ;-=) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- - Andreas Rønning --- Flash guy Rayon Visual Concepts, Oslo, Norway --- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Any tools for testing flash applications?
Thanks for the reply man. We tried that also. Was not promosing too Still searching for some good tools which can handle this. Any help? Please On 7/3/06, janosch [EMAIL PROTECTED] wrote: Hello, at osflash you can find a project called AutoTestFlash, which can be used for GUI-tests. Janosch Vipin schrieb: Hello All, I am new to this mailing list and this is my first mail. We are a company which makes desktop flash/director applications(both desktop and online). If there is any reliable tools using which we can automate testing the applications. We tried a tool called 'Test Smith', but found not reliable. Any suggestions? links? which can help us ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Regards, Vipin Chandran Impelsys India Pvt. Ltd. Mobile : +91 9449519384 Office :+91 80 55167584 [EMAIL PROTECTED] Every man should marry. After all, happiness is not the only thing in life. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Problem creating Shared Objects
1. Right click any flash content on the browser, 2. select settings from the drop down menu, 3. click the folder icon in the tabbed pane, and 4. increase the slider which determines the amount of memory used by the flash player for local storage. Your client must have changed this settings and reduced it to 0 KB. Hope that helps, Arul Prasad. On 7/3/06, Aasim Momin [EMAIL PROTECTED] wrote: Hi, I have a problem where Shared objects are not getting created on the client's machine. The Shared Objects works fine on my machine. Are there any known issues with any OS / Flash player versions? Regards, Aasim Momin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] duplicateMovie / setInterval problem
Thanks alot ! It works really fine now! Have a nice day hh Le 3 juil. 06, à 01:28, Keith Reinfeld a écrit : You need to dispense with the for loop (which creates all your duplicates in one shot) and use setInterval to call a function instead (dupMC() below.) I've made some other changes (commented) to help get you closer to your goal. code var ln:Number = 30; var spacer:Number = 0; var listeMC = new Array(); //separate the 'container' from the 'clip-Number' MovieClips it holds this.createEmptyMovieClip(container, this.getNextHighestDepth()); var dupee:MovieClip = setUpContainer(); //create our seed movie listeMC.push(dupee); //get our seed movie (container.clip-0) into the list var i:Number = 1; //initialize the counter function dupMC() { //the 'tempMC' reference need not exist outside this function's scope var tempMC:MovieClip = dupee.duplicateMovieClip(clip- + i, i); tempMC._y = (tempMC._height + spacer) * i; tempMC._alpha = ln/i*10; //a more flexible formula listeMC.push(tempMC); //add the duplicate to the list //turn off the interval when done if (i == ln) { //we end up with ln+1 child clips (clip-0 thru clip-ln) //in this case container has 31 children clearInterval(intervalID); } i++; } var intervalID:Number = setInterval(dupMC, 100); //one-tenth of a second function setUpContainer():MovieClip { var mc:MovieClip = container.createEmptyMovieClip(clip-0, container.getNextHighestDepth()); mc.lineStyle(1, 0xff, 0); mc.beginFill(0x000, 100); mc.moveTo(10, 0); mc.lineTo(10, 0); mc.lineTo(10, 10); mc.lineTo(0, 10); mc.lineTo(0, 0); mc._x = 1; mc._y = 0; mc.endFill(); return mc; } /code HTH -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of hervé hubert Sent: Saturday, July 01, 2006 10:14 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] duplicateMovie / setInterval problem Hi I'm trying to duplicate a MC by adding a time delay with setInterval It doesn't seems to work can anyone help? Thanks alot. //Code var container:MovieClip = setUpContainer(); var ln:Number = 30; var spacer:Number = 0; var newMC:MovieClip; var listeMC = new Array(); for (var i=1 ; i=30; i++) { newMC = container.duplicateMovieClip(clip-+i, i+10); newMC._y = (newMC._height + spacer) * i; newMC._alpha -= i*4; clearInterval(intervalID); } var intervalID =setInterval(setUpContainer,1); function setUpContainer():MovieClip { var mc:MovieClip = this.createEmptyMovieClip(container, this.getNextHighestDepth()); mc.lineStyle(1, 0xff, 0) mc.beginFill(0x000, 100); mc.moveTo(10,0); mc.lineTo(10,0); mc.lineTo(10,10); mc.lineTo(0,10); mc.lineTo(0,0); mc._x = 1; mc._y = 0; mc.endFill(); return mc; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] AS3 - why no properties in interfaces?
Hi Sascha, But it's still beyond me why property support wasn't added. It can be such a complex thing but would make OO life a good amount easier. You are refering to Java but defined fields in java are implicitly static finals and need to be initilized within interface, so, you are not missing that much in AS3 anyway. Also, bad habit of java programmers is to use interfaces as container of constants, which, saves them some typing (although with static imports in 1.5 version it doesn't make any difference). -m ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Problem creating Shared Objects
Arul, increase the slider which determines the amount of memory used by the flash player for local storage. This has already been done and the size set to a high level. Still this doesn't work. Could anything else be the problem. Regards, Aasim Momin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arul Prasad M L Sent: Monday, July 03, 2006 3:17 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Problem creating Shared Objects 1. Right click any flash content on the browser, 2. select settings from the drop down menu, 3. click the folder icon in the tabbed pane, and 4. increase the slider which determines the amount of memory used by the flash player for local storage. Your client must have changed this settings and reduced it to 0 KB. Hope that helps, Arul Prasad. On 7/3/06, Aasim Momin [EMAIL PROTECTED] wrote: Hi, I have a problem where Shared objects are not getting created on the client's machine. The Shared Objects works fine on my machine. Are there any known issues with any OS / Flash player versions? Regards, Aasim Momin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] [Ann] Tonight: World's Largest Flex Application
Andreas Rønning wrote: You want rude? Try Too many posts on this list are newbie questions! I'm king benign :P That's just as my statement about rude is subjective, everyone has a different definition of a newbie ;-) Yours, Weyert ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] LocalConnection to multiple swfs
If I've got several swfs running locally (through Director), can they all connect to the same LocalConnection object? I'm having a lot of problems getting this working in one-to-one connections because LocalConnections seem to be asynchronous, and it occurs to me that having a simple pair of connections running continually in all objects might be easier (and faster) than trying to open and run them one by one. To explain a bit more clearly the structure I'm trying to achieve, I have a main data-holding swf we'll call Data, and a bunch of data-displaying swfs we can call Display1, Display2 etc. Once initialised, I need to tell each Display to go and get data from Data. My original idea was something like this: 1) open ToData connection in Data 2) open FromData connection in Display1 3) run getData in ToData, requesting data for Display1 4) run setData in FromData, returning the data to Display1 5) close FromData connection in Display1 6) repeat 2-5 for each Display 7) close ToData connection in Data Unfortunately, because the process is asynchronous, this method was closing connections before the results have been received. (It's complicated further by the fact that I'm actually running multiple getData requests for each Display swf). I've tried various variants but they all have problems. My best idea was simply to leave ToData and FromData open continually, and pass an id number with setData and getData to route the messages appropriately. But it seems that each LocalConnection.connect() command disconnects the last. I'm rambling a bit - I guess I'm looking for some general advice. Can anyone suggest a cleaner or more appropriate approach? 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] LocalConnection to multiple swfs
can they all connect to the same LocalConnection object? No. For every connection (send and receive) there must be a localconnection object. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] v.8 SWF loading v.7 SWF issue
My project used to be exported to flash 7 swf´s. Then, I started using some Flash Player 8 on some of them. Then, suddenly, a swf 7 that is loaded by a Flash 8 swf started having problems with the shared library importing (shared fonts and components not importing). I wonder if this v8 swf loading v7swf could be the problem? Has anyone ever had any similar problems? Thanks in advance, Marcelo. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] LocalConnection to multiple swfs
can they all connect to the same LocalConnection object? No. For every connection (send and receive) there must be a localconnection object. Damn. Okay, trying some alternative ideas now... 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] Problem creating Shared Objects
hi can you give me more info about client test machine (OS, Flash Player Version, Local Sec. Policy Rules)... ilhan kisioglu On 7/3/06, Aasim Momin [EMAIL PROTECTED] wrote: Arul, increase the slider which determines the amount of memory used by the flash player for local storage. This has already been done and the size set to a high level. Still this doesn't work. Could anything else be the problem. Regards, Aasim Momin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arul Prasad M L Sent: Monday, July 03, 2006 3:17 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Problem creating Shared Objects 1. Right click any flash content on the browser, 2. select settings from the drop down menu, 3. click the folder icon in the tabbed pane, and 4. increase the slider which determines the amount of memory used by the flash player for local storage. Your client must have changed this settings and reduced it to 0 KB. Hope that helps, Arul Prasad. On 7/3/06, Aasim Momin [EMAIL PROTECTED] wrote: Hi, I have a problem where Shared objects are not getting created on the client's machine. The Shared Objects works fine on my machine. Are there any known issues with any OS / Flash player versions? Regards, Aasim Momin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] v.8 SWF loading v.7 SWF issue
Hi ilhan, thanks for the reply... but I didn´t really understood what you meant... check instance name of what object? On 7/3/06, ilhan kisioglu [EMAIL PROTECTED] wrote: hi you can check instance name of object ilhan kisioglu On 7/3/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: My project used to be exported to flash 7 swf´s. Then, I started using some Flash Player 8 on some of them. Then, suddenly, a swf 7 that is loaded by a Flash 8 swf started having problems with the shared library importing (shared fonts and components not importing). I wonder if this v8 swf loading v7swf could be the problem? Has anyone ever had any similar problems? Thanks in advance, Marcelo. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Security Sandbox issue ...
did you add your domain to crossdomain.xml file or did you create crossdomain.xml and you can create html container for wrapping your swf file... because it might need pass data from over html ilhan kisioglu On 7/3/06, Stephen Ford [EMAIL PROTECTED] wrote: Hello, I received this error while remotely debugging a swf: (15917) Connections: true | true*** Security Sandbox Violation ***Connection to http://my.abcnews.go.com/rsspublic/fp_rss20.xml halted - not permitted from http://localhost/test.swf I have added the file in question (http://localhost/test.swf) to the trusted locations list in the Global Security Settings of my Flash player, but still get the violation message. Can anyone advise on this. Thanks, Stephen.___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] v.8 SWF loading v.7 SWF issue
hi again, i can send an example file, but evening.. if you want... ilhan kisioglu On 7/3/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: Hmmm... can you give a more concrete example and maybe how you solved it!? I didn´t really understand it well yet :/ Thanks! Marcelo. On 7/3/06, ilhan kisioglu [EMAIL PROTECTED] wrote: i have seen same problem before... while shared library importing into the main swf file, it can conflict with other instance name... On 7/3/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: Hi ilhan, thanks for the reply... but I didn´t really understood what you meant... check instance name of what object? On 7/3/06, ilhan kisioglu [EMAIL PROTECTED] wrote: hi you can check instance name of object ilhan kisioglu On 7/3/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: My project used to be exported to flash 7 swf´s. Then, I started using some Flash Player 8 on some of them. Then, suddenly, a swf 7 that is loaded by a Flash 8 swf started having problems with the shared library importing (shared fonts and components not importing). I wonder if this v8 swf loading v7swf could be the problem? Has anyone ever had any similar problems? Thanks in advance, Marcelo. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] problem downloading files via flash.net.FileReference from subdomain
i have setup a subdomain like mysubdomain.domain.tld. now i want to download Files via flash.net.FileReference which works fine on localhost but not on deploy server. the error is the path to the file. the server prepends a local path to the subdomain which is like: /hsphere/local/home/domain/subdomain/ which is correct, cause the subdomain is routed to a folder which is called like the subdomain. here's my as-code: CODE function downloadNext (item) { var file:FileReference = new FileReference (); file.addListener (downLoadListener); NetDebug.trace (Download parameter: + item); // traces fine, just the filename no path! file.download (item); } /CODE to listen to the events, i have an objectListener like: CODE downLoadListener = new Object (); // downLoadListener.onSelect = function (file:FileReference):Void { trace (onSelect: + file.name); NetDebug.trace (onSelect: + file.name); }; downLoadListener.onCancel = function (file:FileReference):Void { trace (onCancel); NetDebug.trace (onCancel); }; downLoadListener.onOpen = function (file:FileReference):Void { trace (onOpen: + file.name); NetDebug.trace (onOpen: + file.name); }; downLoadListener.onProgress = function (file:FileReference, bytesLoaded:Number, bytesTotal:Number):Void { trace (onProgress with bytesLoaded: + bytesLoaded + bytesTotal: + bytesTotal); NetDebug.trace (onProgress with bytesLoaded: + bytesLoaded + bytesTotal: + bytesTotal); }; downLoadListener.onComplete = function (file:FileReference):Void { trace (onComplete: + file.name); NetDebug.trace (onComplete: + file.name); NetDebug.trace (fileList.length: + fileList.length); if (fileList.length 1) { downloadNext (fileList[0]); } }; downLoadListener.onIOError = function (file:FileReference):Void { trace (onIOError: + file.name); NetDebug.trace (onIOError: + file.name); }; downLoadListener.onHTTPError = function(file:FileReference):Void { trace(onHTTPError: + file.name); NetDebug.trace (onHTTPError: + file.name); } downLoadListener.onSecurityError = function(file:FileReference, errorString:String):Void { trace(onSecurityError: + file.name + errorString: + errorString); NetDebug.trace (onSecurityError: + file.name + errorString: + errorString); } /CODE the funny thing is, that the onSelect gets called, when downloadNext is invoked but no onHTTPError or else. anyone to shed some light ? micha ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] v.8 SWF loading v.7 SWF issue
Ok Ilhan, I would be grateful. But I would be happy if you could explain better under what circunstances the problem you said happened - was that a swfv8 loading a swfv7? You said conflict with other instance name - what conflicts to what? Thanks! On 7/3/06, ilhan kisioglu [EMAIL PROTECTED] wrote: hi again, i can send an example file, but evening.. if you want... ilhan kisioglu On 7/3/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: Hmmm... can you give a more concrete example and maybe how you solved it!? I didn´t really understand it well yet :/ Thanks! Marcelo. On 7/3/06, ilhan kisioglu [EMAIL PROTECTED] wrote: i have seen same problem before... while shared library importing into the main swf file, it can conflict with other instance name... On 7/3/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: Hi ilhan, thanks for the reply... but I didn´t really understood what you meant... check instance name of what object? On 7/3/06, ilhan kisioglu [EMAIL PROTECTED] wrote: hi you can check instance name of object ilhan kisioglu On 7/3/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: My project used to be exported to flash 7 swf´s. Then, I started using some Flash Player 8 on some of them. Then, suddenly, a swf 7 that is loaded by a Flash 8 swf started having problems with the shared library importing (shared fonts and components not importing). I wonder if this v8 swf loading v7swf could be the problem? Has anyone ever had any similar problems? Thanks in advance, Marcelo. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] RTSP in flash?
I will be creating this as a desktop application. I have already written in C++ a controller interface for the xbox 360. I now need to get the video into the application. My thought was to use zink or some other 3rd party projector but all them seem to only allow you to load a local file not a url for the stream. Thanks for your insight. Back to google I go! Wade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chafic Kazoun Sent: Friday, June 30, 2006 7:04 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] RTSP in flash? The Flash Player doesn't support the RTSP protocol (neither RTP, RTCP which are usually also required for proper RTSP) and it doesn't support decoding MPEG4 Video. So, currently there is no way for you to play such a stream natively in the player and I doubt it will be coming anytime soon if ever. The only other option would be for you to try to layer a quicktime player (if that player supports the version of mpeg4 your camera provides) or some media player on top of the Flash interface and have them communicate to each other, which essentially means you would fake the displaying of the video within Flash. My guess is you are trying to do this within a browser, if you have the option of distributing this application as a desktop application you might want to look into some methods of embedding media player within a desktop application or take a look at 3rd party projector tools which some will allow you to do this more easily if you have no experience in writing desktop applications HTH Chafic http://www.atellis.com blog: http://www.rewindlife.com On Jun 30, 2006, at 4:45 PM, Wade Arnold wrote: I have a desktop application that I am working on that has one camera that it connects at: rtsp://127.0.0.1/livefeed I have scoured the web and do not see any way of natively accessing this stream from flash. Does anyone know of any third part flash players that allow you to connect to real time streaming protocol? Thanks for any insight! Wade Arnold t8design.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] Problem creating Shared Objects
Hi, Most probably my client is using Windows XP or Windows ME, Flash Player version being used is Flash Player 8 (The course has been developed for Version 7 or higher). Are there any known issues with any OS? Regards, Aasim Momin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ilhan kisioglu Sent: Monday, July 03, 2006 6:53 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Problem creating Shared Objects hi can you give me more info about client test machine (OS, Flash Player Version, Local Sec. Policy Rules)... ilhan kisioglu On 7/3/06, Aasim Momin [EMAIL PROTECTED] wrote: Arul, increase the slider which determines the amount of memory used by the flash player for local storage. This has already been done and the size set to a high level. Still this doesn't work. Could anything else be the problem. Regards, Aasim Momin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arul Prasad M L Sent: Monday, July 03, 2006 3:17 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Problem creating Shared Objects 1. Right click any flash content on the browser, 2. select settings from the drop down menu, 3. click the folder icon in the tabbed pane, and 4. increase the slider which determines the amount of memory used by the flash player for local storage. Your client must have changed this settings and reduced it to 0 KB. Hope that helps, Arul Prasad. On 7/3/06, Aasim Momin [EMAIL PROTECTED] wrote: Hi, I have a problem where Shared objects are not getting created on the client's machine. The Shared Objects works fine on my machine. Are there any known issues with any OS / Flash player versions? Regards, Aasim Momin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] v.8 SWF loading v.7 SWF issue
your problem source can be flash player security model... if you call something from outside, flash player 8 is not allowed that data loading... and one more thing, if you load some objects from outside with same instance name, it can make problem, i have told that on my first email can i see your flash application ? -- ilhan kisioglu On 7/3/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: Ok Ilhan, I would be grateful. But I would be happy if you could explain better under what circunstances the problem you said happened - was that a swfv8 loading a swfv7? You said conflict with other instance name - what conflicts to what? Thanks! On 7/3/06, ilhan kisioglu [EMAIL PROTECTED] wrote: hi again, i can send an example file, but evening.. if you want... ilhan kisioglu On 7/3/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: Hmmm... can you give a more concrete example and maybe how you solved it!? I didn´t really understand it well yet :/ Thanks! Marcelo. On 7/3/06, ilhan kisioglu [EMAIL PROTECTED] wrote: i have seen same problem before... while shared library importing into the main swf file, it can conflict with other instance name... On 7/3/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: Hi ilhan, thanks for the reply... but I didn´t really understood what you meant... check instance name of what object? On 7/3/06, ilhan kisioglu [EMAIL PROTECTED] wrote: hi you can check instance name of object ilhan kisioglu On 7/3/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: My project used to be exported to flash 7 swf´s. Then, I started using some Flash Player 8 on some of them. Then, suddenly, a swf 7 that is loaded by a Flash 8 swf started having problems with the shared library importing (shared fonts and components not importing). I wonder if this v8 swf loading v7swf could be the problem? Has anyone ever had any similar problems? Thanks in advance, Marcelo. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Re: Programmatically instantiating a class that extends MovieClip
As a variant on the __proto__ method (which I gather is what the compiler actually uses behind the scenes anyway) I also bundle the code into a static method Class A { ... // dynamicMc (no library symbol) will be added and subclassed to mcSubClass dynamicMc:MovieClip = McSubClass.addInstance(baseMC); } class McSubClass extends MovieClip{ function McSubClass { //empty constructor } function init(){ //initialize mc - add dynamic graphics etc } static function addInstance (base_mc) { var newMc; var nd = base_mc.getNextHighestDepth(); newMc= base_mc.createEmptyMovieClip(mcSubClass+nd,nd); newMc.__proto__ = new McSubClass (); newMc.init(); return newMc; } } maybe mc.__proto__ == MyClass.prototype (below) is better than my newMc.__proto__ = new McSubClass () my method (i picked up on this list) does have the side effect that the constructor can't initialize the mc, hence the separate init call after the __proto__ / constructor; all wrapped in one method so I don't forget Rob Subject: Re: [Flashcoders] Programmatically instantiating a class that extends MovieClip. To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=UTF-8; format=flowed Hello :) it's easy, you must use __proto__ AS2 - MyClass extend MovieClip !!! MyClass extends MovieClip { // o Constructor public function MyClass() { } } var mc = createEmptyMovieClip(myInstance, 1) ; mc.__proto__ == MyClass.prototype ; MyClass.call(mc) ; EKA + :) 2006/6/29, Scott Hyndman [EMAIL PROTECTED]: That's exactly what I mean. As a result you can do cool things like reparenting -- like moving a button from one window to another. It handles the MovieClip creation itself. A code example really isn't too easy, because the framework that allows this to be possible is quite large. If you were really interested, you could look at the code. Here's a link: http://tinyurl.com/jqtwv It's a gigantic class...so it might be difficult to work through. The important method is createMovieClips(), which is called when a view (the type of object that encapsulates movieclips) moves to a new superview. Scott On 29/06/06, Jim Kremens [EMAIL PROTECTED] wrote: Why not subclass object instead? Both ActionStep and ASwing work this way, then create movieclips on the fly. It's very nice to work with. So you never really subclass movieclip, you use composition instead. In other words, your class has a movieclip, but it isn't a movieclip.,, Is that what you mean, or am I missing the point? Can you give a small code example? Thanks, Jim Kremens --- original message Subject: Re: [Flashcoders] Programmatically instantiating a class that extends MovieClip. To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=UTF-8; format=flowed Hello :) it's easy, you must use __proto__ AS2 - MyClass extend MovieClip !!! MyClass extends MovieClip { // o Constructor public function MyClass() { } } var mc = createEmptyMovieClip(myInstance, 1) ; mc.__proto__ == MyClass.prototype ; MyClass.call(mc) ; EKA + :) Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education Training. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Error: class being compiled does not match...
The project I'm working on has several packages, each with several classes. One package in particular compiles fine and everything works as expected and if I run 'Check Syntax' everything checks out fine. But, if I try to 'Auto Format' the code of one of the class files (just one of the classes in this package - all others seem fine), I get the following error : **Error** /Users/temp/Desktop/20060626/Flash/com/something/somethingelse/MPUpdate.as: Line 6: The class being compiled, 'com.something.somethingelse.MPUpdate', does not match the class that was imported, 'MPUpdate'. class com.something.somethingelse.MPUpdate { The class I'm trying to Auto Format is: com.something.somethingelse.MPView I've googled the error. Livedocs has this to say about the matter: (This error occurs when a class name is spelled with a different case from an imported class. For example, compiling class mx.com.util generates error 1166 if the statement import mx.Com appears in the util.as file.) I've checked, re-checked and re-checked this and am sure this is not the case (why would 'Check Syntax' check out OK if this was the case?). I've deleted the ASO files - no luck. Any ideas? Thanks Adrian P. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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: Re: [Flashcoders] exporting dynamic swf art to other apps
I actually ended up solving this problem from the other direction. It seems that there's no magic bullet solution from within Flash or the player so I tried a different tack and found that I can script Illustrator using JavaScript. I'm sure many people know about this but it was news to me. In about an hour I was able to transcribe my AS to JS and recreate my Flash composition in Illustrator. It executes much slower than Flash, but now I can take my composition to other mediums. If any body's interested, here's an introduction to Illustrator scripting. http://partners.adobe.com/public/developer/en/illustrator/sdk/IllustratorScriptingGuide.pdf Thanks everybody for your help. -=Mason On 6/30/06, John Mark Hawley [EMAIL PROTECTED] wrote: Going the PrintJob route is going to flatten everything no matter what, unless your layers are in separate movieclips that you can print to PDF separately, but you can always scale your clip up to the required resolution, print, then scale back down again... From: Mason Wendell [EMAIL PROTECTED] Date: 2006/06/30 Fri PM 01:50:07 CDT To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: Re: Re: [Flashcoders] exporting dynamic swf art to other apps John: I just played around with this. Unfortunately it flattens all the layers to screen resolution and I need to blow it up for print. It also flattens it to the background, and Ideally I'm looking for a more flexible solution. Joylon: That's a good point about the pdf writer only having the ability to pull the library assets, and not the runtime alterations. I hadn't put that together. It explains why I had no luck with different pdf settings. I'm downloading some decompiler trials, and hopefully I'll have more luck with one of those. On 6/30/06, John Mark Hawley [EMAIL PROTECTED] wrote: How about trying to print the _root as a pdf using {printAsBitmap: true}? That's supposed to play well with transparency, innit? From: Jolyon Russ [EMAIL PROTECTED] Date: 2006/06/30 Fri AM 10:39:24 CDT To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] exporting dynamic swf art to other apps This is a method used a lot by Joshua Davis, I took his FITC boot camp course and no, you can't retain the alpha values and presumably filter (not tried w/filters). I think you'll find that because the alpha and filter properties are applied at run-time the pdf you output will only embed the standard library symbols without any of this information. Also, you might find you get better result printing as .ps files, Illustrator will like them more than pdf but it still won't solve your problem, sadly. Jolyon PS. First reply so :-P On 6/30/06, Mason Wendell [EMAIL PROTECTED] wrote: Thanks a lot. I haven't explored decompilers. I'll check some out and see what my options are. Has anyone else tried this method? Any recommendations for a good decompiler or technique? On 6/30/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote: I think the issue you'll find here is that, the work area of the Flash IDE is not the Flash player. Any content created in the IDE can be made use of however Adobe see fit as it's an IDE, but the player is cut down for file size and speed purposes. Your best bet is to either look up exporting frames from an SWF in the IDE itself, or lookup other IDE's / decompilers and see if they support it. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mason Wendell Sent: 30 June 2006 15:36 To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] exporting dynamic swf art to other apps Hey all, I'm generating art in actionscript that I need to export from my swf and bring into Illustrator or Photoshop for final tweaks before sending it out to a large format printer. I know you can export from the IDE but since everything I'm using is dynamic I can't use those functions. My current best method is to print the swf to a pdf from the player and open that pdf in Illustrator. Unfortunatly I lose all my alpha and filter data in this process, and since I might have 1000 or more instances in my export those values are nearly impossible to recreate. I've tried adjusting the pdf settings but I haven't found the right combo yet. Does anybody here know of a method to export still frames (I'm not trying to export video or motion here) from the swf in a vector format? This issue has been nagging me for quite a while now, and I haven't found any tutorials or tips online on how to do it. I'd really appreciate any feedback from this forum. Thanks a lot. -=Mason
RE: [Flashcoders] Re: Programmatically instantiating a class thatextends MovieClip
I've tested the following a while ago and it works perfectly. It uses the acme ClassUtilities class. MovieFactory: import com.acme.ClassUtilities; class nl.debit.util.MovieFactory { private static var instance : MovieFactory; public static function getInstance() : MovieFactory { if (instance == null) instance = new MovieFactory(); return instance; } private function MovieFactory() { ClassUtilities.registerPackage(); } public static function createMC(target:MovieClip,id:String,className:Function):MovieClip { if (instance == null) instance = new MovieFactory(); if(!className.symbolLinked) { var classPath:String = ClassUtilities.getPath(className); className.symbolName = __Packages. + classPath; className.symbolLinked = Object.registerClass(className.symbolName,className); } return target.attachMovie(className.symbolName,id,target.getNextHighestDepth()); } } MyClass: class MyClass extends MovieClip{ public function MyClass() { beginFill(0x00); moveTo(0,0); lineTo(100,0); lineTo(100,100); lineTo(0,100); lineTo(0,0); endFill(); } } Then use in your code: var mClip:MovieClip = MovieFactory.createMC(_root,test,MyClass); Greetz, Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Costello, Rob R Verzonden: maandag 3 juli 2006 17:05 Aan: flashcoders@chattyfig.figleaf.com Onderwerp: [Flashcoders] Re: Programmatically instantiating a class thatextends MovieClip As a variant on the __proto__ method (which I gather is what the compiler actually uses behind the scenes anyway) I also bundle the code into a static method Class A { ... // dynamicMc (no library symbol) will be added and subclassed to mcSubClass dynamicMc:MovieClip = McSubClass.addInstance(baseMC); } class McSubClass extends MovieClip{ function McSubClass { //empty constructor } function init(){ //initialize mc - add dynamic graphics etc } static function addInstance (base_mc) { var newMc; var nd = base_mc.getNextHighestDepth(); newMc= base_mc.createEmptyMovieClip(mcSubClass+nd,nd); newMc.__proto__ = new McSubClass (); newMc.init(); return newMc; } } maybe mc.__proto__ == MyClass.prototype (below) is better than my newMc.__proto__ = new McSubClass () my method (i picked up on this list) does have the side effect that the constructor can't initialize the mc, hence the separate init call after the __proto__ / constructor; all wrapped in one method so I don't forget Rob Subject: Re: [Flashcoders] Programmatically instantiating a class that extends MovieClip. To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=UTF-8; format=flowed Hello :) it's easy, you must use __proto__ AS2 - MyClass extend MovieClip !!! MyClass extends MovieClip { // o Constructor public function MyClass() { } } var mc = createEmptyMovieClip(myInstance, 1) ; mc.__proto__ == MyClass.prototype ; MyClass.call(mc) ; EKA + :) 2006/6/29, Scott Hyndman [EMAIL PROTECTED]: That's exactly what I mean. As a result you can do cool things like reparenting -- like moving a button from one window to another. It handles the MovieClip creation itself. A code example really isn't too easy, because the framework that allows this to be possible is quite large. If you were really interested, you could look at the code. Here's a link: http://tinyurl.com/jqtwv It's a gigantic class...so it might be difficult to work through. The important method is createMovieClips(), which is called when a view (the type of object that encapsulates movieclips) moves to a new superview. Scott On 29/06/06, Jim Kremens [EMAIL PROTECTED] wrote: Why not subclass object instead? Both ActionStep and ASwing work this way, then create movieclips on the fly. It's very nice to work with. So you never really subclass movieclip, you use composition instead. In other
Re: [Flashcoders] AS3 - why no properties in interfaces?
Although there is -nothing- bad about using interfaces as a container of constants. On 7/3/06, Marijan Miličević [EMAIL PROTECTED] wrote: Hi Sascha, But it's still beyond me why property support wasn't added. It can be such a complex thing but would make OO life a good amount easier. You are refering to Java but defined fields in java are implicitly static finals and need to be initilized within interface, so, you are not missing that much in AS3 anyway. Also, bad habit of java programmers is to use interfaces as container of constants, which, saves them some typing (although with static imports in 1.5 version it doesn't make any difference). -m ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] 50 stars blinking... app gets too slow
I´ve created 50 star movieclips with random sizes, rotation and scale. Till there, everything went fine, the sky´s got good looking, but the stars needed some life, so I thought in adding a fade-in / fade-out tween to each of them - and here comes the problem - I´ve attached a onEnterFrame event to each of them and have written a simple code that does the blinking. It works, but the app gets too slow. I don´t know if it´s becouse of the rendering engine that doesn´t manage to render 50 stars blinking or if it´s becouse of the 50 onEnterFrame events with code to do the fade-in/fade-out. Any ideas? Thanks in advance. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] ServiceCapture or Charles?
Service Capture has a 15 day trial, so I would start with that. I use Service Capture because it does a great job with Flash Remoting traffic. It lets you drill into the nested data, even displaying things correctly if there duplicate references to the same object. It tells you the data and data types, and is generally pretty usable. With VERY large Remoting messages it slows way down when trying to display the message, and basically locks up. I am usually able to reduce the message size to find the bug I'm after. I doubt this would be an issue for many people... I have big messages with lots of cross references. One watchout: Service Capture acts as an HTTP proxy. On startup and shutdown, it configures MSIE's proxy settings. This generally works well. But if Service Capture is shutdown prematurely, it will leave MSIE with bad proxy settings. It will appear that 'the internet is broken' ;) You need to restart Service Capture or reset the proxy settings in MSIE to fix this. This is something to keep in mind if using a local proxy server. Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: I�ve been using Charles for some time, and now I can�t live without a HTTP traffic analiser/debugger. I just discovered ServiceCapture but haven�t had the time to experiment with it. I�m seriously thinking about buying a license of one of them, but before, I would love to know your opinions on what would be the best cost/benefict? Cheers, Marcelo. - Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] 50 stars blinking... app gets too slow
It´s random. While some are fading in, others are fading out and so on. I used Fuse to iterate through the stars created and attach the onEnterFrame event on each of them. How I would animate each of them at different times using only one onEnterFrame event? Maybe the best solution would be to build this animation on the stars timeline in Flash IDE... Thanks, Marcelo. On 7/3/06, Michael Bedar [EMAIL PROTECTED] wrote: 50 onEnterFrames running at the same time could definitely be the problem. Maybe you could consider making one onEnterFrame script that controls all of your star animations.. do they all animate ALL the time, or are only some on at any given time? If nothing else, make sure that movieclips that are not actively doing something are not wasting cycles. On Jul 3, 2006, at 1:38 PM, Marcelo de Moraes Serpa wrote: I´ve created 50 star movieclips with random sizes, rotation and scale. Till there, everything went fine, the sky´s got good looking, but the stars needed some life, so I thought in adding a fade-in / fade-out tween to each of them - and here comes the problem - I´ve attached a onEnterFrame event to each of them and have written a simple code that does the blinking. It works, but the app gets too slow. I don´t know if it´s becouse of the rendering engine that doesn´t manage to render 50 stars blinking or if it´s becouse of the 50 onEnterFrame events with code to do the fade-in/ fade-out. Any ideas? Thanks in advance. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] 50 stars blinking... app gets too slow
It seems much more likely to me that it's alpha related. Remove the alpha-related code and see if it still occurs. Scott On 03/07/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: It´s random. While some are fading in, others are fading out and so on. I used Fuse to iterate through the stars created and attach the onEnterFrame event on each of them. How I would animate each of them at different times using only one onEnterFrame event? Maybe the best solution would be to build this animation on the stars timeline in Flash IDE... Thanks, Marcelo. On 7/3/06, Michael Bedar [EMAIL PROTECTED] wrote: 50 onEnterFrames running at the same time could definitely be the problem. Maybe you could consider making one onEnterFrame script that controls all of your star animations.. do they all animate ALL the time, or are only some on at any given time? If nothing else, make sure that movieclips that are not actively doing something are not wasting cycles. On Jul 3, 2006, at 1:38 PM, Marcelo de Moraes Serpa wrote: I´ve created 50 star movieclips with random sizes, rotation and scale. Till there, everything went fine, the sky´s got good looking, but the stars needed some life, so I thought in adding a fade-in / fade-out tween to each of them - and here comes the problem - I´ve attached a onEnterFrame event to each of them and have written a simple code that does the blinking. It works, but the app gets too slow. I don´t know if it´s becouse of the rendering engine that doesn´t manage to render 50 stars blinking or if it´s becouse of the 50 onEnterFrame events with code to do the fade-in/ fade-out. Any ideas? Thanks in advance. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] 50 stars blinking... app gets too slow
Marcelo de Moraes Serpa wrote: It´s random. While some are fading in, others are fading out and so on. I used Fuse to iterate through the stars created and attach the onEnterFrame event on each of them. Well, you could define variable in each star instance and give up a fadeSpeed whereby it's -5 or +5. This way the one will decresed or increased by two. Example: test.alphaSpeed = +5; test._alpha = 0; test2.alphaSpeed = -5; test2._alpha = 100; this.onEnterFrame = function() { test._alpha = test._alpha + test.alphaSpeed; test2._alpha = test2._alpha + test2.alphaSpeed; } Yours, Weyert de Boer ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] 50 stars blinking... app gets too slow
I´ve created 50 star movieclips with random sizes, rotation and scale. Till there, everything went fine, the sky´s got good looking, but the stars needed some life, so I thought in adding a fade-in / fade-out tween to each of them - and here comes the problem - I´ve attached a onEnterFrame event to each of them and have written a simple code that does the blinking.. It works, but the app gets too slow. I don´t know if it´s becouse of the rendering engine that doesn´t manage to render 50 stars blinking or if it´s becouse of the 50 onEnterFrame events with code to do the fade-in/fade-out. Any ideas? Bottom of the page... http://www.horsefish.net/elementalfx/what.html ryanm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] AS3 Reference Library PDF?
Charles Parcell wrote: Now that Flash Player 9 is officially released, does anyone know if there is a PDF of the AS3 Reference Library? While I know it is on LiveDocs, I like to thumb through actual paper. I'm not sure yet, Charles. First I checked with search term 'actionscript 3' filetype:pdf site:adobe.com, without results. I then checked cubicles over in the Flash section of the building, but with the holiday and the big ship it's pretty quiet there today. If such a resource existed today, then I'd expect to see it linked here: http://www.adobe.com/devnet/actionscript/ I'd suspect a PDF version is on the schedule, but let me try nailing down detail later on in this week, when people who took the short holiday are back on duty. Deal? jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, 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: Re: [Flashcoders] ServiceCapture or Charles?
ive used both, and although i like the way service capture does its thing, i prefer charles. i've actually had to communicate with both of the developers for issues with the app (actually both reagrding parsing of the amf data)...the were both responsive, with the charles guy coming out a little ahead for me...he had new beta's of the app ready to go within a day usually. also, i did run into a similar issue as above with service capture with having to go into the network settings (im on os x) and having to go in and manually turn off the web proxy. On 7/3/06, Todd Hivnor [EMAIL PROTECTED] wrote: Service Capture has a 15 day trial, so I would start with that. I use Service Capture because it does a great job with Flash Remoting traffic. It lets you drill into the nested data, even displaying things correctly if there duplicate references to the same object. It tells you the data and data types, and is generally pretty usable. With VERY large Remoting messages it slows way down when trying to display the message, and basically locks up. I am usually able to reduce the message size to find the bug I'm after. I doubt this would be an issue for many people... I have big messages with lots of cross references. One watchout: Service Capture acts as an HTTP proxy. On startup and shutdown, it configures MSIE's proxy settings. This generally works well. But if Service Capture is shutdown prematurely, it will leave MSIE with bad proxy settings. It will appear that 'the internet is broken' ;) You need to restart Service Capture or reset the proxy settings in MSIE to fix this. This is something to keep in mind if using a local proxy server. Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: I�ve been using Charles for some time, and now I can�t live without a HTTP traffic analiser/debugger. I just discovered ServiceCapture but haven�t had the time to experiment with it. I�m seriously thinking about buying a license of one of them, but before, I would love to know your opinions on what would be the best cost/benefict? Cheers, Marcelo. - Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] 50 stars blinking... app gets too slow
Thank you all for the replies! :) @ryanm: I will take a look at this article tonight, seems very interesting. @Weyert: I didn´t really understand your technique Weyert. Could you please make it more clear!? How would I iterate through 50+ stars movieclips and apply it? Cheers, Marcelo. On 7/3/06, ryanm [EMAIL PROTECTED] wrote: I´ve created 50 star movieclips with random sizes, rotation and scale. Till there, everything went fine, the sky´s got good looking, but the stars needed some life, so I thought in adding a fade-in / fade-out tween to each of them - and here comes the problem - I´ve attached a onEnterFrame event to each of them and have written a simple code that does the blinking.. It works, but the app gets too slow. I don´t know if it´s becouse of the rendering engine that doesn´t manage to render 50 stars blinking or if it´s becouse of the 50 onEnterFrame events with code to do the fade-in/fade-out. Any ideas? Bottom of the page... http://www.horsefish.net/elementalfx/what.html ryanm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Progressivelly download (and show) a jpg image
Marcelo de Moraes Serpa wrote: Is it possible somehow to progressivelly show a jpg being loaded via loadMovie()? The topdown effect that is native in images loaded via html... as far as I know, It´s only possible to show the image in the flash player after it has been completely loaded, but I remember seeing an example of such thing on flashkit once... Horizontal image-slicing may be another way to give the appearance of progressive display, without suffering the initial wait for the full image to download... if you turn one large image into eight thin strips, you could then use an animated mask to give an illusion of finer-grained progressive display. jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, 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] [Ann] Tonight: World's Largest Flex Application
Andreas Rønning wrote: I wish people wouldn't advertise local events on this list. The grand screaming majority here is nowhere near Sydney and probably won't be anytime soon. Would consistently mentioning the geographic restriction in the email Subject line help accommodate both points of view...? jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, 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] 50 stars blinking... app gets too slow
Well, what you do is you add +5 or -5 to the current _alpha value. Meaning you will increase or decrease the current alpha value by 5. It's like writing instance._alpha = instance._alpha - 5 (or + 5). Of course, you can use some sort of loop to update all movieclips/stars i.e: var starsCount = 50; var i =0; while ( i starsCount ) { var currentStar = _root[ star + i ]._alpha ; currentStar._alpha = currenStar._alpha + currentStar.alphaSpeed; i++; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] 50 stars blinking... app gets too slow
Ok Weyert...:) now I think I´ve got the point - each star would have a different speed, so, they would blink at different time rates, right? And with only one loop to achieve this, I would prevent myself of attaching an onEnterFrame to each of the stars... Marcelo. On 7/3/06, Weyert de Boer [EMAIL PROTECTED] wrote: Well, what you do is you add +5 or -5 to the current _alpha value. Meaning you will increase or decrease the current alpha value by 5. It's like writing instance._alpha = instance._alpha - 5 (or + 5). Of course, you can use some sort of loop to update all movieclips/stars i.e: var starsCount = 50; var i =0; while ( i starsCount ) { var currentStar = _root[ star + i ]._alpha ; currentStar._alpha = currenStar._alpha + currentStar.alphaSpeed; i++; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] AS3 - why no properties in interfaces?
Hi Hans, while I cannot say it's bad, it's difficult t say there's nothin nad about it. to quote an javaworld article: It turns out that using an interface to declare constants may not be the best practice after all. In fact, using interfaces in this way may be downright nasty. Why? Interfaces should only be used to define types; any other use is an abuse. Using an interface causes internal details -- such as constants -- to leak into the class' public API. Once something becomes part of the public API, you can never get rid of it. so, in above case it could be wrong.. -m -Original Message- From: [EMAIL PROTECTED] on behalf of Hans Wichman Sent: Mon 7/3/2006 7:04 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] AS3 - why no properties in interfaces? Although there is -nothing- bad about using interfaces as a container of constants. On 7/3/06, Marijan Milicevic [EMAIL PROTECTED] wrote: Hi Sascha, But it's still beyond me why property support wasn't added. It can be such a complex thing but would make OO life a good amount easier. You are refering to Java but defined fields in java are implicitly static finals and need to be initilized within interface, so, you are not missing that much in AS3 anyway. Also, bad habit of java programmers is to use interfaces as container of constants, which, saves them some typing (although with static imports in 1.5 version it doesn't make any difference). -m ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] RTSP in flash?
Date: Mon, 3 Jul 2006 09:09:31 -0500 From: Wade Arnold [EMAIL PROTECTED] Subject: RE: [Flashcoders] RTSP in flash? To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii I will be creating this as a desktop application. I have already written in C++ a controller interface for the xbox 360. I now need to get the video into the application. My thought was to use zink or some other 3rd party projector but all them seem to only allow you to load a local file not a url for the stream. Thanks for your insight. Back to google I go! Wade Actually, one really neat thing about the new FlashLite2 is that you can play raw mpeg4/qt and h series streams DIRECTLY into the Flash player as long as your phone/PDA has the codec/driver. I did a POC of this on a Nokia phone for a real time, per minute billing solution. So, in a way, it IS possible to play native video (Real Player works as well on Pocket PC etc). This is a special build of the player I know, but maybe there is a way to leverage it still for what you are trying to do. We streamed the movies with a Flash app in about 5 lines of code from a Darwin Streaming Server running on Debian. (the phone was mpeg4 ready) -Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chafic Kazoun Sent: Friday, June 30, 2006 7:04 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] RTSP in flash? The Flash Player doesn't support the RTSP protocol (neither RTP, RTCP which are usually also required for proper RTSP) and it doesn't support decoding MPEG4 Video. So, currently there is no way for you to play such a stream natively in the player and I doubt it will be coming anytime soon if ever. The only other option would be for you to try to layer a quicktime player (if that player supports the version of mpeg4 your camera provides) or some media player on top of the Flash interface and have them communicate to each other, which essentially means you would fake the displaying of the video within Flash. My guess is you are trying to do this within a browser, if you have the option of distributing this application as a desktop application you might want to look into some methods of embedding media player within a desktop application or take a look at 3rd party projector tools which some will allow you to do this more easily if you have no experience in writing desktop applications HTH Chafic http://www.atellis.com blog: http://www.rewindlife.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] [Ann] Tonight: World's Largest Flex Application
A flash event announment list would solve this quickly. On Mon, Jul 03, 2006 at 11:51:04AM -0700, John Dowdell wrote: Andreas Rønning wrote: I wish people wouldn't advertise local events on this list. The grand screaming majority here is nowhere near Sydney and probably won't be anytime soon. Would consistently mentioning the geographic restriction in the email Subject line help accommodate both points of view...? jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] 50 stars blinking... app gets too slow
Hmmm... looking better at this loop, I don´t think it would do the smooth fade-in/fade-out I would like to achieve. I guess the best solution still is animating this fade-in/fade-out using the flash IDE and then do a play() in the script. I would have only to add a line of script in the last keyframe of the star animation to make it loop. On 7/3/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: Ok Weyert...:) now I think I´ve got the point - each star would have a different speed, so, they would blink at different time rates, right? And with only one loop to achieve this, I would prevent myself of attaching an onEnterFrame to each of the stars... Marcelo. On 7/3/06, Weyert de Boer [EMAIL PROTECTED] wrote: Well, what you do is you add +5 or -5 to the current _alpha value. Meaning you will increase or decrease the current alpha value by 5. It's like writing instance._alpha = instance._alpha - 5 (or + 5). Of course, you can use some sort of loop to update all movieclips/stars i.e: var starsCount = 50; var i =0; while ( i starsCount ) { var currentStar = _root[ star + i ]._alpha ; currentStar._alpha = currenStar._alpha + currentStar.alphaSpeed; i++; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] 50 stars blinking... app gets too slow
Well, the negative will make your movieclip fadeout, and a positive one will fadein. But yes. . ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] 50 stars blinking... app gets too slow
A method I've often used to get around this kind of processor hogging is to set it up that only, say, 10 stars are animating at any one time (i.e. only 10 have onEnterFrame handlers set or even better, following Weyert's suggestion, update only 10 at a time using a single onEnterFrame handler). As with Weyert's suggestion, the speeds that each star animates is random and, as each star finishes it's cycle, you randomly select another star to animate through one 'twinkle' cycle. I find this approach gives a really natural feel to the effect as well. I'd also echo Scott's observation that it could well be the _alpha blending. Flash gets tired really quickly when you give it alpha calculations and, the bigger the area of the screen it is making alpha calculations on, the quicker it gets tired! Adrian P On 7/3/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: Ok Weyert...:) now I think I´ve got the point - each star would have a different speed, so, they would blink at different time rates, right? And with only one loop to achieve this, I would prevent myself of attaching an onEnterFrame to each of the stars... Marcelo. On 7/3/06, Weyert de Boer [EMAIL PROTECTED] wrote: Well, what you do is you add +5 or -5 to the current _alpha value. Meaning you will increase or decrease the current alpha value by 5. It's like writing instance._alpha = instance._alpha - 5 (or + 5). Of course, you can use some sort of loop to update all movieclips/stars i.e: var starsCount = 50; var i =0; while ( i starsCount ) { var currentStar = _root[ star + i ]._alpha ; currentStar._alpha = currenStar._alpha + currentStar.alphaSpeed; i++; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] x/y values for text character
Flashcoders, I am looking to find x/y values for a single character in a text field. Anyone know of a solution? quote_arr = new Array(); quote_arr.push({note:Flash is fun!}); var theQuote = quote_arr[0].note; theText.text = theQuote; //first 4 lines set the theQuote = Flash is Fun! var index = theQuote.indexOf(F); trace(index of D: +index); // output: 0 if(index=17){ d_drip._x = theText._x + (10*index); }else{ d_drip._x = theText._x + (10*index);//position on line 2 d_drip._y = d_drip._y +55;//down a line } trace(d_drip._x: +d_drip._x); trace(theText._x: +theText._x); trace(d_drip._y: +d_drip._y); trace(theText._y: +theText._y); ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] x/y values for text character
Well, im brilliant! Let me finish that thought.. Flashcoders, I am looking to find x/y values for a single character in a text field. Anyone know of a solution? quote_arr = new Array(); quote_arr.push({note:Flash is fun!}); var theQuote = quote_arr[0].note; theText.text = theQuote; //first 4 lines set the theQuote = Flash is Fun! var index = theQuote.indexOf(F); Im attempting to grab at characters but not finding any coordinates. Any ideas? Thanks! -Rhett ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] 50 stars blinking... app gets too slow
Hi Adrian! Thanks a lot for sharing your valuable experiences ;) Marcelo. On 7/3/06, Adrian Park [EMAIL PROTECTED] wrote: A method I've often used to get around this kind of processor hogging is to set it up that only, say, 10 stars are animating at any one time (i.e. only 10 have onEnterFrame handlers set or even better, following Weyert's suggestion, update only 10 at a time using a single onEnterFrame handler). As with Weyert's suggestion, the speeds that each star animates is random and, as each star finishes it's cycle, you randomly select another star to animate through one 'twinkle' cycle. I find this approach gives a really natural feel to the effect as well. I'd also echo Scott's observation that it could well be the _alpha blending. Flash gets tired really quickly when you give it alpha calculations and, the bigger the area of the screen it is making alpha calculations on, the quicker it gets tired! Adrian P On 7/3/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: Ok Weyert...:) now I think I´ve got the point - each star would have a different speed, so, they would blink at different time rates, right? And with only one loop to achieve this, I would prevent myself of attaching an onEnterFrame to each of the stars... Marcelo. On 7/3/06, Weyert de Boer [EMAIL PROTECTED] wrote: Well, what you do is you add +5 or -5 to the current _alpha value. Meaning you will increase or decrease the current alpha value by 5. It's like writing instance._alpha = instance._alpha - 5 (or + 5). Of course, you can use some sort of loop to update all movieclips/stars i.e: var starsCount = 50; var i =0; while ( i starsCount ) { var currentStar = _root[ star + i ]._alpha ; currentStar._alpha = currenStar._alpha + currentStar.alphaSpeed; i++; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Progressivelly download (and show) a jpg image
Thank you all for the replies! I guess I now have valuable information to keep going ;) Marcelo. On 7/3/06, John Dowdell [EMAIL PROTECTED] wrote: Marcelo de Moraes Serpa wrote: Is it possible somehow to progressivelly show a jpg being loaded via loadMovie()? The topdown effect that is native in images loaded via html... as far as I know, It´s only possible to show the image in the flash player after it has been completely loaded, but I remember seeing an example of such thing on flashkit once... Horizontal image-slicing may be another way to give the appearance of progressive display, without suffering the initial wait for the full image to download... if you turn one large image into eight thin strips, you could then use an animated mask to give an illusion of finer-grained progressive display. jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] 50 stars blinking... app gets too slow
Following Weyerts suggestion to update all stars in 1 onEnterFrame.. Here is a little demo (150 stars): http://www.debit.nl/flashcoders/stars.html This is the code, just place it in the first frame and make a MovieClip and export it for AS with the name star var starCount:Number = 150; var stars:Array = new Array(); var alphaSpeed:Number = 5; for(var a:Number = 0 ; astarCount ; a++){ var tmpStar:MovieClip = this.attachMovie(star,star+a,this.getNextHighestDepth()); tmpStar._x = Math.random() * Stage.width; tmpStar._y = Math.random() * Stage.height; tmpStar.alphaSpeed = (Math.random()0.5?1:-1) * ((Math.random() * alphaSpeed) + 1); stars.push(tmpStar); } onEnterFrame = function(){ var i:Number = 0; while(istarCount){ stars[i]._alpha += stars[i].alphaSpeed; if(stars[i]._alpha = 0){ stars[i]._alpha = 0; stars[i].alphaSpeed *= -1; } if(stars[i]._alpha = 100){ stars[i]._alpha = 100; stars[i].alphaSpeed *= -1; } i++; } } Greetz, Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Marcelo de Moraes Serpa Verzonden: maandag 3 juli 2006 21:11 Aan: Flashcoders mailing list Onderwerp: Re: [Flashcoders] 50 stars blinking... app gets too slow Hmmm... looking better at this loop, I don´t think it would do the smooth fade-in/fade-out I would like to achieve. I guess the best solution still is animating this fade-in/fade-out using the flash IDE and then do a play() in the script. I would have only to add a line of script in the last keyframe of the star animation to make it loop. On 7/3/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: Ok Weyert...:) now I think I´ve got the point - each star would have a different speed, so, they would blink at different time rates, right? And with only one loop to achieve this, I would prevent myself of attaching an onEnterFrame to each of the stars... Marcelo. On 7/3/06, Weyert de Boer [EMAIL PROTECTED] wrote: Well, what you do is you add +5 or -5 to the current _alpha value. Meaning you will increase or decrease the current alpha value by 5. It's like writing instance._alpha = instance._alpha - 5 (or + 5). Of course, you can use some sort of loop to update all movieclips/stars i.e: var starsCount = 50; var i =0; while ( i starsCount ) { var currentStar = _root[ star + i ]._alpha ; currentStar._alpha = currenStar._alpha + currentStar.alphaSpeed; i++; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] 50 stars blinking... app gets too slow
Works well if you ask me. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Installing Flash Remoting Components InstallAnywhere issue
I'm trying to do the basic of basic tasks and install the flash remoting components, I downloaded from http://www.adobe.com/products/flashremoting/downloads/components/#flr_as2but when I double click the extractor i get an error: Please choose another location to extract the installer to. I chose another folder, same error, plenty of hdd space available. Any ideas much appreciated. Dan http://danny-t.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] Installing Flash Remoting Components InstallAnywhere issue
What platform are we talking about here? -l On Jul 3, 2006, at 5:21 PM, DannyT wrote: I'm trying to do the basic of basic tasks and install the flash remoting components, I downloaded from http://www.adobe.com/products/flashremoting/downloads/components/ #flr_as2but when I double click the extractor i get an error: Please choose another location to extract the installer to. I chose another folder, same error, plenty of hdd space available. Any ideas much appreciated. Dan http://danny-t.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] Installing Flash Remoting Components InstallAnywhere issue
Was on windowsXP, however turned out to be my antivirus, stopped that and it installed fine. more info: http://danny-t.co.uk/index.php/2006/07/04/installanywhere-please-select-another-location-to-extract-the-installer-to/ Cheers, Dan http://danny-t.co.uk On 04/07/06, lincoln [EMAIL PROTECTED] wrote: What platform are we talking about here? -l On Jul 3, 2006, at 5:21 PM, DannyT wrote: I'm trying to do the basic of basic tasks and install the flash remoting components, I downloaded from http://www.adobe.com/products/flashremoting/downloads/components/ #flr_as2but when I double click the extractor i get an error: Please choose another location to extract the installer to. I chose another folder, same error, plenty of hdd space available. Any ideas much appreciated. Dan http://danny-t.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
[Flashcoders] Problems with IE starting a sound stream.
I tried loading the flash player from several version of IE, the sound never starts. I can play the flash on the same computer in firefox or standalone. But the problem is not that it not geting the data, but not startign to play the stream.. I use the following code. -- code snip -- this.createTextField(message_txt, this.getNextHighestDepth(), 10,10,300,22) this.createTextField(status_txt, this.getNextHighestDepth(), 10, 50, 300, 40); status_txt.autoSize = true; status_txt.multiline = true; status_txt.border = true; _soundbuftime=3; var globalsound = new Sound(); globalsound.loadSound(http://ss1.gotdns.org:8000/test,true); globalsound.start(true); var my_interval:Number; my_interval = setInterval(checkProgress, 100, globalsound); function checkProgress(the_sound:Sound):Void { var pct:Number = Math.round (the_sound.getBytesLoaded()/the_sound.getBytesTotal()*100); var pos:Number = Math.round(the_sound.position/the_sound.duration*100); status_txt.text = the_sound.getBytesLoaded()+ of +the_sound.getBytesTotal()+ bytes (+pct+%)+newline; status_txt.text += the_sound.position+ of +the_sound.duration+ milliseconds (+pos+%)+newline; } stop(); --- End code snip -- The getBytesTotal and duration incresases, the getBtytesloaded and position stay at 0.. My obsevation says the flash is geting the mp3 stream, yet never starting to play it? I am a newbie at codeing flash and useing this project to learn what i can :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Flex 2 SDK
I'm looking for documentation on the compc.exe and fdb.exe tools that come with the Flex 2.0 SDK. I've already seen some stuff regarding the mxmlc.exe, but that about it. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Problems with IE starting a sound stream.
Is your server sending the data with Content-Length set in the header or as Transfer-Encoding: Chunked? Flash up to version 8 in IE doesn't seem to play audio loaded using loadSound unless the header has Content-Length set. Flash 9 seems to work most of the time, but slows to a crawl if the file being loaded is big (say, bigger than 15 MB). Alexis David Saunders wrote: I tried loading the flash player from several version of IE, the sound never starts. I can play the flash on the same computer in firefox or standalone. But the problem is not that it not geting the data, but not startign to play the stream.. I use the following code. -- code snip -- this.createTextField(message_txt, this.getNextHighestDepth(), 10,10,300,22) this.createTextField(status_txt, this.getNextHighestDepth(), 10, 50, 300, 40); status_txt.autoSize = true; status_txt.multiline = true; status_txt.border = true; _soundbuftime=3; var globalsound = new Sound(); globalsound.loadSound(http://ss1.gotdns.org:8000/test,true); globalsound.start(true); var my_interval:Number; my_interval = setInterval(checkProgress, 100, globalsound); function checkProgress(the_sound:Sound):Void { var pct:Number = Math.round (the_sound.getBytesLoaded()/the_sound.getBytesTotal()*100); var pos:Number = Math.round(the_sound.position/the_sound.duration*100); status_txt.text = the_sound.getBytesLoaded()+ of +the_sound.getBytesTotal()+ bytes (+pct+%)+newline; status_txt.text += the_sound.position+ of +the_sound.duration+ milliseconds (+pos+%)+newline; } stop(); --- End code snip -- The getBytesTotal and duration incresases, the getBtytesloaded and position stay at 0.. My obsevation says the flash is geting the mp3 stream, yet never starting to play it? I am a newbie at codeing flash and useing this project to learn what i can :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Problems with IE starting a sound stream.
Hi, Used your snippet and it works for me. -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens David Saunders Verzonden: dinsdag 4 juli 2006 5:37 Aan: flashcoders@chattyfig.figleaf.com Onderwerp: [Flashcoders] Problems with IE starting a sound stream. I tried loading the flash player from several version of IE, the sound never starts. I can play the flash on the same computer in firefox or standalone. But the problem is not that it not geting the data, but not startign to play the stream.. I use the following code. -- code snip -- this.createTextField(message_txt, this.getNextHighestDepth(), 10,10,300,22) this.createTextField(status_txt, this.getNextHighestDepth(), 10, 50, 300, 40); status_txt.autoSize = true; status_txt.multiline = true; status_txt.border = true; _soundbuftime=3; var globalsound = new Sound(); globalsound.loadSound(http://ss1.gotdns.org:8000/test,true); globalsound.start(true); var my_interval:Number; my_interval = setInterval(checkProgress, 100, globalsound); function checkProgress(the_sound:Sound):Void { var pct:Number = Math.round (the_sound.getBytesLoaded()/the_sound.getBytesTotal()*100); var pos:Number = Math.round(the_sound.position/the_sound.duration*100); status_txt.text = the_sound.getBytesLoaded()+ of +the_sound.getBytesTotal()+ bytes (+pct+%)+newline; status_txt.text += the_sound.position+ of +the_sound.duration+ milliseconds (+pos+%)+newline; } stop(); --- End code snip -- The getBytesTotal and duration incresases, the getBtytesloaded and position stay at 0.. My obsevation says the flash is geting the mp3 stream, yet never starting to play it? I am a newbie at codeing flash and useing this project to learn what i can :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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