[Flashcoders] [slightly OT] Somebody could confirm this please?

2007-07-06 Thread Leonardo Scattola - New Vision srl
http://www.appleinsider.com/articles/07/07/05/mossberg_apple_working_on_adobe_flash_support_for_iphone.html It would be a very nice thing... but if the iPhone could support the NetStream and NetConnection classes natively, thus permitting us to download / upload a live video stream, it would

Re: [Flashcoders] [slightly OT] Somebody could confirm this please?

2007-07-06 Thread Muzak
Response from Matt Chotin, Flex product manager on similar question asked on FlexCoders http://tech.groups.yahoo.com/group/flexcoders/message/80101 regards, Muzak - Original Message - From: Leonardo Scattola - New Vision srl [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent:

[Flashcoders] breaking up long actions

2007-07-06 Thread Hans Wichman
Hi list, I'm running a process on a tree of objects that require lots of objects to be created. This takes somewhere around 300ms on my pc, and will usually be run as the swf starts or as all classes have been loaded. 300ms is enough for a stutter let alone when its run on slower pc's so I want

[Flashcoders] least to greatest

2007-07-06 Thread Corban Baxter
Hey all I have a list of 10 numbers that I need to push into and array from least to greatest fairly often. What would be the fastest way to get this accomplished? Or maybe just anyway to get this done would be a great help thanks. -- Corban Baxter http://www.projectx4.com

Re: [Flashcoders] breaking up long actions

2007-07-06 Thread Mark Lapasa
Do you really need to have all the objects running in memory at runtime? If it's really really big, you might want to offload those objects to the backend and modify your current solution into one that paginates only what is needed. Are we talking like 10,000+ objects? Hans Wichman

RE: [Flashcoders] least to greatest

2007-07-06 Thread Steve Abaffy
I am not sure if there is a sort method for arrays such as Array.Sort(direction) if such a function does not exists then you can always write a quick bubble sort function. function bubblesort(ArrayName){ changesmade = true; for(y = 0; y ArrayName.Length; y++{

[Flashcoders] Flash CS3 - Strange Error: 5005: Unknown error optimizing byte code

2007-07-06 Thread Ashvin Savani
Hello flashcoders, I am facing strange problem since long time. This error code even doesn't exist in the list of error codes. This is the exact error I am getting while I compile the FLA from flash CS3. Location : , Line 1 Description : 5005: Unknown error optimizing byte code. Source : I

Re: [Flashcoders] breaking up long actions

2007-07-06 Thread Hans Wichman
Hi Ben, tnx for the example, too bad setInterval in itself does not make content run in the background or my life would be a lot easier:). The problem is in the breaking up, but I think I got it figured now. thanks again JC On 7/6/07, Smeets, Ben [EMAIL PROTECTED] wrote: Hi Hans, The way I

[Flashcoders] Fullscreen problem

2007-07-06 Thread Izaias / Grafikonstruct
Hi everyone! I have created a website with fullscreen option, using the follow code: Stage.displayState = fullScreen (To enable fullscreen version) Stage.displayState = normal (to back normal view) But I have a big problem: My website have a form with some editable fields, and if I click in

RE: [Flashcoders] least to greatest

2007-07-06 Thread Holth, Daniel C.
The array class in Flash has a sort numeric (least to greatest) feature: var myArray:Array = new Array(); myArray.push(5); myArray.push(1); myArray.push(65); myArray.push(3); myArray.push(56); myArray.push(9); myArray.push(-2); myArray.push(44); myArray.push(7); myArray.push(8);

Re: [Flashcoders] least to greatest

2007-07-06 Thread Corban Baxter
thanks for all the help guys. I am going to play with sort and see if I can't get this to work. On 7/6/07, Steve Abaffy [EMAIL PROTECTED] wrote: I am not sure if there is a sort method for arrays such as Array.Sort(direction) if such a function does not exists then you can always write a quick

Re: [Flashcoders] breaking up long actions

2007-07-06 Thread Hans Wichman
Hi, well it might be somewhere around that yes, and Im afraid I need them in memory at runtime:) greetz JC On 7/6/07, Mark Lapasa [EMAIL PROTECTED] wrote: Do you really need to have all the objects running in memory at runtime? If it's really really big, you might want to offload those

RE: [Flashcoders] least to greatest

2007-07-06 Thread Durai Raj
Hey You can push the numbers by using Array.push(The number). After that if you need to arrange that elements in a array you need to sort that array using array. sort(2) where 2 is the options number for sorting which represents descending Durai www.expertbuddy.net -Original Message-

[Flashcoders] test email please ignore.

2007-07-06 Thread Ashvin Savani
Best Regards, Ashvin Savani - arckid Founder CTO - Avinashi.com Adobe Community Expert We Never Give Up! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] clearing position and duration of a sound object

