Re: [Flashcoders] Re: AVM1Movie unload and static variables

2008-01-09 Thread Hans Wichman
Hi, you might want to try deleting all your classes. It's a nasty trick however and who knows what you'll run into next time. Another option is: don't use singletons or finalize them before you exit your current application instance. Assuming all your classes are in a package org.dittgen, you cou

RE: [Flashcoders] Error 1120?

2008-01-09 Thread Dwayne Neckles
It worked.. Guys you have no idea how much I appreciate your assistance! Does that mean that brushing up on the basics of as3 should be in order? geez.. add public IS important! Thanks Everyone!! > From: [EMAIL PROTECTED] > Subject: Re: [Flashcoders] Error 1120? > Date: Wed, 9 Jan 2008 23:2

Re: [Flashcoders] Error 1120?

2008-01-09 Thread James Booth
Try : public class MathUtil { - James On Jan 9, 2008, at 10:00 PM, Dwayne Neckles wrote: thanks so much for help me out but its not working still here is the updated code.. ** inside fla import com.bigspaceship.util.math.MathUtil; var num:Number = MathUtil.getRandom(4,100); tra

RE: [Flashcoders] Error 1120?

2008-01-09 Thread Dwayne Neckles
thanks so much for help me out but its not working still here is the updated code.. ** inside fla import com.bigspaceship.util.math.MathUtil; var num:Number = MathUtil.getRandom(4,100); trace(num) * Class file below package com.bigspaceship.util.math{ class MathUtil {

Re: [Flashcoders] Error 1120?

2008-01-09 Thread Steven Sacks
You're attempting to access instance vars in a static method. Make min_num and max_num static. Also, you don't need to put a constructor in a static class. Also, you should follow common practice and put public before static when declaring functions and variables. _

[Flashcoders] Error 1120?

2008-01-09 Thread Dwayne Neckles
Would anyone be able to assist, and tell me why am I getting a " 1120: Access of undefined property MathUtil." and a "1180: Call to a possibly undefined method MathUtil." error.. here is the code below.. import com.bigspaceship.util.math.*; myMathUtil:MathUtil = new MathUtil(); var num = Ma

Re: [Flashcoders] Compile .fla from Flex?

2008-01-09 Thread Jason Van Cleave
Yes, I saw went through it and got it going. I had some issues trying to find the ant tasks as I was looking for it under the run button menu but once I realized the external tools was only connected through the run menu I got it to work. Thanks for this, I'd wish I had found it earlier this year

RE: [Flashcoders] flash and 3d asset options

2008-01-09 Thread Shannon Romano
Yah, after looking a while longer I realized what they were doing with the movement of clips. Creating movieclips of a sequence of bitmaps will be pretty easy to use and manipulate it seems. I'll look into the Lightwave exporter you mentioned and the Illustrate! product that Pete mentioned. T

RE: [Flashcoders] flash and 3d asset options

2008-01-09 Thread Merrill, Jason
FYI - Swift3D now exports to Papervision, and provides the code for you, so you can easily do real 3D in Flash. Jason Merrill Bank of America GT&O L&LD Solutions Design & Development eTools & Multimedia Bank of America Flash Platform Developer Community >>-Original Message- >>Fr

Re: [Flashcoders] Compile .fla from Flex?

2008-01-09 Thread Jason M Horwitz
My pleasure - if you need help just getting that up and running you might want to check out the "Adding a Buildfile" section of the FDTKit wiki: http://code.google.com/p/fdtkit/wiki/Documentation - even if you aren't interested in using the project it should help you get started with Ant (note the

Re: [Flashcoders] capture and email

2008-01-09 Thread Leandro Ferreira
If its AS2 you could create an array of rgb values captured from a ButeArray and send it via AMF also. Leandro Ferreira On 1/8/08, Matthew James Poole <[EMAIL PROTECTED]> wrote: > > If its AS3 You could use the JPEGEncoder class to send a ByteArray over > remoting using AMF3 and create the jp

Re: [Flashcoders] Compile .fla from Flex?

2008-01-09 Thread Jason Van Cleave
Thanks Jason, Your process is exactly what I am trying to do. Looks like this is a good reason for me how to figure out Ant. On Jan 8, 2008 6:43 PM, Jason M Horwitz <[EMAIL PROTECTED]> wrote: > You could do this with Ant and JSFL - check out the buildfile and > safeTestMovie.jsfl from my FDTKit

RE: [Flashcoders] Compile .fla from Flex?

2008-01-09 Thread Dave Watts
> How can I unregister from group? If you mean "unsubscribe", use the URL at the bottom of every Flashcoders message: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-author

[Flashcoders] Beginning of String matching algorithm?

2008-01-09 Thread Steven Loe
BTW I'm using AS 2. --- Steven Loe <[EMAIL PROTECTED]> wrote: > Subject: [Flashcoders] Beginning of String matching algorithm? > > I have a plan, but I suspect that it not a great approach: > > I have an alpha sorted xml file containing hundreds of titles. I'd like to > create an > array of it

[Flashcoders] Re: AVM1Movie unload and static variables

2008-01-09 Thread Matthias Dittgen
In fact this problem applies not only for AS2/AS3 interop. How can I unload MovieClips and thus unload static variables to have a fresh startover, when loading the same MovieClip later again? Matthias On Jan 9, 2008 3:32 PM, Matthias Dittgen <[EMAIL PROTECTED]> wrote: > Hello Flashcodes, > > I is

Re: [Flashcoders] flash and 3d asset options

2008-01-09 Thread Paul Andrews
- Original Message - From: "Paul Andrews" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Wednesday, January 09, 2008 1:53 PM Subject: Re: [Flashcoders] flash and 3d asset options I don't think it's a papervision game or 3D game at all. You have 3D looking graphics with movieclips a

[Flashcoders] AVM1Movie unload and static variables

2008-01-09 Thread Matthias Dittgen
Hello Flashcodes, I isolated a recent problem I had using AVM1Movies. I have build this everywhere mentioned Proxy for "old" Flash content (Flash8 and before), that enables my AS3 Application to communicate with the loaded AS2 based MovieClip using LocalConnection. Now I load an "old" Movie for t

Re: [Flashcoders] flash and 3d asset options

2008-01-09 Thread Peter B
If you right click and zoom in you can see that these games are all pre-rendered 3D bitmaps. I've used Swift3D, but prefer plugins for real 3D applications, such as Illustrate! for 3DS Max. Discreet used to sell a product called Plasma too, which was kinda 3D Studio Max lite with native support fo

Re: [Flashcoders] flash and 3d asset options

2008-01-09 Thread Paul Andrews
I don't think it's a papervision game or 3D game at all. You have 3D looking graphics with movieclips animated over it. They may be 3D models or artist drawn cycles. I don't have experience of the Swift3D 3D studio exporter, but I know of the Lightwave one. It doesn't export a 3D model, it expo

[Flashcoders] Mustek PMP 638 Flash 2.1 problem / experience / references ?

2008-01-09 Thread fred schulz
hello, According to Mustek the PMP 638 support Flash 2.1, but i can always only see the first frame as fixed-image. I am looking for an working example or any references. Thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://cha

Re: [Flashcoders] PUSH/PULL model in AIR

2008-01-09 Thread Sidney de Koning
Hi Matthew, That is exactly what i need! Thanks. I'll look into these and let you know about my findings. Sid Matthew James Poole wrote: Its sounds like you want to investigate using an XMLSocket Server users connect and stay connected such that when a change occurs all connected clients get t

Re: [Flashcoders] Problems loading AS2 into AS2 then into AS3 holder

2008-01-09 Thread Matthias Dittgen
I encouter similar problems on my current project. I load a AVM1Movie (AS2) which shall work as Proxy to load other AS2 based Movies into itself. These Movies can be remote controlled using LocalConnections between the AS3 part of my Application and the AS2 Proxy . This works great for the first lo