[Flashcoders] dynamic image loading in mc

2007-05-01 Thread mastro
hello, I'm looking for a solution witch can handle the following problem: i need a mc witch will load several images and text dynamically from a folder into the flash-file. (the number of images change sometimes) also 2 buttons should give the possibility to go from image 1 to

Re: [Flashcoders] dynamic image loading in mc

2007-05-01 Thread sebastian
hi Michael, quick reply here, but you may want to consider assigning the XML data to an Array instead of to variables. This way, you can call positions in the array easily. So instead of: bild = mein_xml.firstChild.childNodes[paktBild].attributes.pic; you would have: pictureArray = new

Re: [Flashcoders] dynamic image loading in mc

2007-05-01 Thread mastro
hi seb. thanx for your quick answer ! but i didn´t get it... i chanced the code how you suggest it. but now i get an error massage... also, what i have to do with the buttons? is it possible to take the same 2 buttons to go one picture up/down during the sliteshow? thanks ! michael

[Flashcoders] Study material for flash certification

2007-05-01 Thread Prince Zain
Hi All, I wanted to know, which is the best study book for flash certification. Also is there any online resources available for the same. I visited the adobe.com but didn't get the sufficient information. Kindly share with me. Thanks in advance. Xian

Re: [Flashcoders] dynamic image loading in mc

2007-05-01 Thread Muzak
Please sign up for the flashnewbie list and try your question there. http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie regards, Muzak - Original Message - From: mastro [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, May 01, 2007 9:10 AM Subject: Re:

Re: [Flashcoders] Two column forms and removing null

2007-05-01 Thread Muzak
Dennis, Try the flexcoders list ;-) http://groups.yahoo.com/group/flexcoders/ regards, Muzak - Original Message - From: Dennis Asher [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, May 01, 2007 3:18 AM Subject: [Flashcoders] Two column forms and removing null

Re: [Flashcoders] Study material for flash certification

2007-05-01 Thread Lists
As far as I know, the only book avoilable at present is for the MX 2004 certification--an outdated exam at this point. On 5/1/07 3:27 AM, Prince Zain [EMAIL PROTECTED] wrote: I wanted to know, which is the best study book for flash certification. Also is there any online resources available

Re: [Flashcoders] Study material for flash certification