2007-07-06 Thread nik crosina
Hi, Is it possible to reset or clear the duration and position of a sound object once it has completed playback. When I am loading a new sound that is longer than the previous one, the position continous from the end point of the previous sound and then is simply not updated further when it

RE: [Flashcoders] breaking up long actions

2007-07-06 Thread Smeets, Ben
It doesn't break things in pieces for you but (I might get the problem the wrong way ;) ) that's the easy part isn't it? The interval does let you create/parse/edit large datasets without distorting the flow of the swf (the animation isn't distorted). -Original Message- From: [EMAIL

Re: [Flashcoders] Keeping XML Objects

2007-07-06 Thread Jer Brand
I started to come to the same conclusion while writing the previous post -- why use XML if you don't have to. It would probably be better just to create a serialized object directly from the database and deserialize that in Flash. XML's always been the standard, and frankly when starting an app

Re: [Flashcoders] breaking up long actions

2007-07-06 Thread elibol
I'm not sure you can interrupt the loop without modifying your code a little bit... I'm also not sure what the most suitable solution would be given your code structure, but I would say the cleanest way to do this is to break the loop out into a function that takes a parameter for the amount of

Re: [Flashcoders] least to greatest

2007-07-06 Thread elibol
Assuming you have something like this: var list:String = 7,60,5,9,11,13,1; var listArr:Array = list.split(,); listArr.sort(); That should do it. On 7/6/07, Corban Baxter [EMAIL PROTECTED] wrote: Hey all I have a list of 10 numbers that I need to push into and array from least to greatest

RE: [Flashcoders] breaking up long actions

2007-07-06 Thread Smeets, Ben
Hi Hans, The way I used to fix it, was indeed by using some sort of interval solution. Only to break up the loop in more parts so the animations won't get bothered with it. I have an example online at http://www.bensmeets.com/2007/04/09/using-threads-inside-flash/ (download the zip, it contains

Re: [Flashcoders] swap depths with mask

2007-07-06 Thread elibol
Call something like this after you do the swap: targetMC.setMask(maskMC); This will reset the mask. Masking is tricky business. You cannot mask more than one thing. I mention this in case you are using swapDepths to try and cover more movieclips with your mask - it will not work... I don't

Re: [Flashcoders] Fullscreen problem

2007-07-06 Thread eka
Hello :) no solution for the moment for your problem :) The fullscreen mod disabled the input fields.. Adobe implement this restriction but i don't know why ? EKA+ :) 2007/7/6, Izaias / Grafikonstruct [EMAIL PROTECTED]: Hi everyone! I have created a website with fullscreen option, using the

RE: [Flashcoders] least to greatest

2007-07-06 Thread Dave Burnett
Put them in the array as is and then use Array.Sort()? Dave From: Corban Baxter [EMAIL PROTECTED] Reply-To: flashcoders@chattyfig.figleaf.com To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] least to greatest Date: Fri, 6 Jul 2007 08:50:20 -0500 Hey all

Re: [Flashcoders] Fullscreen problem

