[Flashcoders] take care of if(false), it crash compiler

2007-05-30 Thread iiley
Hi list, For a nightmare of AsWing A3 crashes flex compiler solved, related pages here : http://www.aswing.org/?p=40 and http://www.aswing.org/?p=142 Then i did a test to prove some thing, how flex compiler crashes with a legit syntax, here is the result: If you use if(false) and in it with a

RE: [Flashcoders] [OT] desktop file searching utility

2007-05-30 Thread Tuomas Glad
Maybe you could use Google Desktop with Larry's Any Text File Indexer http://desktop.google.com/plugins/i/indexitall.html. I haven't yet tested it but you can add any text file to it, including as-files. - tuomas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

[Flashcoders] handling list box item Rollover in flash8

2007-05-30 Thread Ravi Marella
Hi all, Is there any way to handle the rollover event on the items present in a flash 8 list box component? What I want to do basically is show a popup text depending on the item that is being currently rolled over. I googled a lot but didn't nothing much useful. I've written the following

Re: [Flashcoders] [OT] desktop file searching utility

2007-05-30 Thread jtgxbass
You can use grep on windows. Install cygwin. On 5/29/07, Hairy Dog Digital [EMAIL PROTECTED] wrote: Windows dude... not Linux! -Original Message- From: jtgxbass [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 2:20 PM To: flashcoders@chattyfig.figleaf.com Subject: Re:

Re: [Flashcoders] [OT] - Job Posting

2007-05-30 Thread Peter B
Hi JC. In the sense that the person required will be working under a senior programmer. Whilst they will need a good knowledge of AS 2 and XML, they won't be responsible for defining the architecture of projects, and will pretty much be told what is required of them, rather than having to

Re: [Flashcoders] handling list box item Rollover in flash8

2007-05-30 Thread Muzak
Look up the List.itemRollOver event. import mx.controls.List; import mx.utils.Delegate; var _list:List; function itemRollOverHandler (o:Object) { trace(Application ::: itemRollOverHandler); trace(- index: +o.index); var item:Object = _list.getItemAt(o.index); trace(- label:

RE: [Flashcoders] Reading GPS data into Flash on a Pocket PC?

2007-05-30 Thread Daniel Portilla Heras
Hi Phil, can you write files in your Pocket with .NET?? I think that you can read then with flash. Another idea it's to make some .NET webform that replys with the GPS data, Flash can make an getURL command that reads from the .NET web page in you Pocket, but I don´t know how you have to

Re: [Flashcoders] E4X not for external XML docs?

2007-05-30 Thread Arul Prasad M L
E4X can be used for external xml files too. Your problem might be a namespace issue I blogged abt a couple of days back ? http://arulprasad.blogspot.com/2007/05/using-as30-with-e4x-for-jabber-iq.html Don't bother about the jabber part in the post, just look for the namespace related details.

[Flashcoders] dynamic text not wrapping

2007-05-30 Thread nik crosina
HI guys, an easy one - I can't get a dynamic text filed to wrapp text around that I am asigning to it with: ' messBox_txt.text = display this really looong sentence ...; ' Using Flash mx 2004 professional. Thanks! Nik ___

Re: [Flashcoders] wrapping excel in Flash?

2007-05-30 Thread Arul Prasad M L
Importing excel data - One thing you can do is, save your excel sheet as a .csv file, and then parse it in Actionscript. password security? If its a web app, you can provide some server level authentication etc. Its very much doable. -- Arul Prasad http://arulprasad.blogspot.com On 5/30/07,

RE: [Flashcoders] [OT] desktop file searching utility

2007-05-30 Thread Hairy Dog Digital
Okay. But, I'm not a mindreader. -Original Message- From: jtgxbass [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 4:42 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] [OT] desktop file searching utility You can use grep on windows. Install cygwin. On

Re: [Flashcoders] E4X not for external XML docs?

2007-05-30 Thread Muzak
Put the trace in the event handler. - Original Message - From: daniel [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, May 30, 2007 5:47 AM Subject: [Flashcoders] E4X not for external XML docs? Hey everyone! I'm using an URLLoader to load a XML configuration

Re: [Flashcoders] [OT] AMFPHP not working with PHP 5.2.2. in Safe Mode

2007-05-30 Thread JulianG
thanks! that fixed it! JG dnk wrote: This is a known issue. Patrick had psted a fix or workaround on his blog. Check it out: http://www.5etdemi.com/blog/archives/2007/05/amfphp-fix-for-php-522-compatibility-issue/ ___

[Flashcoders] how install apollo what I need and what don't

2007-05-30 Thread Gustavo Duenas
Hi Coders I have a mac and this is my case, I have downloaded the apollo flex extension and the runtime, first I installed the flex extension for apollo and then the runtime, well the runtime app doesn't appear in my app folder so I run a search and I find it like an Icon in the frameworks

RE: [Flashcoders] dynamic text not wrapping

2007-05-30 Thread Danny Kodicek
HI guys, an easy one - I can't get a dynamic text filed to wrapp text around that I am asigning to it with: ' messBox_txt.text = display this really looong sentence ...; ' Have you set the wrap property of the field? Danny ___

RE: [Flashcoders] dynamic text not wrapping

2007-05-30 Thread Daniel Portilla Heras
Hi Nik, you must to use dynamic texts build on the fly with actionscript. // Begin Code createTextField(my_txt, 1, 0, 0, 200, 20); with (my_txt) { border = true; borderColor = 0x00; multiline = false; wordWrap = false; autoSize = none; text = this is my first text created

[Flashcoders] Motion usage...flv only?

2007-05-30 Thread Jay Carlson
I've been seeing a lot of flash craziness lately and a lot of it looks like they're using motion effects and particles on buttons and what-not. can you incorporate motion particles (or anything you make in motion for that matter...) into flash 8 w/out it being a flv? I know that you can

Re: [Flashcoders] how install apollo what I need and what don't

2007-05-30 Thread Rene Skou
Well since the runtime should be install because you are gonna need it to run your Apollo app´s i would say that you delete you apollo runtime and install it again or try see faq in adobe labs 2007/5/30, Gustavo Duenas [EMAIL PROTECTED]: Hi Coders I have a mac and this is my case, I have

Re: [Flashcoders] how install apollo what I need and what don't

2007-05-30 Thread Gustavo Duenas
Ok, my bad, I googled the matter and I was completely wrong, I though the apollo app was an application, something in my applications folder to be double clicked and that's it, when it is more like an viewer installer for the apollo applications I could make in my flex builder (once the

Re: [Flashcoders] dynamic text not wrapping

2007-05-30 Thread nik crosina
HI, Danny, no I didn't set the wrap property explicitly in actionScript, but only selected multiline (NOT 'multiline no wrap') in the properties. I should mention that it is a dynamic textfield. Daniel, why do I have to create it multiline and wrap = false, only to set these properties to tru

[Flashcoders] Crossdomain problems

2007-05-30 Thread Gert-Jan van der Wel
Hi list! I'm a developer on the Floorplanner team (check www.floorplanner.com) and I ran into some crossdomain issues. All the furniture elements are separate swf's which are loaded in one by one. For the sake of scalability we are thinking about moving all the furniture swf's to the Amazon S3

[Flashcoders] Are there any classes available for MP3 encoding?

2007-05-30 Thread ben gomez farrell
I've used some of the com.adobe classes for PNG and JPG encoding, and was wondering if there were any similar classes available for MP3 encoding. I should add my disclaimer that I might not understand the make up of a sound file, but I'm assuming that I can go from a byteArray generated by

[Flashcoders] seamless audio loops

2007-05-30 Thread nik crosina
Hi Guys, We are having problems with seamlessly looping audio in Flash - is there a special way of doing this? We are using mp3 and even thought eh audio is perfect (tested in other apps) we can't get it to loop properly without gap! Thanks, Nik ___

[Flashcoders] Help me disect some Flash work please?

2007-05-30 Thread LHWH Interactive
These three presentations really have nothing in common except a couple of things I'm trying to figure out, but haven't ever actually done before, so I'm kinda lost. What I'm most interested in is, how *technically* do they synchronize the sound so well to the animation? I notice that no matter

Re: [Flashcoders] seamless audio loops

2007-05-30 Thread Marc Hoffman
Some MP3's have padding in the headers which causes Flash to hesitate. You probably need to re-encode the MP3's without the extraneous information. Sorry I don't have the exact info, but I know it's been documented and you should be able to Google it. -Marc At 08:08 AM 5/30/2007, you wrote:

RE: [Flashcoders] Crossdomain problems

2007-05-30 Thread Tom Gooding
Hi, To allow scripting across swfs served from different domains the swfs themselves need to set System.security.allowDomain(www.somedomain.com); to permit a parent swf from somedomain.com to call actionscript methods on them. I guess your swfs on amazon will need to run the line above to open

[Flashcoders] AS3/FP9 wheel events and browser behavior

2007-05-30 Thread Adam Mark
I am migrating code from AS2 to AS3 and came across some unexpected browser behavior. The following examples are both running in 9,0,28,0 (IE 7 and Firefox 2). In AS2 (compiled to either v7 or v9), the surrounding web page does NOT scroll while the embedded SWF has focus and captures

RE: [Flashcoders] dynamic text not wrapping

2007-05-30 Thread Daniel Portilla Heras
HI nik again, sorry but these code are of the help and I don't read it so much. These options are for a single-line textfield, that grows infinitely. If you want to use multiline you must to set to true With the autosize you have to take care because, they are a lot of bugs about this property

Re: [Flashcoders] Crossdomain problems

2007-05-30 Thread Gert-Jan van der Wel
Thnx Attila and Tom for your replies. In my test app I allready have a line System.security.allowDomain( floorplanner.nl ). But it seems that is has to be the other way around... all furniture swf's should have the line System.security.allowDomain( floorplanner.com ). Am I understanding you

RE: [Flashcoders] Crossdomain problems

2007-05-30 Thread Tom Gooding
Yes - I have a similar app that loads heavy audio libraries from a regional server - these libraries (the child swfs if you like) need to run the line below. You need to use: System.security.allowDomain( *.floorplanner.com ) If the functions are trivial (changing color etc) you could even do

[Flashcoders] How to obtain html attributes from instanced movieclip

2007-05-30 Thread Gabriel
Hello list, I'm loading a HTML file into a textarea. I see it and everything works just fine. I need to do something like this: img src='imgViewer' id='testmc' *file='miImageFile.jpg'*/ when mi imgViewer class is instanced I get a trace in the constructor, so the class is well instanced.

RE: [Flashcoders] Crossdomain problems

2007-05-30 Thread Daniel Portilla Heras
Hi Gert, two things about your crossdomain.xml, if you put secure=true you gives access to files from another httpS://www.mydomain.com but NO from http://www.mydomain.com (If I'm not confused). And the other thing it's that I didn´t be able to give access to a localhost domain, I had to put

[Flashcoders] test - please ignore

2007-05-30 Thread Nils Millahn
Having some trouble getting messages through - please ignore. thx - Nils. ___ 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

Re: [Flashcoders] Help me disect some Flash work please?

2007-05-30 Thread Mark Winterhalder
I'm a programmer who would be relying on an art department to provide all the media, but I'm just not sure how to set it up... does this make sense? ...and being a programmer is why you don't know how to do it. :) I'm not sure anymore (too much of a programmer that shuns the timeline myself),

[Flashcoders] actionscript bitmap text (no anti-alias)

2007-05-30 Thread Nils Millahn
Hiya, I'm trying to use the Bitmap text (no anti-alias) rendering method with a dynamically created text field but whatever I try, anti-aliasing is applied. Does anybody know how to do it? Thanks in advance, Nils ___

Re: [Flashcoders] seamless audio loops

2007-05-30 Thread Joshua Sera
Try importing the audio as a .wav. I've run into similar problems with MP3s since the dawn of time, and this seems to help. --- nik crosina [EMAIL PROTECTED] wrote: Hi Guys, We are having problems with seamlessly looping audio in Flash - is there a special way of doing this? We are using

[Flashcoders] combo box problem

2007-05-30 Thread Randy Tinfow
We're 6 weeks into our last AS2 project, with about a week left for development. Now we hit what seems like a brick wall. We select an item from the dropdown and it works fine the first time. The second time it works okay. The third time it just stops working. There is apparently a

Re: [Flashcoders] [OT] desktop file searching utility

2007-05-30 Thread jtgxbass
Thats why we have google ;) On 5/30/07, Hairy Dog Digital [EMAIL PROTECTED] wrote: Okay. But, I'm not a mindreader. -Original Message- From: jtgxbass [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 4:42 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] [OT]

Re: [Flashcoders] Crossdomain problems

2007-05-30 Thread R�kos Attila
If your swf to be loaded is located at different domain than the swf, which loads it, then you have no access to the properties, functions, etc. of the loadee from the loader (by default). To allow access to internals of the loadee, call security.allowDomain() in it with the domain name of the

Re: [Flashcoders] how install apollo what I need and what don't

2007-05-30 Thread Muzak
Gustavo, This is Flashcoders, allthough I'm sure there's people here using Apollo, this is not the right place to ask question about Apollo. There's a huge amount of info on the labs site. I suggest you start reading ;-) http://labs.adobe.com/technologies/apollo/

Re: [Flashcoders] [OT] - Job Posting

2007-05-30 Thread Hans Wichman
Hi Peter, ok thanks that was indeed an aspect I overlooked:) Thanks for clearing it up! JC On 5/30/07, Peter B [EMAIL PROTECTED] wrote: Hi JC. In the sense that the person required will be working under a senior programmer. Whilst they will need a good knowledge of AS 2 and XML, they won't

Re: [Flashcoders] Help me disect some Flash work please?

2007-05-30 Thread Muzak
The first one is different from the other 2. First one uses real video, converted to FLV (you can grab the FLV file from your browser cache). Or grab it here: http://www.dv3productions.com/E2IT/E2IT_INTRO_w_audio7.flv The others are more powerpoint-type animations, which you can either create in

[Flashcoders] Actionscript Developers in Central London

2007-05-30 Thread [EMAIL PROTECTED]
Hi, We're currently looking to hire competent Actionscripters for permanent roles to work on gaming applications. Essential skills AS2.0 / OOP Competence with version control (SVN ideally) Good understanding of HTTP comms Dealing with server side XML Optimising graphic performance Desirable

[Flashcoders] OT: Extract flv metadata using php

2007-05-30 Thread Brian Weil
Does anybody know how to extract flv metadata using php(without ffmpeg or other binaries)? I can do it on the client side with flash, but I'm generating playlists via php and I would like to include the duration of the movie in the playlist xml file. Thanks, Brian

[Flashcoders] Using Onload to set global variables for GetURL's

2007-05-30 Thread Bennington Purcell
Okay, i am trying something different. I have one movie that loads other ones, i want to run this connection testing script in the main movie. So i am trying this code loadMovie(g/home.swf, _root.contentMC); // a movie that loads ASAP

[Flashcoders] Drag and Drop

2007-05-30 Thread Lord, Susan Ms. (CONTR)
Hello, I posted this on the newbie's list and didn't get a response, so I figured I would try here. Sorry for the double post for those of you who watch both lists. I have a drag and drop and have an issue. When I roll over one of the other pieces and click the piece stays instead of jumping

Re: [Flashcoders] combo box problem

2007-05-30 Thread Muzak
Explain your setup and maybe show us some code. The combobox should just work. - Original Message - From: Randy Tinfow [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, May 30, 2007 6:29 PM Subject: [Flashcoders] combo box problem We're 6 weeks into our last

Re: [Flashcoders] How to obtain html attributes from instanced movieclip

2007-05-30 Thread R�kos Attila
The id attribute will not be created inside the movieclip symbol as a property - it just gives the name under which the movieclip is accessible in the textfield object (and actually the movieclip's _name property will also hold the value of the id). So if you place your HTML tag in a textfield,

[Flashcoders] Exclusion XML generator

2007-05-30 Thread Lori Hutchek
Hey All, Is there a tool out there that will generate exclusion files? Thanks, Lori- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought

Re: [Flashcoders] Best way to control game character animations

2007-05-30 Thread Frederico Ferro Schuh
Well I figured out the problem, it once more was caused by modifications in the display list during an input event... calling updateAfterEvent() solved all the blinking issues. I'm still getting used to that... seems like it's easy to mess things up if you forget to call it. But I'm glad I can

Re: [Flashcoders] OT: Extract flv metadata using php

2007-05-30 Thread Duncan Reid
I found these while searching for a way to insert cuepoint data into FLV via php, never did get very far though, I have not tried them myself, but if your a php guy i'm sure you will be able to get something useful out of them. http://blog.netxus.es/projects/flv4php looks like an flv module for

Re: [Flashcoders] OT: Extract flv metadata using php

2007-05-30 Thread Glen Pike
http://blog.netxus.es/projects/flv4php Brian Weil wrote: Does anybody know how to extract flv metadata using php(without ffmpeg or other binaries)? I can do it on the client side with flash, but I'm generating playlists via php and I would like to include the duration of the movie in the

Re: [Flashcoders] combo box problem

2007-05-30 Thread Carl Welch
I have the same situation. In mine, I am dynamically generating each screen as the user navigates. It will work on the first screen that a series of comboboxes appear, then on the next screen they show up but don't work. I am completely deleting the movieclip that contains them. Then I build a

RE: [flashcoders] Q: binary data (JPG) in XML

2007-05-30 Thread Ruslan Shestopal
Hi there! Take a look here. http://ink.envisionext.com/docs/base64_to_img.php This is probably what you need. It's CS3 AS3. Text is in Russian, find the source link below -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric e. dolecki Sent: Wednesday,

Re: [Flashcoders] OT: Extract flv metadata using php

2007-05-30 Thread Muzak
Not sure if this reads metadata (it's used for streaming flv through php), but you can check out the source files http://www.flashcomguru.com/index.cfm/2005/11/2/Streaming-flv-video-via-PHP-take-two regards, Muzak - Original Message - From: Brian Weil [EMAIL PROTECTED] To:

Re: [Flashcoders] Help me disect some Flash work please?

2007-05-30 Thread LHWH Interactive
On 5/30/07, Muzak [EMAIL PROTECTED] wrote: The others are more powerpoint-type animations, which you can either create in Flash (using the timeline and streaming sound) So you're on the same page as Mark, above? embed the sound directly into the timeline and just animate around it? When the

RE: [Flashcoders] Are there any classes available for MP3 encoding?

2007-05-30 Thread Ruslan Shestopal
I bet it's possible to dump raw sound wave with computeSpectrum () method. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben gomez farrell Sent: Wednesday, May 30, 2007 5:58 PM To: Flashcoders mailing list Subject: [Flashcoders] Are there any classes

Re: [Flashcoders] seamless audio loops

2007-05-30 Thread Steven Sacks
Import the mp3 into Flash, set it as an event on the timeline with loops and export as SWF and that will loop seamlessly. nik crosina wrote: Hi Guys, We are having problems with seamlessly looping audio in Flash - is there a special way of doing this? We are using mp3 and even thought

Re: [Flashcoders] combo box problem

2007-05-30 Thread Andy Herrman
Any chance you're loading child SWFs and then trying to attach the combo boxes there? I'm running into some very strange behavior when doing that (will be posting about it in the next day or so once I narrow it down some more). -Andy On 5/30/07, Carl Welch [EMAIL PROTECTED] wrote: I have

[Flashcoders] Animated Button Problem

2007-05-30 Thread Steve Abaffy
Hello, I am trying to make an animated button. This is what I have so far. I have a blank button graphic, a blank movie clip for the animation, and a downstate blank button. I make a new symbol (button) In the Up frame I have the blank button graphic and then I put a text box on it and

[Flashcoders] textheight and embedded text

2007-05-30 Thread David Cohn
Hey all, I'm trying to dynamically fit text into a Dynamic TextField by repetitively adding text and checking the textHeight property (I want to add an ellipsis at the end of text which is cut off, so I can't just stuff all the text in there). This works fine, until I embed the

Re: [Flashcoders] combo box problem

2007-05-30 Thread Carl Welch
No, I'm not loading any external swfs. On 5/30/07, Andy Herrman [EMAIL PROTECTED] wrote: Any chance you're loading child SWFs and then trying to attach the combo boxes there? I'm running into some very strange behavior when doing that (will be posting about it in the next day or so once I

Re: [Flashcoders] [OT] AMFPHP not working with PHP 5.2.2. in Safe Mode

2007-05-30 Thread dnk
No worries! I had the same issue too! On 5/30/07, JulianG [EMAIL PROTECTED] wrote: thanks! that fixed it! JG dnk wrote: This is a known issue. Patrick had psted a fix or workaround on his blog. Check it out:

Re: [Flashcoders] dynamic text not wrapping

2007-05-30 Thread nik crosina
thanks Daniel, didn't know it was that involved ... Nik On 5/30/07, Daniel Portilla Heras [EMAIL PROTECTED] wrote: HI nik again, sorry but these code are of the help and I don't read it so much. These options are for a single-line textfield, that grows infinitely. If you want to use multiline

Re: [Flashcoders] seamless audio loops

2007-05-30 Thread Mike Duguid
You can also edit the mp3 frames directly using mp3directcut which can help without having to rencode. http://mpesch3.de1.cc/mp3dc.html On 5/30/07, nik crosina [EMAIL PROTECTED] wrote: Hi Guys, We are having problems with seamlessly looping audio in Flash - is there a special way of doing

Re: [Flashcoders] Animated Button Problem

2007-05-30 Thread Muzak
- Original Message - From: Steve Abaffy [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, May 30, 2007 11:20 PM Subject: [Flashcoders] Animated Button Problem Hello, I am trying to make an animated button. This is what I have so far. I have a blank button

Re: [Flashcoders] seamless audio loops

2007-05-30 Thread Alain Rousseau
You could also try out my looping classes if you want to loop a dynamically loaded mp3 : http://lab.daroost.ca/2007/02/25/sondloop2-revisited-musicbuilder-soundobject/ To loop only 1 sound file use the SoundObject Class, to create a song based on multiple files and looping that new song, use

[Flashcoders] Re: E4X not for external XML docs? (Yay!)

2007-05-30 Thread daniel
Thanks you Arul and Muzak for your help. The problem was the namespace issue, and some of it had to do with simple scope problems. Woo! I love everyone! -- Hey everyone! I'm using an URLLoader to load a XML configuration file. I try to read the XML file using some E4X syntax ([EMAIL

[Flashcoders] problems with getURL and local frame targeting in FP9

2007-05-30 Thread Darren Bowers
I have a two frame page - the left frame is a custom flash Tree object that parses an IMS-compliant manifest (basically a tree menu structure) and the right frame displays the page/object in that manifest. If i run this from a server, it works fine and displays all links in the right frame. But