2007-05-01 Thread Muzak
Look for this one on amazon.com: Macromedia Flash 8 On Demand Muzak - Original Message - From: Prince Zain [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, May 01, 2007 9:27 AM Subject: [Flashcoders] Study material for flash certification Hi All, I wanted

[Flashcoders] factory with varying numbers of params

2007-05-01 Thread pedr browne
Hi, A have a Factory that needs to instanciate Objects with differing numbers of parameters (1-4). Is there any way to deal with this situation and maintain strong typing. private function createItem(param_ob:Object, key:String):Void{ switch(key){ case item_1: myItem = new

[Flashcoders] Using a flex2 swc in Flash CS3

2007-05-01 Thread Mike Mountain
How do I go about using a flex 2 SWC library in Flash CS3? I tried dropping it into the components directory but no joy Anyone help? Cheers M ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] XMLSocket connection in flash 8 /AS2.0

2007-05-01 Thread Tom Gooding
Calling all AS2.0 developers who have experience working with XMLSocket connections.. I've recently been seeing an odd behaviour in an app I've developed which has a continual connection to a socket server. The symptom I've been seeing is the connection becoming inactive, the onClose event does

[Flashcoders] rotate a cube

2007-05-01 Thread Waseem Shahzad
Hello Flashcoders I am trying to rotate a cube which i made in the flash authoring environment. However it is not a real cube but I don't want to use API to make a cube first and then rotate it. I want that a cube which have a specific design then it is rotate in the 3d environment using flash

Re: [Flashcoders] factory with varying numbers of params

2007-05-01 Thread Listas
pedr, i would prefer to use the arguments array, instead of an object, but i´m afraid this isn´t strong typed as you wish private function createItem(key:String):Void{ switch(key){ case item_1: var wid_num:Number = arguments[1]; var y_num:Number = arguments[2];

RE: [Flashcoders] rotate a cube

2007-05-01 Thread Danny Kodicek
Hello Flashcoders I am trying to rotate a cube which i made in the flash authoring environment. However it is not a real cube but I don't want to use API to make a cube first and then rotate it. I want that a cube which have a specific design then it is rotate in the 3d environment

Re: [Flashcoders] rotate a cube

2007-05-01 Thread Fumio Nonaka
Flash 8 source fla file can be downloaded. 3D Transformation: http://www.fumiononaka.com/Sample/3D_Box/3D_Box.html _ Danny Kodicek wrote: If you made your cube as a perspective object in Flash, you're right, you can't rotate it automatically (how would Flash know what the rest of it looked

Re: [Flashcoders] dynamic image loading in mc

2007-05-01 Thread noentourage
You'll probably need some backend scripting like php or whatever your host has installed to read the contents of the folder then send that info to your flash app as xml. On 5/1/07, mastro [EMAIL PROTECTED] wrote: hello, I'm looking for a solution witch can handle the following problem: i

[Flashcoders] AS2: generating new instances dynamically?

2007-05-01 Thread sebastian chedal
Hello Flashcoders, Sorry to bother you with another simple AS2 questions, I'm making good progress but I am stumped with one simple thing. I have one class/object that I want to use to generate copies [instances] of another class. The second class is an object in the library with an ID and an

Re: [Flashcoders] factory with varying numbers of params

2007-05-01 Thread Andy Herrman
There are two ways I can think of to do this. One would be to have multiple factory functions, one for each type of object you want to create. The other would be to create a simple class (FactoryParams or something like that) which stores all the parameters. You pass that as the parameter

Re: [Flashcoders] AS2: generating new instances dynamically?

2007-05-01 Thread Robert Brisita
If it is a movie clip you want to instantiate then you have to use: _root.attachMovie(libraryID, instanceName, depth); The class associated with it will construct and the onLoad event will trigger if it is being listened to. Ciao, Rob. sebastian chedal wrote: Hello Flashcoders, Sorry to

Re: [Flashcoders] AS2: generating new instances dynamically?

2007-05-01 Thread Ron Wheeler
I am not sure if you are showing all the code but in your code fragment, newPost is a local variable that will be destroyed as soon as createPost ends. A short and brutal life. It needs to be a class property and you will want to have a getter to access it. Ron sebastian chedal wrote:

Re: [Flashcoders] rotate a cube

2007-05-01 Thread Ron Wheeler
Why not Sandy3D ??? Waseem Shahzad wrote: Hello Flashcoders I am trying to rotate a cube which i made in the flash authoring environment. However it is not a real cube but I don't want to use API to make a cube first and then rotate it. I want that a cube which have a specific design then it

Re: [Flashcoders] OT: Share Music Online

2007-05-01 Thread Martin Jonasson
I've been using http://freesound.iua.upf.edu/ for a while, it's not completely free but licensed under creative commons, so you can do pretty much whatever you want as long as you attribute the samples. Great stuff. Glen Pike skrev: Hi, Flickr is to photo's what ? is to audio This

RE: [Flashcoders] rotate a cube

2007-05-01 Thread Tom Gooding
I've seen some really good stuff done recently in Papervision3d http://www.papervision3d.org/ , also WireEngine3D I've used before pretty successfully http://osflash.org/we3d . As with any 3D engine, you'll need reasonable maths to get on with either of these. -Original Message- From:

Re: [Flashcoders] AS2: generating new instances dynamically?

2007-05-01 Thread Andy Herrman
Or have the function return it, which is what it seems like would be the right thing for that method. -Andy On 5/1/07, Ron Wheeler [EMAIL PROTECTED] wrote: I am not sure if you are showing all the code but in your code fragment, newPost is a local variable that will be destroyed as soon as

Re: [Flashcoders] factory with varying numbers of params

2007-05-01 Thread T. Michael Keesey
On 5/1/07, pedr browne [EMAIL PROTECTED] wrote: Hi, A have a Factory that needs to instanciate Objects with differing numbers of parameters (1-4). Is there any way to deal with this situation and maintain strong typing. private function createItem(param_ob:Object, key:String):Void{

[Flashcoders] Freelance Flash / Zinc developer needed for music project

2007-05-01 Thread Rob
Dear Flashcoders, I'd like to widen this request out location-wise. We'd be interested to talk to any freelance Flash developers worldwide with good Zinc experience, particularly delivering to the Mac desktop. You'd need to be online and able to conference on Skype. See below for more details.

[Flashcoders] CrossDomain and Forms

2007-05-01 Thread Helmut Granda
Is there anyway to go around the crossdomain for testing purposes besides testing locally (from flash IDE)? final files will be at Form: subdomain.zzz.com Processing form: differentsubdomain.zzz.com Testing is being done at yyy.com and of course me being at yyy.com dont have access tot

Re: [Flashcoders] CrossDomain and Forms

2007-05-01 Thread Robert Brisita
Search for an example of a crossdomain.xml, which would sit on the root directory of your website. Hope this helps, Rob. Helmut Granda wrote: Is there anyway to go around the crossdomain for testing purposes besides testing locally (from flash IDE)? final files will be at Form:

Re: [Flashcoders] AS2: generating new instances dynamically?

2007-05-01 Thread O. Fouad
are u executing the class post view? On 5/1/07, Andy Herrman [EMAIL PROTECTED] wrote: Or have the function return it, which is what it seems like would be the right thing for that method. -Andy On 5/1/07, Ron Wheeler [EMAIL PROTECTED] wrote: I am not sure if you are showing all the code

Re: [Flashcoders] CrossDomain and Forms

2007-05-01 Thread Helmut Granda
but the crossdomain.xml has to be in the client's machine not on my testing server. is that correct? On 5/1/07, Robert Brisita [EMAIL PROTECTED] wrote: Search for an example of a crossdomain.xml, which would sit on the root directory of your website. Hope this helps, Rob. Helmut Granda

Re: [Flashcoders] CrossDomain and Forms

2007-05-01 Thread Robert Brisita
The crossdomain.xml has to be on the server with the data you want to access. You could also you LocalConnection to get around it. Helmut Granda wrote: but the crossdomain.xml has to be in the client's machine not on my testing server. is that correct? On 5/1/07, Robert Brisita [EMAIL

[Flashcoders] drawing with mouse / pen

2007-05-01 Thread nik crosina
Hi, I am working on a project that would possibly require the user to select an answer from a quiz by circling it with the mouse. Has anyone of you done something similar before - we want the user to roughly draw around the object, not necessary join the ends of the lines. I am thinking of

Re: [Flashcoders] drawing with mouse / pen

2007-05-01 Thread Joshua Sera
The drawing part's easy. For closing off the circle, just do what Flash does for the endFill() method, just connect the last point in the polygon you're creating with the first. The for selecting the right answer, it's a point in polygon problem. Now that I think about it, create an empty movie

Re: [Flashcoders] CrossDomain and Forms

2007-05-01 Thread Helmut Granda
On 5/1/07, Robert Brisita [EMAIL PROTECTED] wrote: The crossdomain.xml has to be on the server with the data you want to access. That is what I was afraid of :( and the server where the data I want to access is in the client's hands. Thanks for the confirmation. You could also you

Re: [Flashcoders] CrossDomain and Forms

2007-05-01 Thread Jason Rayles
You need a proxy script, which is a file on your server that will read in the data from the other server and write it out for you. As far as Flash is concerned, the data is from your server. There's an example on adobe.com somewhere. - Original Message - From: Helmut Granda [EMAIL

[Flashcoders] printJob, orientation and rotation or scaling issues

2007-05-01 Thread Dave Wood
Hi I'm having problems correctly rotating a movieclip to accomodate users printing in either portrait or landscape format. There was a thread about this maybe 4 to 6 weeks ago and I'm unable to locate it in the archives. If anyone recalls that, would they mind pointing me to it? The

Re: [Flashcoders] drawing with mouse / pen

2007-05-01 Thread Lists
Nik, if it can save you any energy, be sure you show a proof of concept to your client/colleague before you get too hip-deep into this. We've tried to do similar things in the past with little success. The issue is not technical, it's more of a usability issue. If you provide a VISIBLE area in