2007-07-06 Thread Muzak
Tried the docs? http://livedocs.adobe.com/flash/9.0/main/2149.html quote While Flash Player is in full-screen mode, all keyboard input is disabled (except keyboard shortcuts that take the user out of full-screen mode). /quote regards, Muzak - Original Message - From: Izaias /

Re: [Flashcoders] Fullscreen problem

2007-07-06 Thread Jer Brand
I'm pretty sure that was a limitation of Full Screen in the docs. I haven't tried it yet, but if you're desperate to keep the full screen, you might see if you can use a Key listener to capture keyboard input and set the text of the text field. If the form's very complex, you may have to

Re: [Flashcoders] Controllingt he volume of multiple sound objects at the same time

2007-07-06 Thread R�kos Attila
Sound objects associated with the same movie clip share their properties (volume, etc.), so if you change the volume through one of them, the change will be reflected by others, too. That is because in fact sound properties belong to movie clips and not the Sound objects, and Sound objects only

Re: [Flashcoders] Fullscreen problem

2007-07-06 Thread Jer Brand
And confirmed you can't get around it with a onKeyDown listener. Everything but Esc appears to be locked out. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Controllingt he volume of multiple sound objects at the same time

2007-07-06 Thread gluedanny
That is just what i am lookig for eka thanks so much :) Enjoy yr weekend! Danny Hello :) in my opensource framework (VEGAS) i use a SoundLibrary class to manage my sounds... http://svn.riaforge.org/vegas/AS2/trunk/src/andromeda/media/SoundLibrary.as Exemple : {{{ import

RES: [Flashcoders] Fullscreen problem

2007-07-06 Thread Izaias / Grafikonstruct
Yes Muzak, I did see it now. Thank you so much! Izaias -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Muzak Enviada em: sexta-feira, 6 de julho de 2007 12:40 Para: flashcoders@chattyfig.figleaf.com Assunto: Re: [Flashcoders] Fullscreen problem Tried the

Re: [Flashcoders] Controllingt he volume of multiple sound objects at the same time

2007-07-06 Thread eka
Hello :) in my opensource framework (VEGAS) i use a SoundLibrary class to manage my sounds... http://svn.riaforge.org/vegas/AS2/trunk/src/andromeda/media/SoundLibrary.as Exemple : {{{ import andromeda.media.SoundLibrary ; var lib:SoundLibrary = new SoundLibrary() ; lib.addSound( sound_1 )

Re: [Flashcoders] breaking up long actions

2007-07-06 Thread Hans Wichman
Hi, well it's easy if you have a single for loop:), I had a deeply nested tree, but I'm flattening it out now using a stack of nodes to process. So the interval itself doesnt really allow you to edit large datasets, it allows you to edit lots of little ones:). tnx again JC On 7/6/07,

Re: [Flashcoders] Controllingt he volume of multiple sound objects at the same time

2007-07-06 Thread Marc Hoffman
Yes, but he has created a separate Sound object for each sound (sound1 and sound2), so he's fine in that respect. What would make this simpler, however, is to write a function that creates the sound objects based on the array, while also storing the initial volume for each sound. Here's an

[Flashcoders] Bitmap.draw versus MovieClipLoader

2007-07-06 Thread Fruber Malcome
I have a few copies of a downloaded image in memory to support various drag functions and would like to save some bandwidth. Obviously duplicateMovieClip won't work because it doesn't work on dynamically created clips that use LoadMovie. So I was thinking that I could use the new MovieClipLoader

[Flashcoders] Cache issues on CS3

2007-07-06 Thread ntasky
Hi :) don't know if it has been discussed earlier, couldn'T make any search. Anyway i've just installed CS3 on Vista and flashdevelop (FD3 beta2) , and i've got cache issues that i never got with flash 8. I'm working locally and even the ASO clear cache command doesn't work. When i do changes

[Flashcoders] Multiline Issue

