PDA

View Full Version : Convert from Flash 8 to mx



hmmaah
June 10th, 2007, 02:31 PM
Hi people -

I'm trying to see if I can re-purpose this background scaling project to MX2004 (many thanks to Fr-ode for the code).

Would any of you mind saving this for mx to see if I can work with it?

A.

actionAction
June 10th, 2007, 02:47 PM
Here you go! :thumb2:

hmmaah
June 10th, 2007, 02:53 PM
Hey thanks a lot actionAction! You're a star.

Got a question for you. The code no longer works in the mx version - which is strange - can you see anything in there thats flash 8 only?

hmmaah
June 10th, 2007, 02:58 PM
I get the following error message.

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 18: The class 'BitmapData' could not be loaded.

var bitmap:BitmapData = new BitmapData(mc._width, mc._height, true);

:puzzle:

actionAction
June 10th, 2007, 02:59 PM
Hmmm... hmmaah,

I believe BitmapData is Flash 8 only, not totally sure though.

hmmaah
June 10th, 2007, 03:04 PM
That would make sense - thanks for the help. I'll find another way of sorting this problem.

All the best.

:thumb:

creatify
June 10th, 2007, 06:14 PM
Yep, BitmapData is definitely only flash 8 - i kinda have a hunch that however the BitmapData was used in the flash 8 version is going to be hard to duplicate in MX. BitmapData opened up a ton of new capabilities for flash 8 that were either impossible or very complicated to achieve in MX.