Re: [Flashcoders] MovieClip prototype
Hello :) try this : // constructor of the class _global.MyButton = function() { trace( this + constructor) ; } // inject addListener, removeListener and broadcastMessage methods in the prototype AsBroadcaster.initialize(MyButton.prototype) ; // the methods of your custom class MyButton.prototype.onRollOver = function () { if (this.onRelease != null || this.onPress != null) { this.broadcastMessage(click, this) ; } } // test var listener:Object = {} ; listener.click = function( target ) { trace( click : + target ) ; functionName(param); } mc.__proto__ = MyButton.prototype ; // change the prototype scope of the visual instance mc MyButton.call(mc) ; // launch the constructor of the MyButton class over the visual instance. mc.addListener( listener ) ; // EKA+ :) 2007/3/28, Matheus Araujo [EMAIL PROTECTED]: Hello coders... I'm trying to create a MovieClip prototype function to all my MCs that are buttons: MovieClip.prototype.onRollOver = function (){ if (this.onRelease != undefined || this.onPress != undefined) { functionName(param); } } The problem is that it doesn't work with the movie clips inside the ones in the first level... Is there Any way to accsess these movie clips? Thanks in advance Matheus ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
Unfortunately you can't update a European licence with a US update so I'd have to transfer my existing licences to the US. I'm actually moving to the states in a few months so I'll just have to wait for a bit. However there is one interesting thing I found out. Apparently Adobe will be offering a FREE update to CS3 for anyone that buys CS2 from now until CS3 is available... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Duenas Sent: 29 March 2007 02:46 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] The great CS3 Swindle Hi Joe, do you have friends in the US? someone with an address, you just buy the programs in the US with your credit card and then your friends can send this to you using dhl , fedex or ups, sounds logic? I used to do that several times buying programs when I was living in Ecuador, South America..or you can just go on vacation and shopping Spree!!! heheheh! Regards Gustavo Duenas When I was living in the On Mar 28, 2007, at 10:27 AM, Joe Wheeler wrote: Has anyone checked out the international prices on CS3? I can hardly believe how badly the UK is getting fleeced. I'm upgrading from CS1 Creative Suite and Studio 8 to CS3 Design Premium. In the US that's $599.00 dollars, but in the UK pounds it works out to £703.82. Take the exchange rate into account and UK customers are paying... 1,384.51 USD!!! Sales tax in the UK is 17.5% but the Adobe price hike is a whopping 231% - W T F? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Image resizer that maintains ratio
Would that optimize it? I could be wrong but I thing both these version's would compile to the same byte code. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: 29 March 2007 01:52 To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Image resizer that maintains ratio mc._width = maxW; mc._height = maxH; (mc._xscale mc._yscale) ? mc._xscale = mc._yscale : mc._yscale = mc._xscale; You could probably optimize a little bit by removing the Math function... mc._width = maxW; mc._height = maxH; if ( mc._xscale mc._yscale ) { mc._xscale = mc._yscale; } else { mc._yscale = mc._xscale; } I don't think I can be done more effiently than that. Anyone? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Hi
HI Bhasker i am Mohan From Hyderabad, give a ring to me i'll help u, 9989310365, On 3/29/07, bhasker u [EMAIL PROTECTED] wrote: Hi all, Does any body from Hyderabad, I wanted to know some which is right place to learn A.S. 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 -- Thanks Regards Naga Mohan Rao. Manam Web Designer + 91 - 99893 10365 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
SV: [Flashcoders] Flash and levels
The main timeline (_root) is a movieclip like any other. Levels are _root movieclips stacked at a given depth (-16384 + levelnumber). You can use swapDepths() on levels to change their stacking orderb just like any other movieclip. And just like with ordinary movieclips you can't put a level inbetween content of a sibbling (another level). -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Gustavo Duenas Skickat: den 28 mars 2007 04:51 Till: flashcoders@chattyfig.figleaf.com Ämne: Re: [Flashcoders] Flash and levels I have a questionthe level 20 is over or under the other movie clips the flash movie would have? Regards Gustavo Duenas P.s: the idea about a movie clip is very useful, because I'm looking for something like that for a project of mine. On Mar 27, 2007, at 7:30 PM, Omar Fouad wrote: If you need to create a movieClip on level 20 for example : var myClip:MovieClip = createEmtpyMovieClip(myClipInstance, 20) Note that the secont parameter (20), is the level number you wish the movieClip is created, in this case therefore will not get into _level0.. if you Need to get a movieClip nasted into another so: var myClip:MovieClip = containerClip.createEmptyMovieClip (otherMcInstance, containerClip.getNextHighestDepth); The second Parameter specifies the next Free Level inside the containerClip where the myClip will be nasted... Hope it helps On 3/28/07, James Tu [EMAIL PROTECTED] wrote: Is there a way to createEmptyMovieClip on a level other than _level0? I tried doing this: var tmc = _level5.createEmptyMovieClip(foo, 10); trace(tmc); //gives me undefined I also tried to load a blank .swf into _level5 and then creating a movieclip on _level5 and that didn't work either. -James ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Meddelandet har kontrollerats av CRW MailScanner och inget skadligt innehåll har upptäckts. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
does this apply if you bought studio 8 as well in the last 2 weeks :s On 3/29/07, Joe Wheeler [EMAIL PROTECTED] wrote: Unfortunately you can't update a European licence with a US update so I'd have to transfer my existing licences to the US. I'm actually moving to the states in a few months so I'll just have to wait for a bit. However there is one interesting thing I found out. Apparently Adobe will be offering a FREE update to CS3 for anyone that buys CS2 from now until CS3 is available... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Duenas Sent: 29 March 2007 02:46 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] The great CS3 Swindle Hi Joe, do you have friends in the US? someone with an address, you just buy the programs in the US with your credit card and then your friends can send this to you using dhl , fedex or ups, sounds logic? I used to do that several times buying programs when I was living in Ecuador, South America..or you can just go on vacation and shopping Spree!!! heheheh! Regards Gustavo Duenas When I was living in the On Mar 28, 2007, at 10:27 AM, Joe Wheeler wrote: Has anyone checked out the international prices on CS3? I can hardly believe how badly the UK is getting fleeced. I'm upgrading from CS1 Creative Suite and Studio 8 to CS3 Design Premium. In the US that's $599.00 dollars, but in the UK pounds it works out to £703.82. Take the exchange rate into account and UK customers are paying... 1,384.51 USD!!! Sales tax in the UK is 17.5% but the Adobe price hike is a whopping 231% - W T F? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] The great CS3 Swindle
In the days of electronic distribution this kind of business practice stinks. Why do they do it, because they know they can get away with it - can we afford to boycott the release in europe? They know in most cases we can't. It's more than taking liberties, it's daylight robbery. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
I'm not sure - I think it only counts to products bought since the CS3 announcement. Give your local Adobe online store a ring and see what they say. J -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: 29 March 2007 09:11 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] The great CS3 Swindle does this apply if you bought studio 8 as well in the last 2 weeks :s On 3/29/07, Joe Wheeler [EMAIL PROTECTED] wrote: Unfortunately you can't update a European licence with a US update so I'd have to transfer my existing licences to the US. I'm actually moving to the states in a few months so I'll just have to wait for a bit. However there is one interesting thing I found out. Apparently Adobe will be offering a FREE update to CS3 for anyone that buys CS2 from now until CS3 is available... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Duenas Sent: 29 March 2007 02:46 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] The great CS3 Swindle Hi Joe, do you have friends in the US? someone with an address, you just buy the programs in the US with your credit card and then your friends can send this to you using dhl , fedex or ups, sounds logic? I used to do that several times buying programs when I was living in Ecuador, South America..or you can just go on vacation and shopping Spree!!! heheheh! Regards Gustavo Duenas When I was living in the On Mar 28, 2007, at 10:27 AM, Joe Wheeler wrote: Has anyone checked out the international prices on CS3? I can hardly believe how badly the UK is getting fleeced. I'm upgrading from CS1 Creative Suite and Studio 8 to CS3 Design Premium. In the US that's $599.00 dollars, but in the UK pounds it works out to £703.82. Take the exchange rate into account and UK customers are paying... 1,384.51 USD!!! Sales tax in the UK is 17.5% but the Adobe price hike is a whopping 231% - W T F? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] The great CS3 Swindle
It's a ridiculous situation that, sadly, seems to be true of a lot of software. But it's particularly bad in this case. Here's some full list prices, using today's exchange rate. CS3 Design Premium UK: £1655.58 (=$3256.69)US: $1799.00Markup: 181% CS3 Design Standard UK: £1051.62 (=$2068.64)US: $1199.00 Markup: 172% CS3 Master Collection UK: £2313.58 (=$4551.04)US: $2499.00 Markup: 182% CS3 Production Premium UK: £1655.58 (=$3256.69)US: $1699.00Markup: 191% CS3 Web Premium UK: £1404.12 (=$2762.04)US: $1599.00 Markup: 172% CS3 Web Standard UK: £828.38 (=$1629.51)US: $999.00 Markup: 163% Flash CS3 Pro UK: £574.58 (=$1130.25)US: $699.00 Markup: 161% That's one hell of a shipping cost. *wonders who to write to at Adobe* Ian On 3/28/07, Joe Wheeler [EMAIL PROTECTED] wrote: Has anyone checked out the international prices on CS3? I can hardly believe how badly the UK is getting fleeced. I'm upgrading from CS1 Creative Suite and Studio 8 to CS3 Design Premium. In the US that's $599.00 dollars, but in the UK pounds it works out to £703.82. Take the exchange rate into account and UK customers are paying... 1,384.51 USD!!! Sales tax in the UK is 17.5% but the Adobe price hike is a whopping 231% - W T F? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Hi
Hi, I am from Mumbai. i too am looking out for somebody to learn A.S Please help Thanks in Advance Regards Joslyn D'Souza - Original Message - From: Naga Mohan Rao. Manam [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, March 29, 2007 12:57 PM Subject: Re: [Flashcoders] Hi HI Bhasker i am Mohan From Hyderabad, give a ring to me i'll help u, 9989310365, On 3/29/07, bhasker u [EMAIL PROTECTED] wrote: Hi all, Does any body from Hyderabad, I wanted to know some which is right place to learn A.S. 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 -- Thanks Regards Naga Mohan Rao. Manam Web Designer + 91 - 99893 10365 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
Its put a massive downer on what should have been an exciting week. Im moving into video editing etc so was considering the Production premium CS3 suite, but a 200% markup is criminal. And as Mike said, for a digital download, wtf indeed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 29 March 2007 09:57 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] The great CS3 Swindle It's a ridiculous situation that, sadly, seems to be true of a lot of software. But it's particularly bad in this case. Here's some full list prices, using today's exchange rate. CS3 Design Premium UK: £1655.58 (=$3256.69)US: $1799.00Markup: 181% CS3 Design Standard UK: £1051.62 (=$2068.64)US: $1199.00 Markup: 172% CS3 Master Collection UK: £2313.58 (=$4551.04)US: $2499.00 Markup: 182% CS3 Production Premium UK: £1655.58 (=$3256.69)US: $1699.00Markup: 191% CS3 Web Premium UK: £1404.12 (=$2762.04)US: $1599.00 Markup: 172% CS3 Web Standard UK: £828.38 (=$1629.51)US: $999.00 Markup: 163% Flash CS3 Pro UK: £574.58 (=$1130.25)US: $699.00 Markup: 161% That's one hell of a shipping cost. *wonders who to write to at Adobe* Ian On 3/28/07, Joe Wheeler [EMAIL PROTECTED] wrote: Has anyone checked out the international prices on CS3? I can hardly believe how badly the UK is getting fleeced. I'm upgrading from CS1 Creative Suite and Studio 8 to CS3 Design Premium. In the US that's $599.00 dollars, but in the UK pounds it works out to £703.82. Take the exchange rate into account and UK customers are paying... 1,384.51 USD!!! Sales tax in the UK is 17.5% but the Adobe price hike is a whopping 231% - W T F? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
Some cunning American could buy a load of the boxed product and legitimately put them on ebay with a markup, sell them to the European market and both parties would be better off There's no law against selling second hand software overseas is there? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
Probably its a brick in the wall that protects 'their' creative industry? NC On 3/29/07, Mike Mountain [EMAIL PROTECTED] wrote: For those prices it would literally be cheaper to fly out to the US to buy it. Adobe has FUBAR'd these prices - we demand an explanation - but who from? On 3/29/07, Ian Thomas [EMAIL PROTECTED] wrote: It's a ridiculous situation that, sadly, seems to be true of a lot of software. But it's particularly bad in this case. Here's some full list prices, using today's exchange rate. CS3 Design Premium UK: £1655.58 (=$3256.69)US: $1799.00Markup: 181% CS3 Design Standard UK: £1051.62 (=$2068.64)US: $1199.00 Markup: 172% CS3 Master Collection UK: £2313.58 (=$4551.04)US: $2499.00 Markup: 182% CS3 Production Premium UK: £1655.58 (=$3256.69)US: $1699.00Markup: 191% CS3 Web Premium UK: £1404.12 (=$2762.04)US: $1599.00 Markup: 172% CS3 Web Standard UK: £828.38 (=$1629.51)US: $999.00 Markup: 163% Flash CS3 Pro UK: £574.58 (=$1130.25)US: $699.00 Markup: 161% That's one hell of a shipping cost. *wonders who to write to at Adobe* Ian On 3/28/07, Joe Wheeler [EMAIL PROTECTED] wrote: Has anyone checked out the international prices on CS3? I can hardly believe how badly the UK is getting fleeced. I'm upgrading from CS1 Creative Suite and Studio 8 to CS3 Design Premium. In the US that's $599.00 dollars, but in the UK pounds it works out to £703.82. Take the exchange rate into account and UK customers are paying... 1,384.51 USD!!! Sales tax in the UK is 17.5% but the Adobe price hike is a whopping 231% - W T F? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Nik C ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
I've 'phoned the Adobe's UK office today and am told that someone from the customer services management team will get back to me today to explain it. So let's see what happens. :-) Me, I'm not holding my breath. Ian On 3/29/07, Mike Mountain [EMAIL PROTECTED] wrote: In the days of electronic distribution this kind of business practice stinks. Why do they do it, because they know they can get away with it - can we afford to boycott the release in europe? They know in most cases we can't. It's more than taking liberties, it's daylight robbery. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
For those prices it would literally be cheaper to fly out to the US to buy it. Adobe has FUBAR'd these prices - we demand an explanation - but who from? On 3/29/07, Ian Thomas [EMAIL PROTECTED] wrote: It's a ridiculous situation that, sadly, seems to be true of a lot of software. But it's particularly bad in this case. Here's some full list prices, using today's exchange rate. CS3 Design Premium UK: £1655.58 (=$3256.69)US: $1799.00Markup: 181% CS3 Design Standard UK: £1051.62 (=$2068.64)US: $1199.00 Markup: 172% CS3 Master Collection UK: £2313.58 (=$4551.04)US: $2499.00 Markup: 182% CS3 Production Premium UK: £1655.58 (=$3256.69)US: $1699.00Markup: 191% CS3 Web Premium UK: £1404.12 (=$2762.04)US: $1599.00 Markup: 172% CS3 Web Standard UK: £828.38 (=$1629.51)US: $999.00 Markup: 163% Flash CS3 Pro UK: £574.58 (=$1130.25)US: $699.00 Markup: 161% That's one hell of a shipping cost. *wonders who to write to at Adobe* Ian On 3/28/07, Joe Wheeler [EMAIL PROTECTED] wrote: Has anyone checked out the international prices on CS3? I can hardly believe how badly the UK is getting fleeced. I'm upgrading from CS1 Creative Suite and Studio 8 to CS3 Design Premium. In the US that's $599.00 dollars, but in the UK pounds it works out to £703.82. Take the exchange rate into account and UK customers are paying... 1,384.51 USD!!! Sales tax in the UK is 17.5% but the Adobe price hike is a whopping 231% - W T F? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Embedding fonts for different langauges
I am making a multi lingual flash app and want to separate the fonts out into shared librarys and just load them in dependant on the locale. Does anyone know or can point me in the right direction as to which fonts belong to which language in the font embedding in flash. For example, if I were to do Armenian for instance, would I still need to embed the Uppercase, Lowercase, etc. Is there a definitive list as to which character sets need to be embedded for any particular language. Any ideas or links welcome??? Cheers Michael Ypes ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Subject: rotating nav help!!
Subject: rotating nav help!! hi all i have been working on a rotating nav found here: http://www.visualrythm.com/nav_testfile.swf (source file is the same address but .fla + mcTween.as) as you can see i am using the MCtween function to, once a button is pressed. animate the button to the top. the issue i have in the first instance is i need the button to rotate to the top but through the shortest distance i.e. at the mo wherever you click the button it spins counter clockwise to the top - i need it to spin to the top clockwise if its the shortest distance. the easiest way i can think of doing this is defining the center point of the circle - establishing its _x pos - then setting up 'if' statements to tell the nav to spin clock/or counterclockwise dependent on its relation to the center _x pos. if that makes any sense!?!?! but i don't really know how to do this!?! any help on this would be gladly recieved, im a little short on time to get this working for a school project!!! 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] Embedding fonts for different langauges
Hello Michael, http://www.sharedfonts.com MY I am making a multi lingual flash app and want to separate the fonts out MY into shared librarys and just load them in dependant on the locale. Does MY anyone know or can point me in the right direction as to which fonts belong MY to which language in the font embedding in flash. MY For example, if I were to do Armenian for instance, would I still need to MY embed the Uppercase, Lowercase, etc. MY Is there a definitive list as to which character sets need to be embedded MY for any particular language. MY Any ideas or links welcome??? MY Cheers MY Michael Ypes MY ___ MY Flashcoders@chattyfig.figleaf.com MY To change your subscription options or search the archive: MY http://chattyfig.figleaf.com/mailman/listinfo/flashcoders MY Brought to you by Fig Leaf Software MY Premier Authorized Adobe Consulting and Training MY http://www.figleaf.com MY http://training.figleaf.com -- Ivan Dembicki __ [EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] ASP and Character encoding in flash
I hope somebody can help with this one... I'm working on a flash application, where the settings can be dynamically imported from xml files or an asp query that sends out xml. It works fine if it's an xml file saved as UTF-8, both english and with special characters (in this case, swedish), or an asp generated xml with no special characters (==english). But when the client is trying to send out asp xml in swedish, the special characters turn into boxes and some xml fields display as undefined, similar to what you get if you save the local xml file as simple text, rather than UTF-8. Also, strangely enough, when the query is tested in the browser, IE and FF seem to be having trouble with the asp xml if the encoding at the top of the page is utf-8, but display it fine with ?xml version='1.0' encoding='ISO-8859-1'? My guess is that regardless of the encoding at the top of the page, when the asp xml reaches Flash, it's not UTF-8 but simple text. My question is - can anything be done about it? Thanks, Karina Karina Steffens | Neo-Archaic new concepts, timeless design http://www.neo-archaic.net/ www.neo-archaic.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] wmode transparent, FF, no mouseWheel
Can anybody conirm this bug, in FireFox, wmode=transparent, themouseWheel evnet is not fired?? not only for textFields but neither for movieClips... in IE ok, opaque mode, all is ok thanks Martin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] ASP and Character encoding in flash
are you using CDATA tags for the strings? the question is also where the data is coming from and in which format it is stored. you maybe need to encode and decode the data before generating the xml and when the data is saved Am 29.03.2007 um 14:20 schrieb Karina Steffens: I hope somebody can help with this one... I'm working on a flash application, where the settings can be dynamically imported from xml files or an asp query that sends out xml. It works fine if it's an xml file saved as UTF-8, both english and with special characters (in this case, swedish), or an asp generated xml with no special characters (==english). But when the client is trying to send out asp xml in swedish, the special characters turn into boxes and some xml fields display as undefined, similar to what you get if you save the local xml file as simple text, rather than UTF-8. Also, strangely enough, when the query is tested in the browser, IE and FF seem to be having trouble with the asp xml if the encoding at the top of the page is utf-8, but display it fine with ?xml version='1.0' encoding='ISO-8859-1'? My guess is that regardless of the encoding at the top of the page, when the asp xml reaches Flash, it's not UTF-8 but simple text. My question is - can anything be done about it? Thanks, Karina Karina Steffens | Neo-Archaic new concepts, timeless design http://www.neo-archaic.net/ www.neo-archaic.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com bitrocker typographique Lars Schwarz Gottorpstrasse 20 26122 Oldenburg T +49(0)441 2171 354 0 F +49(0)441 2171 354 2 M [EMAIL PROTECTED] W www.bitrocker.com W www.typographique.de ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
SV: [Flashcoders] ASP and Character encoding in flash
You must set the ASP-charset to utf-8 as well. Add this at the beginning of the ASP file: Response.CodePage = 65001 /Johan --- I hope somebody can help with this one... I'm working on a flash application, where the settings can be dynamically imported from xml files or an asp query that sends out xml. It works fine if it's an xml file saved as UTF-8, both english and with special characters (in this case, swedish), or an asp generated xml with no special characters (==english). But when the client is trying to send out asp xml in swedish, the special characters turn into boxes and some xml fields display as undefined, similar to what you get if you save the local xml file as simple text, rather than UTF-8. Also, strangely enough, when the query is tested in the browser, IE and FF seem to be having trouble with the asp xml if the encoding at the top of the page is utf-8, but display it fine with ?xml version='1.0' encoding='ISO-8859-1'? My guess is that regardless of the encoding at the top of the page, when the asp xml reaches Flash, it's not UTF-8 but simple text. My question is - can anything be done about it? Thanks, Karina Karina Steffens | Neo-Archaic new concepts, timeless design http://www.neo-archaic.net/ www.neo-archaic.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Meddelandet har kontrollerats av CRW MailScanner och inget skadligt innehåll har upptäckts. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] ASP and Character encoding in flash
Flash doesn't care about the encoding given in XML's header, it always treats the content as UTF-8 (even if it doesn't match the real code page). Browsers however take the header into consideration, so if UTF-8 is given there, then they treat the content as UTF-8, and if ISO-8859-1 is given, then as ISO-8859-1. So, if ISO-8859-1 works well in browsers, it means that your text is in ISO-8859-1, which is not suitable for Flash. The encoding of the text doesn't depend on the header, it is just for informational purposes for parsers. If you change the header, the text's encoding remains and doesn't change - just parsers will interpret the same byte stream differently. So, you have to make sure to output UTF-8 encoded text with your ASP application. Attila ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 controlling multiple movies with one class
I bet the problem is path related. If you have a holder movie that's running, which is loading the 2 SWFs, then the paths to the config XML files would be relative to the holder movie's path, not the SWFs your loading (I'm pretty sure that's true). Your base class is probably using the same relative path to load it, assuming the current path is the SWF's directory, though that may not be the case. Maybe try adding a parameter to the loading of the movie that takes the relative path to use? For example, if your directory structure was this: mainMovie.swf test1/test.swf test1/config.xml test2/test.swf test2/config.xml main movie would do somewhere in its code (pseudocode as my brain isn't completely functioning yet): var test1 = loadMovie(...); var test2 = loadMovie(...); test1.loadConfig('test1/'); test2.loadConfig('test2/'); Then your loadConfig function would prepend the path to the name of the config file, allowing it to get the right one. -Andy On 3/28/07, Russell Sprague [EMAIL PROTECTED] wrote: I have two sections of my app in separate swf files that have very similar functionality, but have different content. The 2 swf files are generated from the same fla file. I built a core class that controls the creation of the menu and loading the content. The menu data and content is in an xml file called config.xml that I load into the core class. I attached the core class to the main movie clip in my fla. I then exported the 2 swfs, put them in their own folders, in which there was a folder called config that held the config.xml that went with the section. What I found is it would work fine when I loaded the first swf, but when I loaded the second, it is still referencing the data for the first movie. So even though it was a different swf file, the content was the same. The swf were loaded into the same holder movie, so I thought this might be the problem. I changed my root movie ot created a new emptyMovieClip each time a section was loaded, and delete the old one, but that didn't solve the issue. The only way I found around this was to create two subclass files that extend the main class, overriding the function that loads the xml file, and rename the xml files to be specific to the swf. My question is, is this normal behavior? How can I get rid of the class and/or data from memory so the new data will load? Thanks Russ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] scope in AS3
On Wed, 28 Mar 2007 18:14:50 -0400, Dennis Asher [EMAIL PROTECTED] wrote: I've managed to avoid OOP till now but AS3 is here and no choice now. What's wrong in the class below? The code in the mouseover/mouseout functions do not reference the textfield correctly. I've tried adding: event.hello.visible = true; and event.target.hello.visible = true; Hi Dennis, Made a small change to your code by moving the variable hello outside of the function and into the level of the class so that all functions in the class can access this variable When you build you project I am assuming that you created a movie clip in the library then in the properties you set the class to be Location. Then dragged an instance of the Movieclip onto the stage and named it. The thing you have to be aware of is that the mouseevents you are setting up are associated with the movieclip and not the text field. It is the rolling into and out of the movieclip that will change the visibility. With this in mind you will have to have something occuping space in your movie clip, create a filled square for example. If you don't have any objects in your movieclip then the clip will not have any dimensions so a mouseover will never be registered and you will never see the text appear. You can also try adding the movieclip dynamically via actionscript by having this in a frame script: var my_mc:Location = new Location(); this.addChild(my_mc); and you rollover effect will work as well. hth, Rob - package { import flash.display.MovieClip; import flash.events.MouseEvent; import flash.display.DisplayObjectContainer; import flash.text.TextField; public class Location extends MovieClip { var hello:TextField = new TextField(); public function Location() { addEventListener(MouseEvent.MOUSE_OVER, mouseOverListener); addEventListener(MouseEvent.ROLL_OUT, mouseOutListener); addChild(hello); hello.text = this.name; hello.visible = false; } private function mouseOverListener(event:MouseEvent):void { hello.visible = true; } private function mouseOutListener(event:MouseEvent):void { hello.visible = false; } } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
happy UK!!! for the german versions: CS3 Master Collection UK: £2313.58 (=$4551.04)US: $2499.00 Austria: € 3.598 (=4.798,90 USD) CS3 Design Premium UK: £1655.58 (=$3256.69)US: $1799.00 Austria: € 2.638 (=3.517,24 USD) etc... But that is adobe! where are the macromedia times gone?? nice greetings! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
Well - a telephone call from Adobe Europe (in the Netherlands) today. A lovely Russian lady whose name I didn't get. She tried to tell me the price difference was down to VAT rules - until I pointed out that VAT is 17.5% over here, not ~80%. As an aside, she pointed out that we in the UK pay slightly more for our downloads because we pay Republic of Ireland VAT rates for downloads (21%) as opposed to UK VAT on box product (17.5%). I'd noticed that the UK store downloads were pricier than the box product the other day, and couldn't understand it - that explains it. Doesn't have much bearing on the US/UK gap, tho'. Then she tried to be terribly reasonable, telling me that I could, if I wished, buy the software from the States, but couldn't then have any European support or European upgrades (hardly a problem). I straightfowardly put it to her that it was simply about commercial interests and that Adobe charged the UK prices that the UK would pay. Which she agreed with. Which means the only explanation is - because they can get away with it. Ian On 3/29/07, Ian Thomas [EMAIL PROTECTED] wrote: I've 'phoned the Adobe's UK office today and am told that someone from the customer services management team will get back to me today to explain it. So let's see what happens. :-) Me, I'm not holding my breath. Ian ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
So how would one legally go about buying Adobe software in the US (by legally I mean not from ebay)? And r.e. the lack of european support or upgrade, wouldn't you still be elligible for a US upgrade if you bought the software from there? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 29 March 2007 15:39 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] The great CS3 Swindle Well - a telephone call from Adobe Europe (in the Netherlands) today. A lovely Russian lady whose name I didn't get. She tried to tell me the price difference was down to VAT rules - until I pointed out that VAT is 17.5% over here, not ~80%. As an aside, she pointed out that we in the UK pay slightly more for our downloads because we pay Republic of Ireland VAT rates for downloads (21%) as opposed to UK VAT on box product (17.5%). I'd noticed that the UK store downloads were pricier than the box product the other day, and couldn't understand it - that explains it. Doesn't have much bearing on the US/UK gap, tho'. Then she tried to be terribly reasonable, telling me that I could, if I wished, buy the software from the States, but couldn't then have any European support or European upgrades (hardly a problem). I straightfowardly put it to her that it was simply about commercial interests and that Adobe charged the UK prices that the UK would pay. Which she agreed with. Which means the only explanation is - because they can get away with it. Ian On 3/29/07, Ian Thomas [EMAIL PROTECTED] wrote: I've 'phoned the Adobe's UK office today and am told that someone from the customer services management team will get back to me today to explain it. So let's see what happens. :-) Me, I'm not holding my breath. Ian ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] ASP and Character encoding in flash
That did the trick! Thanks a mil :) -Original Message- From: Johan Karlsson [mailto:[EMAIL PROTECTED] Sent: 29 March 2007 14:38 To: flashcoders@chattyfig.figleaf.com Subject: SV: [Flashcoders] ASP and Character encoding in flash You must set the ASP-charset to utf-8 as well. Add this at the beginning of the ASP file: Response.CodePage = 65001 /Johan -- - I hope somebody can help with this one... I'm working on a flash application, where the settings can be dynamically imported from xml files or an asp query that sends out xml. It works fine if it's an xml file saved as UTF-8, both english and with special characters (in this case, swedish), or an asp generated xml with no special characters (==english). But when the client is trying to send out asp xml in swedish, the special characters turn into boxes and some xml fields display as undefined, similar to what you get if you save the local xml file as simple text, rather than UTF-8. Also, strangely enough, when the query is tested in the browser, IE and FF seem to be having trouble with the asp xml if the encoding at the top of the page is utf-8, but display it fine with ?xml version='1.0' encoding='ISO-8859-1'? My guess is that regardless of the encoding at the top of the page, when the asp xml reaches Flash, it's not UTF-8 but simple text. My question is - can anything be done about it? Thanks, Karina Karina Steffens | Neo-Archaic new concepts, timeless design http://www.neo-archaic.net/ www.neo-archaic.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Meddelandet har kontrollerats av CRW MailScanner och inget skadligt innehåll har upptäckts. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] ASP and Character encoding in flash
This certainly explains why the browser rendered the code properly in ISO, when it should have rendered it properly in UTF-8. But the Response.CodePage = 65001 was the bit that was missing from the asp, which is why it wasn't sending the strings properly. All seems to be working fine now - thanks everyone :) Karina -Original Message- From: Rákos Attila [mailto:[EMAIL PROTECTED] Sent: 29 March 2007 14:42 To: Karina Steffens Subject: Re: [Flashcoders] ASP and Character encoding in flash Flash doesn't care about the encoding given in XML's header, it always treats the content as UTF-8 (even if it doesn't match the real code page). Browsers however take the header into consideration, so if UTF-8 is given there, then they treat the content as UTF-8, and if ISO-8859-1 is given, then as ISO-8859-1. So, if ISO-8859-1 works well in browsers, it means that your text is in ISO-8859-1, which is not suitable for Flash. The encoding of the text doesn't depend on the header, it is just for informational purposes for parsers. If you change the header, the text's encoding remains and doesn't change - just parsers will interpret the same byte stream differently. So, you have to make sure to output UTF-8 encoded text with your ASP application. Attila ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
With WPF hitting the market this sounds like a really bad idea by Adobe. Seems like it would be cheaper to fly a student out with their personal educational copy. Not that I suggesting it (Adobe, please don't sue me). Nick Weekes wrote: So how would one legally go about buying Adobe software in the US (by legally I mean not from ebay)? And r.e. the lack of european support or upgrade, wouldn't you still be elligible for a US upgrade if you bought the software from there? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 29 March 2007 15:39 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] The great CS3 Swindle Well - a telephone call from Adobe Europe (in the Netherlands) today. A lovely Russian lady whose name I didn't get. She tried to tell me the price difference was down to VAT rules - until I pointed out that VAT is 17.5% over here, not ~80%. As an aside, she pointed out that we in the UK pay slightly more for our downloads because we pay Republic of Ireland VAT rates for downloads (21%) as opposed to UK VAT on box product (17.5%). I'd noticed that the UK store downloads were pricier than the box product the other day, and couldn't understand it - that explains it. Doesn't have much bearing on the US/UK gap, tho'. Then she tried to be terribly reasonable, telling me that I could, if I wished, buy the software from the States, but couldn't then have any European support or European upgrades (hardly a problem). I straightfowardly put it to her that it was simply about commercial interests and that Adobe charged the UK prices that the UK would pay. Which she agreed with. Which means the only explanation is - because they can get away with it. Ian On 3/29/07, Ian Thomas [EMAIL PROTECTED] wrote: I've 'phoned the Adobe's UK office today and am told that someone from the customer services management team will get back to me today to explain it. So let's see what happens. :-) Me, I'm not holding my breath. Ian ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
Ok - so it's actually cheaper to fly to the States, stay in a hotel for a few days and order your US copy (bearing in mind the exchange rate) than buying a copy in the UK. Joy! I'll recommend it to my boss :) Andy Jones Learning Consultant Reuters Messaging: [EMAIL PROTECTED] (t) +44 207542 6011 | (m) +44 7795 953895 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Sent: 29 March 2007 16:38 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] The great CS3 Swindle With WPF hitting the market this sounds like a really bad idea by Adobe. Seems like it would be cheaper to fly a student out with their personal educational copy. Not that I suggesting it (Adobe, please don't sue me). Nick Weekes wrote: So how would one legally go about buying Adobe software in the US (by legally I mean not from ebay)? And r.e. the lack of european support or upgrade, wouldn't you still be elligible for a US upgrade if you bought the software from there? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 29 March 2007 15:39 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] The great CS3 Swindle Well - a telephone call from Adobe Europe (in the Netherlands) today. A lovely Russian lady whose name I didn't get. She tried to tell me the price difference was down to VAT rules - until I pointed out that VAT is 17.5% over here, not ~80%. As an aside, she pointed out that we in the UK pay slightly more for our downloads because we pay Republic of Ireland VAT rates for downloads (21%) as opposed to UK VAT on box product (17.5%). I'd noticed that the UK store downloads were pricier than the box product the other day, and couldn't understand it - that explains it. Doesn't have much bearing on the US/UK gap, tho'. Then she tried to be terribly reasonable, telling me that I could, if I wished, buy the software from the States, but couldn't then have any European support or European upgrades (hardly a problem). I straightfowardly put it to her that it was simply about commercial interests and that Adobe charged the UK prices that the UK would pay. Which she agreed with. Which means the only explanation is - because they can get away with it. Ian On 3/29/07, Ian Thomas [EMAIL PROTECTED] wrote: I've 'phoned the Adobe's UK office today and am told that someone from the customer services management team will get back to me today to explain it. So let's see what happens. :-) Me, I'm not holding my breath. Ian ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com This email was sent to you by Reuters, the global news and information company. To find out more about Reuters visit www.about.reuters.com Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Limited. Reuters Limited is part of the Reuters Group of companies, of which Reuters Group PLC is the ultimate parent company. Reuters Group PLC - Registered office address: The Reuters Building, South Colonnade, Canary Wharf, London E14 5EP, United Kingdom Registered No: 3296375 Registered in England and Wales ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] flash and Arabic
Well the most thing i used is importing arabic written text from freehand (converted to vectors) and it is just fine... Regarding writing it in dynamic text boxes at runtime like this: myTextField.text ولا حاجة it works but you still have to take care about text wrapping as in flash doesnt recognize the end of a word, and so, in multi line cases, sometimes a single word splits.. i used to solve this problem by adding some extra spaces before the last word in a single line... and the same by parsing text from a metadata in xml... Hope this helps regards... On 3/29/07, Shaun Collins [EMAIL PROTECTED] wrote: I've worked with Arabic in Flash and yes those are the exact problems I experienced. There is an application that will allow you to cut and paste arabic to other applications without destroying the format. It won't work if you're looking for a dynamic solution - if anyone knows of one that would be great. http://www.layoutltd.com/alrassam.php There are arabic fonts you can use in flash but that still doesn't solve the problem of getting the arabic into flash in the right format if you are cutting and pasting. Hope that helps some. --- Omar Fouad [EMAIL PROTECTED] wrote: I work A lot using arabic in flash... I used to write arabic text dynamically into dynamic textfields, from xml, or action script in run time... Or by writing the arabic text in Free Hand, Than breaking it into vector and pasting it into flash as Vector... On 3/26/07, James Tu [EMAIL PROTECTED] wrote: We have an approach to deal with a list of 100 phrases in Arabic. When you copy and paste a phrase of Arabic into a Flash textbox, Flash reverses it! So, we first reversed the characters outside of Flash and then copied and pasted the phrases into Flash. Problem solved right? We'll, when someone that can read Arabic read it, they told us that the characters look funny. In essence, the characters weren't connecting to each other correctly! It's as if you took a cursive font and laid out the characters and the cursive writing was not continuous. Does anyone have any suggestions on handling Flash and Arabic? I did some extensive searching and there aren't any definitive solutions...Some suggested using a special Flash Arabic font, which I couldn't find. Help! -James ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
On 3/29/07, Nick Weekes [EMAIL PROTECTED] wrote: So how would one legally go about buying Adobe software in the US (by legally I mean not from ebay)? Well, off the top of my head... Get someone who lives there to buy it from a shop or online. Fly there and download it to your machine. Fly there and buy it from a shop. I'm guessing there are many other ways, but it's been a long day (currently fighting with Vista). And r.e. the lack of european support or upgrade, wouldn't you still be elligible for a US upgrade if you bought the software from there? I believe, from what she was saying, that you would be eligible, yes. Ian ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS3 Announced
i only ever really liked freehands non-spazzy page layout options but apart from that i preferred illustrator On 29 Mar 2007, at 04:56, Pedro Taranto wrote: April 20th --Pedro Taranto Omar Fouad escreveu: but when the Flash CS3 Full version (not update) will be available?? On 3/28/07, Jason Cordial [EMAIL PROTECTED] wrote: I used to make jokes about Fireworks, but after I studies up and got my Dreamweaver 8 cert, I realized what it was and what it was for, and now I'm really pretty glad it's still around. It'll never replace Photoshop, and that's not what it's there for. The beautiful integration with Dreamweaver and features designed largely for buttons and web graphics make it a whole other beast. Now, as to Freehand/Illustrator, I personally only used Illustrator, because that's what they have where I work. So long as there still is a product like that, I'm fine. I'm just kind of peeved that what I've been calling Flash 9 isn't called that anymore. I just don't like the sound of flash cs3... On 3/27/07, Paul Andrews [EMAIL PROTECTED] wrote: - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, March 27, 2007 8:52 PM Subject: RE: [Flashcoders] Flash CS3 Announced My experience is that most people who don't like Freehand never actually gave it a proper chance or were content because they already knew Illustrator and couldn't motivate to learn something new that does the same thing. Well, if you're generalizing me as one of those people, you're wrong. I've used both Illustrator and Freehand, and found Freehand to be vastly more buggy hard to use. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team LOL am I the only person here that uses this: http://www.xara.com/products/xtreme/?v=prot= ? Paul ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jason Cordial VIA 2 Lab Grunt - Waist deep beneath the borderline... Life is a euhemerism... http://bsu.edu/blogcaster2/jason/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
Andy Jones wrote: Ok - so it's actually cheaper to fly to the States, stay in a hotel for a few days and order your US copy (bearing in mind the exchange rate) than buying a copy in the UK. Joy! I'll recommend it to my boss :) You could as well fly to Brazil, stay at the beach for three weeks, and buy a copy on the streets for US$ 2.50. Kidding, of course! Am I? More seriously, and not that i even remotely understand this policy, but this price gap has always been there (see comments): http://weblogs.macromedia.com/jd/archives/2004/08/mm_store_firefo.cfm Cheers, Claus. -- claus wahlers côdeazur brasil http://codeazur.com.br/ http://wahlers.com.br/claus/blog/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
Well, off the top of my head... Get someone who lives there to buy it from a shop or online. Fly there and download it to your machine. Fly there and buy it from a shop. My personal opinion is it's a vast evil greed-based conspiracy between Adobe (because they hate Europeans and want to take ever dollar they can from them), the U.S. and European-based airlines (because they need every dollar they can get right now) the Dharma initiative (why not). Can't think of any other possible reason. Oh, and The Great CS3 Swindle would make a fantastic book. Kinda like an updated version of The Great Train Robbery with more laptops and fewer coffins. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Free Upgrade CS2 to CS3???
I hope the information I just got is wrong, so please post here if you learn anything different from Adobe. I just had a long talk with Deborah at US Adobe sales and she was unable to find any free update offer from CS2 to CS3, regardless of how recently one had purchased CS2. The best US price she could find for an upgrade was $799, and that was going from CS2 Production Premium to CS3 Production Premium. All other upgrade paths are called upsell rather than upgrade because CS3 Production Premium includes more applications. So, I have Studio 8 Pro, Photoshop CS, Premiere Pro 1.5, Audition 1.5, and an old version of Illustrator, and it appears the cheapest I can upgrade to the CS3 Production Premiere will be $1199 US. I guess it could be worse -- I could be living in Europe. I would LOVE to hear that I'm wrong, and that there actually is a free update if I buy CS2 Premium or CS2 Production Premium in the next few days. That would save me a small bundle. Marc Hoffman At 12:11 AM 3/29/2007, you wrote: However there is one interesting thing I found out. Apparently Adobe will be offering a FREE update to CS3 for anyone that buys CS2 from now until CS3 is available... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] MovieClip prototype
It worked... but just for the mc instance... I have lots of MCs working as buttons on my movie and I don't want to call the function on each button... I need to have a listener to detect which MC has an onRelease on it and set an onRollover function to them... Is that possible? thx On 3/29/07, eka [EMAIL PROTECTED] wrote: Hello :) try this : // constructor of the class _global.MyButton = function() { trace( this + constructor) ; } // inject addListener, removeListener and broadcastMessage methods in the prototype AsBroadcaster.initialize(MyButton.prototype) ; // the methods of your custom class MyButton.prototype.onRollOver = function () { if (this.onRelease != null || this.onPress != null) { this.broadcastMessage(click, this) ; } } // test var listener:Object = {} ; listener.click = function( target ) { trace( click : + target ) ; functionName(param); } mc.__proto__ = MyButton.prototype ; // change the prototype scope of the visual instance mc MyButton.call(mc) ; // launch the constructor of the MyButton class over the visual instance. mc.addListener( listener ) ; // EKA+ :) 2007/3/28, Matheus Araujo [EMAIL PROTECTED]: Hello coders... I'm trying to create a MovieClip prototype function to all my MCs that are buttons: MovieClip.prototype.onRollOver = function (){ if (this.onRelease != undefined || this.onPress != undefined) { functionName(param); } } The problem is that it doesn't work with the movie clips inside the ones in the first level... Is there Any way to accsess these movie clips? Thanks in advance Matheus ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Free Upgrade CS2 to CS3???
I'm just wondering if all the CS3 talk is getting a little out of control for this list. I understand it's a tool we all use, but I personally like to see this list closer to the flashcoding topic rather than discussing our favorite Adobe applications and upgrade paths. I don't want to start a huge thread on debating the rules of the list, just throwing a suggestion out there. :-) On 3/29/07, Marc Hoffman [EMAIL PROTECTED] wrote: I hope the information I just got is wrong, so please post here if you learn anything different from Adobe. I just had a long talk with Deborah at US Adobe sales and she was unable to find any free update offer from CS2 to CS3, regardless of how recently one had purchased CS2. The best US price she could find for an upgrade was $799, and that was going from CS2 Production Premium to CS3 Production Premium. All other upgrade paths are called upsell rather than upgrade because CS3 Production Premium includes more applications. So, I have Studio 8 Pro, Photoshop CS, Premiere Pro 1.5, Audition 1.5, and an old version of Illustrator, and it appears the cheapest I can upgrade to the CS3 Production Premiere will be $1199 US. I guess it could be worse -- I could be living in Europe. I would LOVE to hear that I'm wrong, and that there actually is a free update if I buy CS2 Premium or CS2 Production Premium in the next few days. That would save me a small bundle. Marc Hoffman At 12:11 AM 3/29/2007, you wrote: However there is one interesting thing I found out. Apparently Adobe will be offering a FREE update to CS3 for anyone that buys CS2 from now until CS3 is available... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] scope in AS3
in flash8 the propertie is _visible You are correct. However, he is coding in AS3 (see: package) and the subject of the thread has AS3 in it, which means this is Flash 9, which means the property is visible, no underscore. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Scaling Up an Image in Proportion to width or height
Simple. You solve for the ratio: var ratio:Number = _width / _height; You resize the _width: _width = Math.max(newWidth, 500); You set _height to the _width * ratio: _height = _width * ratio; fin. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Free Upgrade CS2 to CS3???
thanks mick. i agree. let's make this the last post on cs3 prices please. Am 29.03.2007 um 19:26 schrieb Mick G: I'm just wondering if all the CS3 talk is getting a little out of control for this list. I understand it's a tool we all use, but I personally like to see this list closer to the flashcoding topic rather than discussing our favorite Adobe applications and upgrade paths. I don't want to start a huge thread on debating the rules of the list, just throwing a suggestion out there. :-) On 3/29/07, Marc Hoffman [EMAIL PROTECTED] wrote: I hope the information I just got is wrong, so please post here if you learn anything different from Adobe. I just had a long talk with Deborah at US Adobe sales and she was unable to find any free update offer from CS2 to CS3, regardless of how recently one had purchased CS2. The best US price she could find for an upgrade was $799, and that was going from CS2 Production Premium to CS3 Production Premium. All other upgrade paths are called upsell rather than upgrade because CS3 Production Premium includes more applications. So, I have Studio 8 Pro, Photoshop CS, Premiere Pro 1.5, Audition 1.5, and an old version of Illustrator, and it appears the cheapest I can upgrade to the CS3 Production Premiere will be $1199 US. I guess it could be worse -- I could be living in Europe. I would LOVE to hear that I'm wrong, and that there actually is a free update if I buy CS2 Premium or CS2 Production Premium in the next few days. That would save me a small bundle. Marc Hoffman At 12:11 AM 3/29/2007, you wrote: However there is one interesting thing I found out. Apparently Adobe will be offering a FREE update to CS3 for anyone that buys CS2 from now until CS3 is available... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com bitrocker typographique Lars Schwarz Gottorpstrasse 20 26122 Oldenburg T +49(0)441 2171 354 0 F +49(0)441 2171 354 2 M [EMAIL PROTECTED] W www.bitrocker.com W www.typographique.de ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Free Upgrade CS2 to CS3???
It was what the guy at the Adobe Store (UK) told me - he was trying to pacify me after the whole US/US price thing - I hope it wasn't a lie! I was looking at Design Premium and he offered me an upgrade to CS2 for £492 and told me quote a free upgrade will be available to customers that buy CS2 until CS3 becomes available. Still nearly double the US price for CS3 but I digress... Macromedia did offer a deal exactly like that we I upgraded from Flash 7 to Flash 8. I had 45 days to fax over a proof of purchase. Of course I ended up forgetting and forking out the full price about six months later. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Hoffman Sent: 29 March 2007 18:06 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Free Upgrade CS2 to CS3??? I hope the information I just got is wrong, so please post here if you learn anything different from Adobe. I just had a long talk with Deborah at US Adobe sales and she was unable to find any free update offer from CS2 to CS3, regardless of how recently one had purchased CS2. The best US price she could find for an upgrade was $799, and that was going from CS2 Production Premium to CS3 Production Premium. All other upgrade paths are called upsell rather than upgrade because CS3 Production Premium includes more applications. So, I have Studio 8 Pro, Photoshop CS, Premiere Pro 1.5, Audition 1.5, and an old version of Illustrator, and it appears the cheapest I can upgrade to the CS3 Production Premiere will be $1199 US. I guess it could be worse -- I could be living in Europe. I would LOVE to hear that I'm wrong, and that there actually is a free update if I buy CS2 Premium or CS2 Production Premium in the next few days. That would save me a small bundle. Marc Hoffman At 12:11 AM 3/29/2007, you wrote: However there is one interesting thing I found out. Apparently Adobe will be offering a FREE update to CS3 for anyone that buys CS2 from now until CS3 is available... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] MovieClip prototype
Hello :) you can use VEGAS (http://vegas.riaforge.org/) my openSource framework for example... with this class DisplayFactory and the method createChild or attachChild : 1 - download the project on RIAForge or use a Subversion client like TortoiseSVN to upload all the versionning project with the url : http://svn1.cvsdude.com/osflash/vegas/ 2 - install the AS2/trunk/src directory of the project in your Flash classpath preferences... 3 - use my DisplayFactory class with your custom class... you can find an example in the directory AS2/trunk/bin/test/vegas/util/factory with the file DisplayFactory.fla : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/vegas/util/factory/ you can use too my vegas.util.ConstructorUtil class with the method createVisualInstance() : import vegas.util.ConstructorUtil ; var mc1:MyButton = ConstructorUtil.createVisualInstance( MyButton , mc1 ) ; var mc2:MyButton = ConstructorUtil.createVisualInstance( MyButton , mc2 ) ; PS : my french tutorial to install VEGAS - http://www.ekameleon.net/blog/index.php?2006/03/05/27--vegas-installation If you work in AS2.. you can too create a custom class who extend MovieClip and use a movieclip symbol in your library with the link parameters of the symbol. EKA+ :) 2007/3/29, Matheus Araujo [EMAIL PROTECTED]: It worked... but just for the mc instance... I have lots of MCs working as buttons on my movie and I don't want to call the function on each button... I need to have a listener to detect which MC has an onRelease on it and set an onRollover function to them... Is that possible? thx On 3/29/07, eka [EMAIL PROTECTED] wrote: Hello :) try this : // constructor of the class _global.MyButton = function() { trace( this + constructor) ; } // inject addListener, removeListener and broadcastMessage methods in the prototype AsBroadcaster.initialize(MyButton.prototype) ; // the methods of your custom class MyButton.prototype.onRollOver = function () { if (this.onRelease != null || this.onPress != null) { this.broadcastMessage(click, this) ; } } // test var listener:Object = {} ; listener.click = function( target ) { trace( click : + target ) ; functionName(param); } mc.__proto__ = MyButton.prototype ; // change the prototype scope of the visual instance mc MyButton.call(mc) ; // launch the constructor of the MyButton class over the visual instance. mc.addListener( listener ) ; // EKA+ :) 2007/3/28, Matheus Araujo [EMAIL PROTECTED]: Hello coders... I'm trying to create a MovieClip prototype function to all my MCs that are buttons: MovieClip.prototype.onRollOver = function (){ if (this.onRelease != undefined || this.onPress != undefined) { functionName(param); } } The problem is that it doesn't work with the movie clips inside the ones in the first level... Is there Any way to accsess these movie clips? Thanks in advance Matheus ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Scaling Up an Image in Proportion to width or height
Or, if it's a movieclip you're working with you can simply: Scale the width.. _width = 500 And then set the height using the scale property _yscale = _xscale Works up and down j -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: 29 March 2007 18:42 To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Scaling Up an Image in Proportion to width or height Simple. You solve for the ratio: var ratio:Number = _width / _height; You resize the _width: _width = Math.max(newWidth, 500); You set _height to the _width * ratio: _height = _width * ratio; fin. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Scaling Up an Image in Proportion to width or height
That'd do it...except that you need to define var ratio:Number = _height/_width. If var ratio:Number = _width/_height, then _width * ratio = (_width * _width)/_heightThat ain't right. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Thursday, March 29, 2007 9:42 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Scaling Up an Image in Proportion to width or height Simple. You solve for the ratio: var ratio:Number = _width / _height; You resize the _width: _width = Math.max(newWidth, 500); You set _height to the _width * ratio: _height = _width * ratio; fin. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Free Upgrade CS2 to CS3???
Sorry I think my last post crossed yours in the ether. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lars Schwarz Sent: 29 March 2007 18:46 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Free Upgrade CS2 to CS3??? thanks mick. i agree. let's make this the last post on cs3 prices please. Am 29.03.2007 um 19:26 schrieb Mick G: I'm just wondering if all the CS3 talk is getting a little out of control for this list. I understand it's a tool we all use, but I personally like to see this list closer to the flashcoding topic rather than discussing our favorite Adobe applications and upgrade paths. I don't want to start a huge thread on debating the rules of the list, just throwing a suggestion out there. :-) On 3/29/07, Marc Hoffman [EMAIL PROTECTED] wrote: I hope the information I just got is wrong, so please post here if you learn anything different from Adobe. I just had a long talk with Deborah at US Adobe sales and she was unable to find any free update offer from CS2 to CS3, regardless of how recently one had purchased CS2. The best US price she could find for an upgrade was $799, and that was going from CS2 Production Premium to CS3 Production Premium. All other upgrade paths are called upsell rather than upgrade because CS3 Production Premium includes more applications. So, I have Studio 8 Pro, Photoshop CS, Premiere Pro 1.5, Audition 1.5, and an old version of Illustrator, and it appears the cheapest I can upgrade to the CS3 Production Premiere will be $1199 US. I guess it could be worse -- I could be living in Europe. I would LOVE to hear that I'm wrong, and that there actually is a free update if I buy CS2 Premium or CS2 Production Premium in the next few days. That would save me a small bundle. Marc Hoffman At 12:11 AM 3/29/2007, you wrote: However there is one interesting thing I found out. Apparently Adobe will be offering a FREE update to CS3 for anyone that buys CS2 from now until CS3 is available... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com bitrocker typographique Lars Schwarz Gottorpstrasse 20 26122 Oldenburg T +49(0)441 2171 354 0 F +49(0)441 2171 354 2 M [EMAIL PROTECTED] W www.bitrocker.com W www.typographique.de ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] flash and Arabic
I once emailed Kevin Lynch and the guy generously replied with this: Hi Yehia- Thanks for your note. Right-to-left text support in Flash Player is an important feature, and we know it would be a key addition to the platform. Implementing this feature to deliver the right quality is a fairly big undertaking -- and we also need to factor in cross-platform support, maintaining the stability of the player, and keeping the code size small. All requests for new features are investigated using these same standards as we prioritize features for each release. Product Management is aware of the need for right-to-left text support. Although we cannot provide an exact date for when it will be supported, it is definitely under evaluation. thanks Kevin Flash supports unicode, it just isn't RTL supportive. Furthermore to this issue, if you try to use arabic, you won't be able to get a proper text wrap. There will be compatibility issues on different Windows versions and between Mac, worth saying backward compatibility with older Flash players that knows not of unicode. I seriously hope Adobe 's involvement will be beneficial. (Wish:Adobe Flash CS3 ME) Regards, Yehia Shouman Senior AS Developer and TL www.santeon.com On 3/29/07, Omar Fouad [EMAIL PROTECTED] wrote: Well the most thing i used is importing arabic written text from freehand (converted to vectors) and it is just fine... Regarding writing it in dynamic text boxes at runtime like this: myTextField.text ولا حاجة it works but you still have to take care about text wrapping as in flash doesnt recognize the end of a word, and so, in multi line cases, sometimes a single word splits.. i used to solve this problem by adding some extra spaces before the last word in a single line... and the same by parsing text from a metadata in xml... Hope this helps regards... On 3/29/07, Shaun Collins [EMAIL PROTECTED] wrote: I've worked with Arabic in Flash and yes those are the exact problems I experienced. There is an application that will allow you to cut and paste arabic to other applications without destroying the format. It won't work if you're looking for a dynamic solution - if anyone knows of one that would be great. http://www.layoutltd.com/alrassam.php There are arabic fonts you can use in flash but that still doesn't solve the problem of getting the arabic into flash in the right format if you are cutting and pasting. Hope that helps some. --- Omar Fouad [EMAIL PROTECTED] wrote: I work A lot using arabic in flash... I used to write arabic text dynamically into dynamic textfields, from xml, or action script in run time... Or by writing the arabic text in Free Hand, Than breaking it into vector and pasting it into flash as Vector... On 3/26/07, James Tu [EMAIL PROTECTED] wrote: We have an approach to deal with a list of 100 phrases in Arabic. When you copy and paste a phrase of Arabic into a Flash textbox, Flash reverses it! So, we first reversed the characters outside of Flash and then copied and pasted the phrases into Flash. Problem solved right? We'll, when someone that can read Arabic read it, they told us that the characters look funny. In essence, the characters weren't connecting to each other correctly! It's as if you took a cursive font and laid out the characters and the cursive writing was not continuous. Does anyone have any suggestions on handling Flash and Arabic? I did some extensive searching and there aren't any definitive solutions...Some suggested using a special Flash Arabic font, which I couldn't find. Help! -James ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:
[Flashcoders] Confused about accessing nested movieclips in AS3
Hey everyone, I've been working with AS3 for a bit, and been kind of avoiding this problem till now, but I've converting an AS2 project which has some nested clips, and I'd rather not change things! So basically the question is how do I access nested clips? Before in AS2, I'd say myclip.nestedclip.othernestedclip. But now the problem I have is that once I get a clip on stage I can't drill down to it's children with dot syntax. It gives an error that the nested MC is an undefined property. I suppose I could create a class for myclip that exposes it's nested clips as public variable - and do that for each nesting level, but that's a lot of work. I also tried declaring it in my main class as private var myclip.nestedclip:MovieClip, but of course that's bad syntax. If it matters, I'm exporting my assets out of the Flash 9 Alpha as a Flash 9 AS2 movie. (I tried AS3, but the ability to specify a linkage ID went away). Then I'm embedding the movieclips I need with the [Embed] tag through FlashDevelop and sending it over to the Flex 2 SDK compiler for output. Anyway, this all works, and my stuff appears on stage, but I just can't get access to the nested clips! thanks! ben ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Scaling Up an Image in Proportion to width or height
Yes but you could do it like this You resize the _width: _width = Math.max(newWidth, 500); You set _height to the _width * ratio: _height = _width * (1/ratio); Which is the same thing as _height = _width / ratio; This would be (_width/_height * _height) this cancels the _height leaving you with just _width. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hershell Bryant Sent: Thursday, March 29, 2007 1:58 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Scaling Up an Image in Proportion to width or height That'd do it...except that you need to define var ratio:Number = _height/_width. If var ratio:Number = _width/_height, then _width * ratio = (_width * _width)/_heightThat ain't right. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Thursday, March 29, 2007 9:42 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Scaling Up an Image in Proportion to width or height Simple. You solve for the ratio: var ratio:Number = _width / _height; You resize the _width: _width = Math.max(newWidth, 500); You set _height to the _width * ratio: _height = _width * ratio; fin. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
Mike Mountain wrote: For those prices it would literally be cheaper to fly out to the US to buy it. Adobe has FUBAR'd these prices - we demand an explanation - but who from? For what it's worth, I had been pushing before launch for better information about the reasons for regional pricing disparities, but I did not succeed at doing so. I suspect there are reasonable explanations, because Macromedia, Adobe, and most other software houses show similar differences across national boundaries, but I don't yet know the authoritative reasons myself, sorry. (My suspicion is that it's due to decisionmaking being both at the central and at the regional level... I think each region is responsible for its own prices and these are shaped, but not dictated, by the main office, so there's no single owner of pricing worldwide... that's just my best current guess of why I haven't been able to gain traction in getting this documented, though.) What I'm doing now is trying to collect similar reactions for my partners, to show that this is indeed a frequently-asked question, and one that deserves a definitive explanation on the Adobe site. (The FlashCoders web archive is not viewable to non-subscribers, so I'm snipping threads to give a flavor of the whole.) So... my apologies for the confusion. I think it's definitely a legitimate question, and one that I'm working to get addressed. tx, 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] Scaling Up an Image in Proportion to width or height
Why would you do that, though? You're adding an extra calculation for no reason. It's inefficient and unnecessary. And I'm not setting _height to _width divided by ratio, but _width TIMES ratio. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Abaffy Sent: Thursday, March 29, 2007 11:46 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Scaling Up an Image in Proportion to width or height Yes but you could do it like this You resize the _width: _width = Math.max(newWidth, 500); You set _height to the _width * ratio: _height = _width * (1/ratio); Which is the same thing as _height = _width / ratio; This would be (_width/_height * _height) this cancels the _height leaving you with just _width. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hershell Bryant Sent: Thursday, March 29, 2007 1:58 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Scaling Up an Image in Proportion to width or height That'd do it...except that you need to define var ratio:Number = _height/_width. If var ratio:Number = _width/_height, then _width * ratio = (_width * _width)/_heightThat ain't right. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Thursday, March 29, 2007 9:42 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Scaling Up an Image in Proportion to width or height Simple. You solve for the ratio: var ratio:Number = _width / _height; You resize the _width: _width = Math.max(newWidth, 500); You set _height to the _width * ratio: _height = _width * ratio; fin. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Confused about accessing nested movieclips in AS3
If you're not using absolute strict typing and everything that AS3 has (display, addChild, etc.), then you're gaining no benefit because Flash will just kick down to VM1. IMO, you should either rebuild it from scratch in AS3 style (using sprites, display objects, etc.) or leave it as AS2 and save yourself the headache. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben gomez farrell Sent: Thursday, March 29, 2007 11:32 AM To: Flashcoders mailing list Subject: [Flashcoders] Confused about accessing nested movieclips in AS3 Hey everyone, I've been working with AS3 for a bit, and been kind of avoiding this problem till now, but I've converting an AS2 project which has some nested clips, and I'd rather not change things! So basically the question is how do I access nested clips? Before in AS2, I'd say myclip.nestedclip.othernestedclip. But now the problem I have is that once I get a clip on stage I can't drill down to it's children with dot syntax. It gives an error that the nested MC is an undefined property. I suppose I could create a class for myclip that exposes it's nested clips as public variable - and do that for each nesting level, but that's a lot of work. I also tried declaring it in my main class as private var myclip.nestedclip:MovieClip, but of course that's bad syntax. If it matters, I'm exporting my assets out of the Flash 9 Alpha as a Flash 9 AS2 movie. (I tried AS3, but the ability to specify a linkage ID went away). Then I'm embedding the movieclips I need with the [Embed] tag through FlashDevelop and sending it over to the Flex 2 SDK compiler for output. Anyway, this all works, and my stuff appears on stage, but I just can't get access to the nested clips! thanks! ben ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
cmon guys pay a vacation to the US, buy the adobe suite (whatever you like) write down in the registration the addrs of your hotel and connect to the internet, and Doesn't matter where you are, you'd have online support , because there is no way to trace your connection (or at least that is what the FBI said in the x-files, joking), I bought my programs in the us, then used a cargo to brought it to Ecuador and I used and downloaded the upgrades from there.I don't know if I'm saying a lot of nonsenses but that looks perfectly right for me. My primary language is the spanish, but I've always use my products set up to english language( by the way I bet I can't understand the commands or how to use the programs in my own language-the spanish). regards Gustavo Duenas On Mar 29, 2007, at 10:56 AM, Nick Weekes wrote: So how would one legally go about buying Adobe software in the US (by legally I mean not from ebay)? And r.e. the lack of european support or upgrade, wouldn't you still be elligible for a US upgrade if you bought the software from there? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 29 March 2007 15:39 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] The great CS3 Swindle Well - a telephone call from Adobe Europe (in the Netherlands) today. A lovely Russian lady whose name I didn't get. She tried to tell me the price difference was down to VAT rules - until I pointed out that VAT is 17.5% over here, not ~80%. As an aside, she pointed out that we in the UK pay slightly more for our downloads because we pay Republic of Ireland VAT rates for downloads (21%) as opposed to UK VAT on box product (17.5%). I'd noticed that the UK store downloads were pricier than the box product the other day, and couldn't understand it - that explains it. Doesn't have much bearing on the US/UK gap, tho'. Then she tried to be terribly reasonable, telling me that I could, if I wished, buy the software from the States, but couldn't then have any European support or European upgrades (hardly a problem). I straightfowardly put it to her that it was simply about commercial interests and that Adobe charged the UK prices that the UK would pay. Which she agreed with. Which means the only explanation is - because they can get away with it. Ian On 3/29/07, Ian Thomas [EMAIL PROTECTED] wrote: I've 'phoned the Adobe's UK office today and am told that someone from the customer services management team will get back to me today to explain it. So let's see what happens. :-) Me, I'm not holding my breath. Ian ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http:// www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Confused about accessing nested movieclips in AS3
I just figured it out, but now I have a new question. There's actually no code except for stop(); and the instantiation code in the actual Flash file. I took all this out, and it doesn't seem like a big deal to just convert the code. It's also a small project, so it's not going to be a big deal to change some of the syntax and type all my variables. I actually am upgrading because I want to use the byteArray class to save out a JPG. Anyway, I've gotten so far as to finally figure out that I need to access the nested clips through the displayobject class by using getChildren, or getChildAt, or getChildByName. My battle now is that I can't figure out why things are embedding the way they are. I'm embedding the assets through a compiler directive: [Embed(source=assets.swf, symbol=gui_mc)] Even though it's a movieclip in the Flash Alpha, it won't type in the Flex SDK as a movieclip. The error says it's displayobject. I can actually get away with typing it as a Sprite. And then I can access it's children if I say if I type the main movieclip as a sprite. The nested clips on the other hand I can't type as anything but a display object unfortunately, which means I can't access it's frames. So that's what I'm clueless on now! I've tried exporting out of Flash Alpha as AS2 and AS3, but I can't type things as a movieclip no matter what I do. Thanks! ben Steven Sacks | BLITZ wrote: If you're not using absolute strict typing and everything that AS3 has (display, addChild, etc.), then you're gaining no benefit because Flash will just kick down to VM1. IMO, you should either rebuild it from scratch in AS3 style (using sprites, display objects, etc.) or leave it as AS2 and save yourself the headache. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben gomez farrell Sent: Thursday, March 29, 2007 11:32 AM To: Flashcoders mailing list Subject: [Flashcoders] Confused about accessing nested movieclips in AS3 Hey everyone, I've been working with AS3 for a bit, and been kind of avoiding this problem till now, but I've converting an AS2 project which has some nested clips, and I'd rather not change things! So basically the question is how do I access nested clips? Before in AS2, I'd say myclip.nestedclip.othernestedclip. But now the problem I have is that once I get a clip on stage I can't drill down to it's children with dot syntax. It gives an error that the nested MC is an undefined property. I suppose I could create a class for myclip that exposes it's nested clips as public variable - and do that for each nesting level, but that's a lot of work. I also tried declaring it in my main class as private var myclip.nestedclip:MovieClip, but of course that's bad syntax. If it matters, I'm exporting my assets out of the Flash 9 Alpha as a Flash 9 AS2 movie. (I tried AS3, but the ability to specify a linkage ID went away). Then I'm embedding the movieclips I need with the [Embed] tag through FlashDevelop and sending it over to the Flex 2 SDK compiler for output. Anyway, this all works, and my stuff appears on stage, but I just can't get access to the nested clips! thanks! ben ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Sending binary data to server - NO HEADERS
On 3/28/07, Michael Mudge [EMAIL PROTECTED] wrote: Although XML basically receives null-terminated XML data, it can *send* any string. You can basically make a rudamentary HTTP client by using it. Foo = new XMLSocket(); Foo.connect(wherever.com, 1234); Foo.onConnect = function() { Foo.send(data); Foo.disconnect(); }; ...something like that? Or... in Flex, you can use a Socket class, which is quite similar... And implement a more complete client. If I had more details, I could probably scribble something up... Also, XMLSocket/Socket cannot connect to ports below 1024, without a special policy server. If they cannot modify the script, I am guessing that installing a separate socket server to hand out policy files is also not possible. See more info here: http://livedocs.adobe.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=1099.html What I don't know how to do is read a local file in such a way that I'd be able to use its raw data as a string to send to a socket. Unfortunately this is not possible when running from a browser. Otherwise it would open potential security holes. (Imagine some random SWF reading data from your disk) - Kipp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Rorex Sent: Wednesday, March 28, 2007 11:34 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Sending binary data to server - NO HEADERS It seems like you are doing a lot of work, because of a poorly-designed server script. I would really try and see if you can get permission to modify the script. If not, perhaps you can have a 'bridge' script, that recieves the data from flash, formats it correctly for the other script, then forwards it. All the flash 8 methods of sending data to server that I can think of, will have some sort of header or data format that will need to be processed first. -David R On 3/5/07, Carlos Saenz [EMAIL PROTECTED] wrote: I am trying to send binary data to a server side script which takes a variable called file, and saves it as a binary file. so if I have a variable in my flash movie myfile, with a value of asdf, and I send that to the server, it will make a file on the filesystem called myfile, and the contents of it will be asdf Now, the trick is to send the script an image or video file. I have tried the following ways: 1) Using FileReference class (Flash 8) --- This works with php and move_uploaded_file. --- This does NOT work the server side script mentioned above. It adds headers to the file. Same headers found here: http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/ wwhelp.htm?context=LiveDocs_Partsfile=2225.html Namely: Content-Type: multipart/form-data; boundary=AaB03x --AaB03x Content-Disposition: form-data; name=Filedata; filename=example.jpg Content-Type: application/octet-stream ... contents of example.jpg ... --AaB03x-- PHP can handle this, the other script cannot. Unfortunately we are stuck with the other script. So I looked at different ways to send binary data to the server, without using FileReference. 2) Flex Builder 2. Here we have some new classes. Such as URLRequest and URLLoader, where you can use URLLoaderDataFormat.BINARY. This transferred the file to the server side script we are stuck with perfectly. No errors or problems. Unfortunately they want a Flash Player 8 solution. 3) Some examples on the web where people have taken a BitmapData object in Flash 8 and programmatically convert a bitmap into an array of string data which represents pixel data, which is converted on the server to an image. -- Is this method possible with LoadVars to send a binary stream of data to a script via POST, which will make it think it's the same as a file upload??? Well these are my three options 1) FileReference -- Flash 8 -- Is there a way to eliminate the headers its sending by default? 2) Flex Builder 2 - URLLoader class -- Any way to use this in Flash Player 8? (Doesn't seem possible) 3) Manually encode binary data into a variable and pass it through loadVars making the server think it's a file upload. Possible??? OR 4) Any other possibility I may have overlooked? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flash Job - high pay, southern california - full time
Anyone fit the bill? - Salary: $85 - 95k range - Southern California (must be local, work on site) - Full time - Full benefits, free food on site - Bonuses - Skills required: OOP with AS 2.0 and Javascript, AS 3.0 and Flex gets bonus points, HTML / CSS / Flash / Cross browser development / Debugging Please provide your email address Thanks, -Carlos- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Confused about accessing nested movieclips in AS3
OK! Just got it. For those who care, here's what I did: It actually compiled and worked fine in the Flash 9 Alpha when I published from there, but I was actually shooting for the Flex 2 SDK. I could only type the object as a Sprite it seems, because the container movieclip I had was only 1 frame, while the ones nested inside were multiple frames. I found that when I extended the one frame to be multiple frames, it worked just fine as a movieclip. I guess, and maybe this is a quirk of the alpha, that there's no such thing as a one frame movieclip - it can only be a sprite. And then the nested clips, which I could access, I couldn't get to be MovieClips, only DisplayObjects. There was a syntax I wasn't aware of: var clip:MovieClip = container.getChildByName(myclip) as MovieClip; I'd never heard of as, but it seemed to work great when I added it. Thanks, and hope this helps someone else with similar problems! ben ben gomez farrell wrote: I just figured it out, but now I have a new question. There's actually no code except for stop(); and the instantiation code in the actual Flash file. I took all this out, and it doesn't seem like a big deal to just convert the code. It's also a small project, so it's not going to be a big deal to change some of the syntax and type all my variables. I actually am upgrading because I want to use the byteArray class to save out a JPG. Anyway, I've gotten so far as to finally figure out that I need to access the nested clips through the displayobject class by using getChildren, or getChildAt, or getChildByName. My battle now is that I can't figure out why things are embedding the way they are. I'm embedding the assets through a compiler directive: [Embed(source=assets.swf, symbol=gui_mc)] Even though it's a movieclip in the Flash Alpha, it won't type in the Flex SDK as a movieclip. The error says it's displayobject. I can actually get away with typing it as a Sprite. And then I can access it's children if I say if I type the main movieclip as a sprite. The nested clips on the other hand I can't type as anything but a display object unfortunately, which means I can't access it's frames. So that's what I'm clueless on now! I've tried exporting out of Flash Alpha as AS2 and AS3, but I can't type things as a movieclip no matter what I do. Thanks! ben Steven Sacks | BLITZ wrote: If you're not using absolute strict typing and everything that AS3 has (display, addChild, etc.), then you're gaining no benefit because Flash will just kick down to VM1. IMO, you should either rebuild it from scratch in AS3 style (using sprites, display objects, etc.) or leave it as AS2 and save yourself the headache. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben gomez farrell Sent: Thursday, March 29, 2007 11:32 AM To: Flashcoders mailing list Subject: [Flashcoders] Confused about accessing nested movieclips in AS3 Hey everyone, I've been working with AS3 for a bit, and been kind of avoiding this problem till now, but I've converting an AS2 project which has some nested clips, and I'd rather not change things! So basically the question is how do I access nested clips? Before in AS2, I'd say myclip.nestedclip.othernestedclip. But now the problem I have is that once I get a clip on stage I can't drill down to it's children with dot syntax. It gives an error that the nested MC is an undefined property. I suppose I could create a class for myclip that exposes it's nested clips as public variable - and do that for each nesting level, but that's a lot of work. I also tried declaring it in my main class as private var myclip.nestedclip:MovieClip, but of course that's bad syntax. If it matters, I'm exporting my assets out of the Flash 9 Alpha as a Flash 9 AS2 movie. (I tried AS3, but the ability to specify a linkage ID went away). Then I'm embedding the movieclips I need with the [Embed] tag through FlashDevelop and sending it over to the Flex 2 SDK compiler for output. Anyway, this all works, and my stuff appears on stage, but I just can't get access to the nested clips! thanks! ben ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription
RE: [Flashcoders] Confused about accessing nested movieclips in AS3
Ben, We ran into the same problem with Embedded clips and couldn't find a solution. However, if you save as an AS3 SWF through Flash 9 alpha, and then load the clip dynamically you will get a MovieClip back. Then use getChildren to pull out any subclips you need access to, as you described. If you save it as a Flash 8 SWF (AS2) and load that you get a AVM1Movie. Still a display object but very restricted what you can do with it. It seems basically you can play it and that's all--so it's more like an animated GIF than something from Flash. Best to stick to Flash 9 (AS3) SWF's. Doug -Original Message- From: ben gomez farrell [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 1:03 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Confused about accessing nested movieclips in AS3 I just figured it out, but now I have a new question. There's actually no code except for stop(); and the instantiation code in the actual Flash file. I took all this out, and it doesn't seem like a big deal to just convert the code. It's also a small project, so it's not going to be a big deal to change some of the syntax and type all my variables. I actually am upgrading because I want to use the byteArray class to save out a JPG. Anyway, I've gotten so far as to finally figure out that I need to access the nested clips through the displayobject class by using getChildren, or getChildAt, or getChildByName. My battle now is that I can't figure out why things are embedding the way they are. I'm embedding the assets through a compiler directive: [Embed(source=assets.swf, symbol=gui_mc)] Even though it's a movieclip in the Flash Alpha, it won't type in the Flex SDK as a movieclip. The error says it's displayobject. I can actually get away with typing it as a Sprite. And then I can access it's children if I say if I type the main movieclip as a sprite. The nested clips on the other hand I can't type as anything but a display object unfortunately, which means I can't access it's frames. So that's what I'm clueless on now! I've tried exporting out of Flash Alpha as AS2 and AS3, but I can't type things as a movieclip no matter what I do. Thanks! ben Steven Sacks | BLITZ wrote: If you're not using absolute strict typing and everything that AS3 has (display, addChild, etc.), then you're gaining no benefit because Flash will just kick down to VM1. IMO, you should either rebuild it from scratch in AS3 style (using sprites, display objects, etc.) or leave it as AS2 and save yourself the headache. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben gomez farrell Sent: Thursday, March 29, 2007 11:32 AM To: Flashcoders mailing list Subject: [Flashcoders] Confused about accessing nested movieclips in AS3 Hey everyone, I've been working with AS3 for a bit, and been kind of avoiding this problem till now, but I've converting an AS2 project which has some nested clips, and I'd rather not change things! So basically the question is how do I access nested clips? Before in AS2, I'd say myclip.nestedclip.othernestedclip. But now the problem I have is that once I get a clip on stage I can't drill down to it's children with dot syntax. It gives an error that the nested MC is an undefined property. I suppose I could create a class for myclip that exposes it's nested clips as public variable - and do that for each nesting level, but that's a lot of work. I also tried declaring it in my main class as private var myclip.nestedclip:MovieClip, but of course that's bad syntax. If it matters, I'm exporting my assets out of the Flash 9 Alpha as a Flash 9 AS2 movie. (I tried AS3, but the ability to specify a linkage ID went away). Then I'm embedding the movieclips I need with the [Embed] tag through FlashDevelop and sending it over to the Flex 2 SDK compiler for output. Anyway, this all works, and my stuff appears on stage, but I just can't get access to the nested clips! thanks! ben ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf
Re: [Flashcoders] Scaling Up an Image in Proportion to width or height
Here is the method I use, It works for simply rescaling, or conditional rescaling (i.e. if(object._width yourMaxWidth){ rescaleDimensions();}; function rescaleDimensions(){ oldWidth = object._width; oldHeight = object._height; object._width = yourNewWidth; object._height = ((yourNewWidth*oldHeight)/oldWidth); //thats it. Simple. } Heres the algebra: x/y = new x/ new y therefore x*new y = y* new x thereforenew y = (y * new x)/x Note: I didn't read the original post, just answering according to the subject title. Hope I was of some help. (becasue I have gotten losts of it along the way too) Paul Vdst. - Original Message - From: Steven Sacks | BLITZ [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, March 29, 2007 1:24 PM Subject: RE: [Flashcoders] Scaling Up an Image in Proportion to width or height Why would you do that, though? You're adding an extra calculation for no reason. It's inefficient and unnecessary. And I'm not setting _height to _width divided by ratio, but _width TIMES ratio. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Abaffy Sent: Thursday, March 29, 2007 11:46 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Scaling Up an Image in Proportion to width or height Yes but you could do it like this You resize the _width: _width = Math.max(newWidth, 500); You set _height to the _width * ratio: _height = _width * (1/ratio); Which is the same thing as _height = _width / ratio; This would be (_width/_height * _height) this cancels the _height leaving you with just _width. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hershell Bryant Sent: Thursday, March 29, 2007 1:58 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Scaling Up an Image in Proportion to width or height That'd do it...except that you need to define var ratio:Number = _height/_width. If var ratio:Number = _width/_height, then _width * ratio = (_width * _width)/_heightThat ain't right. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Thursday, March 29, 2007 9:42 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Scaling Up an Image in Proportion to width or height Simple. You solve for the ratio: var ratio:Number = _width / _height; You resize the _width: _width = Math.max(newWidth, 500); You set _height to the _width * ratio: _height = _width * ratio; fin. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
(My suspicion is that it's due to decisionmaking being both at the central and at the regional level... I think each region is responsible for its own prices and these are shaped, but not dictated, by the main office, so there's no single owner of pricing worldwide... that's just my best current guess of why I haven't been able to gain traction in getting this documented, though.) Being as many of the people buying these products are above average intelligence, they are soon going to work out that it is cheaper to buy in USD or whatever currency suits them. As many bank accounts now only make small charges on transactions made in foreign currencies, maybe regional offices are going to start taking a hit on their sales if people shop elsewhere. Maybe they will then start fighting a bit more for the consumer in their countries in order to sort out the price disparity. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
the problem is that when you use your uk credit card you cannot buy from the us store, so unless you have a us cc you be fooked. On 3/29/07, Glen Pike [EMAIL PROTECTED] wrote: (My suspicion is that it's due to decisionmaking being both at the central and at the regional level... I think each region is responsible for its own prices and these are shaped, but not dictated, by the main office, so there's no single owner of pricing worldwide... that's just my best current guess of why I haven't been able to gain traction in getting this documented, though.) Being as many of the people buying these products are above average intelligence, they are soon going to work out that it is cheaper to buy in USD or whatever currency suits them. As many bank accounts now only make small charges on transactions made in foreign currencies, maybe regional offices are going to start taking a hit on their sales if people shop elsewhere. Maybe they will then start fighting a bit more for the consumer in their countries in order to sort out the price disparity. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] The great CS3 Swindle
Then make a friend in the US and use do a money transfer to their account with PayPal or something similar Johannes Nel wrote: the problem is that when you use your uk credit card you cannot buy from the us store, so unless you have a us cc you be fooked. On 3/29/07, Glen Pike [EMAIL PROTECTED] wrote: (My suspicion is that it's due to decisionmaking being both at the central and at the regional level... I think each region is responsible for its own prices and these are shaped, but not dictated, by the main office, so there's no single owner of pricing worldwide... that's just my best current guess of why I haven't been able to gain traction in getting this documented, though.) Being as many of the people buying these products are above average intelligence, they are soon going to work out that it is cheaper to buy in USD or whatever currency suits them. As many bank accounts now only make small charges on transactions made in foreign currencies, maybe regional offices are going to start taking a hit on their sales if people shop elsewhere. Maybe they will then start fighting a bit more for the consumer in their countries in order to sort out the price disparity. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] The great CS3 Swindle
Thanks for the response John, please don't take this personally, - but I suspect the legitimate reason is because we can, I find it hard to believe that Adobe HQ doesn't have the necessary muscle to enforce a RRP bracket on its international sales offices. Anyhow - not all companies have this pricing structure. Take Valves STEAM online distribution channel. Last time I looked there was only one price. If I buy my product electronically then I can see no reason whatsoever for the whopping differences - a company can only take the 'P' out of it's customers for so long before we look elsewhere. I know for certain that the only product I can afford to upgrade at the moment is Flash Pro - I'll be using existing software or looking elsewhere for the rest. Then once I'm out of the upgrade cycle I won't feel any compulsion to keep upgrading and will feel less loyal to the product and much more likely to look at alternatives (ahem MICROSOFT ahem). Hell - if Flashdevelop gets the much touted Flexible WYSWIG Flex editor then I may not even upgrade Flash Pro.. May I suggest you have the equivalent of an electronic region/version - where you can only get support and upgrades electronically and the price tracks the US equivalent with appropriate country specific tax adjustments applied. It's just plain dumb of someone in Adobe to think that your loyal European customers wouldn't do the maths. And if the UK sales office is responsible then we want names, I wonder if any missing revenue from US sales to European customers being diverted would make them pay attention - if so we're all chartering a jet and want them to wave us goodbye at the airport. Yes - my goat has been well and truly got. M On 3/29/07, John Dowdell [EMAIL PROTECTED] wrote: Mike Mountain wrote: For those prices it would literally be cheaper to fly out to the US to buy it. Adobe has FUBAR'd these prices - we demand an explanation - but who from? For what it's worth, I had been pushing before launch for better information about the reasons for regional pricing disparities, but I did not succeed at doing so. I suspect there are reasonable explanations, because Macromedia, Adobe, and most other software houses show similar differences across national boundaries, but I don't yet know the authoritative reasons myself, sorry. (My suspicion is that it's due to decisionmaking being both at the central and at the regional level... I think each region is responsible for its own prices and these are shaped, but not dictated, by the main office, so there's no single owner of pricing worldwide... that's just my best current guess of why I haven't been able to gain traction in getting this documented, though.) What I'm doing now is trying to collect similar reactions for my partners, to show that this is indeed a frequently-asked question, and one that deserves a definitive explanation on the Adobe site. (The FlashCoders web archive is not viewable to non-subscribers, so I'm snipping threads to give a flavor of the whole.) So... my apologies for the confusion. I think it's definitely a legitimate question, and one that I'm working to get addressed. tx, 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] Flash CS3 Announced
Do you know if contribute can help people to update sites php or coldfusion based? This is quite OT, so if you have any further questions along this line please send them to me off-list. You can use Contribute to manage parts of PHP or CF sites, but you have to be a bit careful about how you do things. In general, you'll want to separate your static and dynamic content as much as possible, and use Contribute to edit just the static content. 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! This email has been processed by SmoothZap - www.smoothwall.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] OT:How was this done?
Programming was done by Karsten Schmidt (toxi) who has done lots of processing stuff for the past few years. I love this guys work, but have not seen any new stuff on his site - toxi.co.uk - for a while. I guess he has been busy in other places... Lovely visuals though ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] myspace widgets + link backs
As far as I know, there is not a way around it other than including HTML links on the outside of your widget. divobject...a href=http://;get a widget/a/div That sort of thing. -josh On Mar 28, 2007, at 11:49 PM, dc wrote: hi list - was wondering if people are doing myspace widgets, what are the options and limitations? i guess all embedded flash now has to be wrapped by: param name=allowScriptAccess value=never / param name=allowNetworking value=internal / so that means its not possible to have a widget that links back to your site using getURL. are there any other workarounds? eg using an (in flash) an html text field with an a href=... or having the myspace code also include a small text link under the embedded flash... I guess other sites that host widgets maybe less restrictive. has anyone seen a good comparison of the embedded environments for widget sites? 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] The great CS3 Swindle
I'm surprised that any of the CS3 bundles are available via download. I would think they are only available via physical shipment due to sheer size. Back to the subject at hand, I know that UK and EU pricing typically runs higher on software, but to the extent that it is cheaper to fly to the US, take a mini-holiday, purchase your software, then fly home seems ludicrous. ...Rob ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Scaling Up an Image in Proportion to width or height
I bet this just adds to the confusion... but who doesn't love a one-liner? // 1. MATH - ONE LINE var w = 800; var h = 600; var n = 1024; w = ((h *= n/w) n); // 2. MATH - TWO LINES (same as above) var w = 800; var h = 600; var n = 1024; h *= n/w; // adjust h based on w w = n;// set w // 3. SIMPLE MC mc._width = 200; mc._yscale = mc._xscale; // 4. BOUNDS // stage listener sl = {} Stage.addListener( sl ); sl.onResize = onStageResize; onStageResize (); // on resize function onStageResize () { var newScale = ratioScaling ( photo_mc, Stage.width, Stage.height, 640, 480, 1024, 768, true ); trace( 'newScale: ' + newScale ); } // resize function function ratioScaling ( mc:MovieClip, W:Number, H:Number, minW:Number, minH:Number, maxW:Number, maxH:Number, useMax:Boolean ) : Number { // set within bounds mc._width = Math.max ( Math.min( maxW, W ), minW ); mc._height = Math.max ( Math.min( maxH, H ), minH ); // set and return the smallest ratio, // unless useMax is true, then choose largest ratio. return mc._xscale = mc._yscale = Math[(useMax)?'max':'min']( mc._xscale, mc._yscale ); } _ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] SWF Only Loads Once
Hi all, If you check out http://tinyurl.com/2yctf9 in Internet Explorer on a PC (using at least 9r16), and click on a listen button, everything works fine-- the first time. If you close the pop-up player, then the next time, the SWF will not draw, which is a combination of my bad error handling and IE munging the XML (I think). Clear your cache, and you've got another free render. I'm wondering if anyone has seen this happen in IE before (and more importantly, knows the fix). Our cache header is set to Cache-Control: max-age=259200. Thanks, -DT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] SWF Only Loads Once
XML almost always caches. Use a noCache param. var path:String = some.xml; var d:Date = new Date(); var p:String = (path.indexOf(?) -1) ? noCache= : ?noCache=; var noCache:String = (_root._url.indexOf(http://;) -1) ? p + d.getTime() : ; var xmlPath:String = path + noCache; myXML.load(xmlPath); ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com