2007-07-06 Thread Jeff Kemp
Anyone ever have an issue using multiline textbox where the second line of copy was just writing on top of the first line? Just like the leading was set to zero. Going crazy with this. Thanks! Jeff. ___ Flashcoders@chattyfig.figleaf.com To

Re: [Flashcoders] Multiline Issue

2007-07-06 Thread eric e. dolecki
can we see code? -- eric e. dolecki senior interactive engineer http://www.ericd.net On 7/6/07, Jeff Kemp [EMAIL PROTECTED] wrote: Anyone ever have an issue using multiline textbox where the second line of copy was just writing on top of the first line? Just like the leading was set to zero.

RE: [Flashcoders] Multiline Issue

2007-07-06 Thread David Ngo
Have you tried setting wordWrap/autoSize to true? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Kemp Sent: Friday, July 06, 2007 1:29 PM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Multiline Issue Anyone ever have an issue using

[Flashcoders] Sandbox Security Violation - using Bitmap.draw

2007-07-06 Thread Fruber Malcome
I'm having some real problems here and can't figure out the solution, maybe there's been so many solutions that google can't seem to locate the proper one. If anyone can help, please let me know. I dynamically load images into movieclips (these images are all over the web). I use

Re: [Flashcoders] Bitmap.draw versus MovieClipLoader

2007-07-06 Thread mike . nowak
It seems that calling bitmap.draw on a movieclip that has a downloaded image forces another download - I haven't veified this via netmon (yet) - but notice that a sandbox security violation occurs when call that function. To me that doesn't make sense, If I already gave it permission to use

RE: [Flashcoders] Bitmap.draw versus MovieClipLoader

2007-07-06 Thread Fruber Malcome
Perfect it told me exactly what I needed, but I'm not sure I understand why Macromedia (not adobe in this case) went in that direction - are they trying to protect pixel access for third party images? So I can load any image I want from anywhere, but the second I need to access the pixels (e.g.

Re: [Flashcoders] Fullscreen problem

2007-07-06 Thread Matthias Dittgen
but why? ___ 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

[Flashcoders] assetpropflags

2007-07-06 Thread Hans Wichman
Hi folks, I wrote some info on ASSetPropFlags a while back and a wrapper class allowing you to forget all about it. Its based on the osflash info, info on the net and various tests. Code is mtasc strict compatible. I couldn't find any information that was *completely* correct and

RE: [Flashcoders] Bitmap.draw versus MovieClipLoader

2007-07-06 Thread Fruber Malcome
Is there a way to proxy image data? I know for XML, it's a simple matter of createing a Microsoft.XMLHTTP object (in ASP/VBScript) and redirecting the information into the response object. Anyone know the object for an image and/or other HTML page? (e.g. Microsoft.HTML?? ) thanks - Fruber

Re: [Flashcoders] WebServices support in AS3/FLCS3

2007-07-06 Thread Austin Kottke
John, Thanks for the update. This is a very important issue to resolve. Tree component would be nice to see as well Best, Austin John Dowdell wrote: Enrique Chávez wrote: What happened with the webservices classes in AS3/Flash CS3? i can't believe they are gone. I asked Product

Re: [Flashcoders] WebServices support in AS3/FLCS3

2007-07-06 Thread Derek Vadneau
Thanks for looking into this John and passing along the info. I haven't used the WebServices classes myself for quite a while, but, obviously, there has been quite an outpouring of comments regarding their non-appearance in Flash CS3 (AS3). It's good to hear about any developments on this

Re: [Flashcoders] Bitmap.draw versus MovieClipLoader

2007-07-06 Thread Zeh Fernando
Is there a way to proxy image data? I know for XML, it's a simple matter of createing a Microsoft.XMLHTTP object (in ASP/VBScript) and redirecting the information into the response object. Anyone know the object for an image and/or other HTML page? (e.g. Microsoft.HTML?? ) You can 'proxy' any

[Flashcoders] Error Question AS3

