Re: [Flashcoders] Transitions on dynamically loaded swf slow down if you resize that loaded swf file and then play the transition.

2007-05-22 Thread Durairaj Subramaniam
Hi Vivek I didnt understand much about your problem from the explanations. But as for my understanding these might be the issues.. I guess the transitions clip might be heavy . so only when resizing it doesnt play at normal speed what u expected. I guess you can try out some way of transitions

Re: [Flashcoders] Transitions on dynamically loaded swf slow down if you resize that loaded swf file and then play the transition.

2007-05-22 Thread Vivek Lakhanpal
Hi Durairaj, Thanks for looking into the problem. Let me try to rephrase it once again. I have a flash player in which user can play slideshow (e.g. http://www.authorstream.com) now in this player as you can see the dimension of the player is around 400x300 approx. But the slides being loaded

[Flashcoders] Coordinates and Stage align in Flexible UIs

2007-05-22 Thread Kevin Cannon
Hi there, Is there a good explanation about how co-ordinates work with Stage Align? I'm building a Flexible UI and all works fine is I use Stage.align to the top left, and set teh scalemode to noscale, but if I want to align it to the center things start going a little hay-wire. I'm trying to

Re: [Flashcoders] Coordinates and Stage align in Flexible UIs

2007-05-22 Thread Muzak
Maybe this will help: http://muzakdeezign.com/flashcoders/stage_align.html regards, Muzak - Original Message - From: Kevin Cannon [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, May 22, 2007 12:43 PM Subject: [Flashcoders] Coordinates and Stage align in Flexible

[Flashcoders] Problem: FileReference onComplete event handler fires too soon - not properly waiting for HTTP status code 200

2007-05-22 Thread Andriy Panas
Dear all, We are trying to use Flash 8's FileReference API to upload the big media files in our web app. In our application we upload big media file first to some transient server and then immediately in the same uploading process we start moving this file to Amazon S3 file storage server. The

Re: [Flashcoders] Coordinates and Stage align in Flexible UIs

2007-05-22 Thread Kevin Cannon
Hi, That looks very useful. I've one question though. How is the 'border to stage position' information worked out? Is the some kind of absolute top/left co-ordinates you can find? - Kevin On 22/05/07, Muzak [EMAIL PROTECTED] wrote: Maybe this will help:

Re: [Flashcoders] Extract and use numbers from string

2007-05-22 Thread Johnny Zen
Thanks Hans That really helped me :) Best wishes Johnny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software

[Flashcoders] Have a problem with my flash site, in 1 or 2 people computer

2007-05-22 Thread Helios Pregioni Bayma
Hi, I have a weird problem with a site (http://www.2pestudio.com/). The client said that one person tried to see it, but loaded only a green i (on top-right) and the address (just beside the i) and the loader keeps on screen, forever. Weird cause the site has a preloader and only shows those if

Re: [Flashcoders] Have a problem with my flash site, in 1 or 2 people computer

2007-05-22 Thread Elaine Montoya
Hi, I went to your site and it loaded fine. I didn't have any problems with it. My guess is either: a) your swf is Flash 9 and the client does not have the Flash 9 player b) your client does not have a current version of the Flash player loaded. I have had clients in the past tell me

[Flashcoders] Flash + Bitmap

2007-05-22 Thread Mike Nowak
Curious issue that I ran into. I have this small flash app meant to run locally. It basically shows the current webcame stream and when a user hits a button, it takes a snapshot (copy over the video to bitmap object) and then later the user can print it. Works fine. Except when I change the

Re: [Flashcoders] Have a problem with my flash site, in 1 or 2 people computer

2007-05-22 Thread Helios Pregioni Bayma
Hi Elaine, The swf is version 8, and the client has player 9 installed. And it loads the swf, reaches the last frame, but failes to show background and menu itens. But loads xml, css, and everything. I don´t have any idea of what can be happening. Thanks for the tips! Any other idea, let me

Re: [Flashcoders] Have a problem with my flash site, in 1 or 2 people computer

2007-05-22 Thread eric e. dolecki
you should think about those of us with widescreen monitors at high resolution. i can see where the right edge of your background images end. - eric On 5/22/07, Helios Pregioni Bayma [EMAIL PROTECTED] wrote: Hi Elaine, The swf is version 8, and the client has player 9 installed. And it

[Flashcoders] Flash + ASP / LoadVariables

2007-05-22 Thread Claudio M. E. Bastos Iorio
I hope you guys could help me on this one. Flash 8, AS2, ASP3. I have a simple flash form, content form textboxes should be loaded in an asp file. The ASP part is working fine. But flash don't. I have this action in the submit form: on (release) { loadVariables(Load.asp, 0, POST); } But

[Flashcoders] remove duplicate items in array

2007-05-22 Thread Allandt Bik-Elliott (Receptacle)
hi guys i'm looking for a way of removing duplicate items in an array i've done this so far //sort array so all items of the same content are grouped together myArray.sort(); //loop through items, removing any sitting next to a duplicate for (var i:Number = 0; i myArray.length; i++) {

Re: [Flashcoders] remove duplicate items in array

2007-05-22 Thread R�kos Attila
Don't you think that you should take into consideration that the length of the array can change during the loop? Attila ABER //loop through items, removing any sitting next to a duplicate ABER for (var i:Number = 0; i myArray.length; i++) { ABER if (myArray[i] == myArray[i+1]) { ABER

Re: [Flashcoders] remove duplicate items in array

2007-05-22 Thread eric e. dolecki
You could prevent duplicates from being placed into the array in the first place. Or http://proto.layer51.com/d.aspx?f=1196 You could rewrite a prototype as a regular function that takes the array as an argument. - eric On 5/22/07, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: hi

Re: [Flashcoders] Coordinates and Stage align in Flexible UIs

2007-05-22 Thread Muzak
- Original Message - From: Kevin Cannon [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, May 22, 2007 3:11 PM Subject: Re: [Flashcoders] Coordinates and Stage align in Flexible UIs Hi, That looks very useful. I've one question though. How is the 'border to

RE: [Flashcoders] remove duplicate items in array

2007-05-22 Thread Munson, Scott
Your function is fine if you want to only remove the 1st occurance of a repeat. However, 3 in a row will be only reduced to 2. I'm guessing that's what's happening to you. In other words, [1,1,2,3,3,4] will properly reduce to [1,2,3,4] with your function. However, [1,1,1,2,3,3,4] will only

Re: [Flashcoders] remove duplicate items in array

2007-05-22 Thread Steven Sacks
From my XArray mixin class (all 3 are needed). /** * Returns a new array by removing duplicate values in Array. */ Array.prototype.uniq = function() { var r = []; var l = this.length; for (var a = 0; a l; a++) { if (!r.has(this[a])) r.push(this[a]);

RE: [Flashcoders] remove duplicate items in array

2007-05-22 Thread Jesse Graupmann
You have it, just decrease the i after any splice. function removeArrayDuplicates ( array:Array ) { var a:Array = [].concat ( array ); a.sort(); for ( var i = 0; i a.length; i++ ) { if ( a[ i ] == a[ i + 1 ] ) a.splice ( --i + 1, 1 ); }

Re: [Flashcoders] remove duplicate items in array

2007-05-22 Thread Allandt Bik-Elliott (Receptacle)
yeh - i started trying to do that but just got myself into a moody bluddle - i'll prolly go back and try to rewrite it a bit cleaner when i'm happy i'll hit deadline here's what i ended up with - var myTempArray:Array = [];

Re: [Flashcoders] remove duplicate items in array

2007-05-22 Thread Allandt Bik-Elliott (Receptacle)
ah yeh - nice thanks :) On 22 May 2007, at 19:06, Jesse Graupmann wrote: You have it, just decrease the i after any splice. function removeArrayDuplicates ( array:Array ) { var a:Array = [].concat ( array ); a.sort(); for ( var i = 0; i a.length; i++ ) {

Re: [Flashcoders] remove duplicate items in array

2007-05-22 Thread Allandt Bik-Elliott (Receptacle)
8o thankyou On 22 May 2007, at 18:56, Steven Sacks wrote: From my XArray mixin class (all 3 are needed). /** * Returns a new array by removing duplicate values in Array. */ Array.prototype.uniq = function() { var r = []; var l = this.length; for (var a = 0; a l;

Re: [Flashcoders] remove duplicate items in array

2007-05-22 Thread Allandt Bik-Elliott (Receptacle)
i could barely read that - it looks ammmaaazing :D thanks eric - when's the next super samurai book coming out? :) On 22 May 2007, at 18:18, eric e. dolecki wrote: You could prevent duplicates from being placed into the array in the first place. Or http://proto.layer51.com/d.aspx?f=1196

[Flashcoders] Q:Create and animate diagonal slices from Bitmap

2007-05-22 Thread moveup
I'm trying to create and animate diagonal slices from a bitmap object. The easiest way to create slices from Bitmaps is via the Rectangle class, but I need diagonal slices. Can this be done via a matrix transform of my bitmap BEFORE I create my slices, or si there an easier way that involves

[Flashcoders]

2007-05-22 Thread Daniel Calderón
Hello.. The present Email is for asking help about a source code I have downloaded from http://www.adobe.com/devnet/flash/articles/video_player.html I have been trying to add some .flv I converted from some of my movies, and I cant find the way in the very all chances I tried, that the

[Flashcoders] help about buttons from xml file.

2007-05-22 Thread Gustavo Duenas
Hi, I'm creating buttons dinamycally using a xml file, this is my code: stop(); menus = new XML(); menus.ignoreWhite = true; menus.onLoad = function(success) { //portfolioTag = this.firstChild; titleMenus = this.firstChild.childNodes.length; menuContent =

Re: [Flashcoders] remove duplicate items in array

2007-05-22 Thread eric e. dolecki
holy wow - super samurai ;) I didn't know many even saw that one... On 5/22/07, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: i could barely read that - it looks ammmaaazing :D thanks eric - when's the next super samurai book coming out? :) On 22 May 2007, at 18:18, eric e.

Re: [Flashcoders] remove duplicate items in array

2007-05-22 Thread Allandt Bik-Elliott (Receptacle)
i had to order it from the states - it was great On 22 May 2007, at 19:58, eric e. dolecki wrote: holy wow - super samurai ;) I didn't know many even saw that one... On 5/22/07, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: i could barely read that - it looks ammmaaazing :D

Re: [Flashcoders] help about buttons from xml file.

2007-05-22 Thread Allandt Bik-Elliott (Receptacle)
are the rest of them dissappearing off the top of the movie (this.buttonsMenu._y=-10*i;)? try using a positive number just to see if they appear On 22 May 2007, at 19:41, Gustavo Duenas wrote: Hi, I'm creating buttons dinamycally using a xml file, this is my code: stop(); menus

Re: [Flashcoders] help about buttons from xml file: solved

2007-05-22 Thread Gustavo Duenas
I've just resolved this, It was in the this.getNextHighestDepth(); . I use the , 10+1 instead of, and voila!!! it works On May 22, 2007, at 2:41 PM, Gustavo Duenas wrote: Hi, I'm creating buttons dinamycally using a xml file, this is my code: stop(); menus = new XML();

[Flashcoders] Conenction Sensing multiple button AS change

2007-05-22 Thread Bennington Purcell
I have a flash projector i use to download files, with help i figured out how to get the system too see if it was online and then download the appropraite file, the actionscript is var result_lv:LoadVars = new LoadVars(); result_lv.onLoad = function(success:Boolean) { if (success) {

[Flashcoders] help with a menu in xml

2007-05-22 Thread Gustavo Duenas
Hi coders, this is thread is the second part of the other. well I have the buttons created and I have this onRelease behavior attached to a every single button, but when I tried to read into a text field part of the xml(text) this one only reads one, not the others and when I traced them ,

RE: [Flashcoders] help with a menu in xml

2007-05-22 Thread Jesse Graupmann
Your problem might be that your buttons are sharing the same scope when attempting to access individual variables. When you do something like: _root.screenTxt.myText_txt1.text=menuTitle+:+textMenu; each button points to the last variable you created in the loop. By attaching the data to the

[Flashcoders] sendandload method fails inside a frameset.

2007-05-22 Thread Rodrigo Augusto Guerra
hi all, I'm having some problems using sendandload method within a html frame. I have an asp page that is a frameset with 2 rows, header and content. the content frame name is principal. Took me some time to discover first of all that I need pass the frame name in the sendandload method, as a

[Flashcoders] Fwd: Timeline label question

2007-05-22 Thread Jeff Chadwell
Hi, I saw something in Colin Moock's book Essential ActionScript 2.0 and I was wondering if someone could explain it. In Chapter 11, he outlines an OOP application framework. In the part where he sets up the timeline in the .fla file, he attaches actions on frames 1, 5 and 15 (these frames are

[Flashcoders] Extends Array ???

2007-05-22 Thread Stepanenko, Nikolai A.
Has anyone been able to get the indexer working by extending Array class? Like Myclass extends Array { ... Constructor and Other needed elements } !!! Usage I am looking for: Myclass[index] One of the properties of the prototype is length. It actually gets set on Myclass during

[Flashcoders] FLVPlayback Component on Limelight

2007-05-22 Thread Lori Hutchek
Hey Everyone, I've been trying to use the FLVPlayback component and our video server provider is Limelight. Has anyone else had issues? Can you point me in the right direction for fix this? THANKS! Lori- ___ Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] FLVPlayback Component on Limelight

2007-05-22 Thread Helen Triolo
Lori, I don't use Limelight and I'm not sure what issues you're having, but if they're running FCS, then these notes that I got from Muzak back when I was trying to get the flvplayback component working with FCS might be helpful: Another important thing to get the FLVPlayback component to

RE: [Flashcoders] Extends Array ???

2007-05-22 Thread Jesse Graupmann
- In your bit of code: Myclass extends Array { ... Constructor and Other needed elements } Myclass[index] I don't think you could ever do that with an array without actually making a new Array (); so to be able to access the array elements that way, try

Re: [Flashcoders] FLVPlayback Component on Limelight

2007-05-22 Thread Lori Hutchek
Thanks Helen, but i have all that stuff setup correctly. At least i think so... I have an app folder named test and my videos are in test/streams/_definst_ As well as the main.asc file sitting in the test folder. I've been able to use the Flash Component with FMS before with this setup

[Flashcoders] Indesign to xml

2007-05-22 Thread yuvarajm
Hi, I want to convert an Indesign document to xml how do I do it? Regards, Yuvaraj Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically

[Flashcoders] problem creating multiple instances

2007-05-22 Thread Bill Mackin
Hello, I'm having a problem with one of my class files. I've created a class to control the animation of a 3D plane, but I am unable to use multiple instances at the same time. I'm not sure what it is that is conflicting. Any ideas would be appreciated. I've attached the class file.

Re: [Flashcoders] problem creating multiple instances

2007-05-22 Thread Bill Mackin
Hello, Looks like the attachment did not go out. I've pasted the Actionscript into this e-mail. Cheers, - Bill /* Simple 3D Plane - v1.0 Created : January 24, 2007 Last Updated :

RE: [Flashcoders] problem creating multiple instances

2007-05-22 Thread David Ngo
Looks like you're attaching your plane to the same MovieClip instance, thus destroying any/all objects that was previously on that MovieClip instance. Depends on how you're instantiating your creationObject. BTW, just a comment on your implementation: I would use a custom class to set properties

Re: [Flashcoders] problem creating multiple instances

2007-05-22 Thread Bill Mackin
This is how I am instantiating the creationObject (below). I believe that if I am passing a different name to the myName property it should create more than one MovieClip instance. I'd love to hear more about your suggestion to use a custom class to set properties instead of a generic