2007-07-06 Thread hermit
Flash CS3 Pro Win XP Example from http://www.adobe.com/designcenter/video_workshop/ When trying to use the copy/paste animation from testBox to testCircle using Edit/Timeline/Copy Motion As ActionScript 3 I'm getting these errors when testing: 1046: Type was not found or was not a compile-time

RE: [Flashcoders] SWF Working differently from SWF Player versus IE.

2007-07-06 Thread Mark R. Jonkman
It sounds like you are encountering a security sandbox issue. Do all the files exist on the same server and same domain? I believe that unless explicitly granted permission, swfs/bitmaps from different domains (subdomains) are blocked from reading each other's pixel data. Sincerely Mark R.

RE: [Flashcoders] SWF Working differently from SWF Player versus IE.

2007-07-06 Thread Fruber Malcome
Yep, that was the issue, I'm trying to figure out how to proxy it now, Zeh was able to provide me a link to a PHP script that I may be able to modify to VBScript to proxy image data. I already have an XML proxy that serves the same purpose, but it seems like a nearly impossible task for image data

[Flashcoders] Seeking Experienced Developer for Connecting Flash to Databases with Java

2007-07-06 Thread Phil Dupré
Hello, I'm working on a really sweet project and need some help from a fellow freelaner. If you are knowledgable in connecting Flash to databases (esp. Oracle) with Java, please contact me. Perhaps you can give me some pointers and or work with me as a consultant. Thanks for your help. Kind

Re: [Flashcoders] WebServices support in AS3/FLCS3

2007-07-06 Thread Muzak
AFAIK, there are no technotes on this issue (and related issues like Flash Remoting) or they're well hidden somewhere ;-) The issue has come up here before.. And here's are some (unanswered) topics on the Adobe Flash Forums about webservices and remoting

Re: [Flashcoders] WebServices support in AS3/FLCS3

2007-07-06 Thread John Dowdell
Update: Getting info from Flash Authoring was difficult because much of the team was travelling to Tokyo for customer visits. I'll expand the request list tonight. The forums links and technote statements were useful, thanks. jd -- John Dowdell . Adobe Developer Support . San Francisco

RE: [Flashcoders] Bitmap.draw versus MovieClipLoader

2007-07-06 Thread Fruber Malcome
I was using something like this for XML, but this gave me a really nice idea. I did find that Adobe had a much simpler version of the php file (two lines of code), that performed the same task. I decided to write an aspx page to perform the same task and to handle any type of page information.

Re: [Flashcoders] Error Question AS3

2007-07-06 Thread Charles Parcell
I have no answer for you. But I can say that I too am getting those errors, but in a completely different application. I have written a class and am trying to instantiate it from my Main document class. The code seems to be correct, yet I am getting this error. I will keep watching this thread

Re: [Flashcoders] Error Question AS3

2007-07-06 Thread Helmut Granda
http://www.google.com/search?hl=enq=1046%3A+Type+was+not+found+or+was+not+a+compile-time+constant On 7/6/07, Charles Parcell [EMAIL PROTECTED] wrote: I have no answer for you. But I can say that I too am getting those errors, but in a completely different application. I have written a class

[Flashcoders] Re: Seeking Experienced Developer for Connecting Flash to Databases with Java

2007-07-06 Thread gchen
Phil Dupré wrote: Hello, I'm working on a really sweet project and need some help from a fellow freelaner. If you are knowledgable in connecting Flash to databases (esp. Oracle) with Java, please contact me. Perhaps you can give me some pointers and or work with me as a consultant. Thanks

Re: [Flashcoders] Re: Seeking Experienced Developer for Connecting Flash to Databases with Java

2007-07-06 Thread Phil Dupré
Hi. Thanks for the advice. Would this socekt work for Java? My client doesn't use MySQL. They reccommend Java and XML. Thanks. ~Phil On 7/6/07, gchen [EMAIL PROTECTED] wrote: Phil Dupré wrote: Hello, I'm working on a really sweet project and need some help from a fellow freelaner.