[Flashcoders] Flex 2 Datagrid/Tabnavigator bug?

2006-03-24 Thread Fredrik Sandberg
Hi, I have some serious problems refreshing content in a Flex2 beta2 datagrid, located inside a tabnavigator. The content consists of mailheaders, and the grid could (of course) contain 0-many mails. The data is captured from a DB, via HTTPService. The datagrid is loaded with: try {

RE: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread Lee McColl-Sylvester
Here here :) Trust me, when you start using it, you'll be amazed... The part I like most is the portability. I can't see any reason you couldn't run haXe from a CD if that's what you wanted. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nicolas

RE: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread Lee McColl-Sylvester
Ruby can handle XML... That's all that's required. If Ruby is all you can handle, then use it. It is more than enough for your needs, but as your programming skills develop (and they definitely will), you'll want a more portable system. Lee -Original Message- From: [EMAIL PROTECTED]

RE: [Bulk] [Flashcoders] Extending a singleton

2006-03-24 Thread
Sorry but that's ridiculous. From: [EMAIL PROTECTED] on behalf of varfooSent: Thu 3/23/2006 5:42 PMTo:Flashcoders mailing listCc: Subject:Re: [Bulk] [Flashcoders] Extending a singleton Hey,It's not considered good practice to use singetons. For reasons why, here'sa

[Flashcoders] upload a file

2006-03-24 Thread Riccardo Roasio
Hi, there is a way to open a Open file dialog box from an swf movie? I need to select a file to upload on the server but i don't want to open an html page to do that... Thanks,Riccardo ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] upload a file

2006-03-24 Thread Lee McColl-Sylvester
Yes, there is... Look up flash.net.FileReference. It's for Flash 8 only, but it will support file browsing and sending... however, you will need to manage the retrieval yourself on the server side. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [Flashcoders] upload a file

2006-03-24 Thread Riccardo Roasio
Do you have an example for this? Thanks,Riccardo Lee McColl-Sylvester wrote: Not really no... In the flash, you use flash.net.FileReference to browse for your file and send the file to the server... But on the server side, you need a standard script, either in PHP or whatever language you want

RE: [Bulk] [Flashcoders] Extending a singleton

2006-03-24 Thread Jim Tann
I agree that singletons can be easily overused but don't think they are redundant. One mans opinion. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Hyndman Sent: 23 March 2006 23:05 To: Flashcoders mailing list Subject: RE: [Bulk]

RE: [Flashcoders] upload a file

2006-03-24 Thread Lee McColl-Sylvester
Sorry, I've never really needed to use it, though there is an example in the Flash help docs. The following example creates a FileReference object that prompts the user to select an image or text file to be uploaded. It also listens for any possible event. import flash.net.FileReference; var

Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread Danny Kodicek
I've written php for years, and only had time to have a little play with ruby so far, but if i was in your shoes, i'd go for RoR, not cake.. Don't mess with it, kids http://www.parliament.the-stationery-office.co.uk/pa/cm199596/cmhansrd/vo960723/text/60723w10.htm#60723w10.html_wqn10 Danny

Re: [Flashcoders] Help with safari

2006-03-24 Thread Paul Evans
On 23 Mar 2006, at 22:37, Marcelo Wolfgang wrote: I've developed a site and I'm having trouble with Mac users, they say that they don't see the site. Can you all there with mac's test it out to me ? I think the problem is with older versions of the plugin ( the site are all exported for flash

RE: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread Lee McColl-Sylvester
I used to use GammaHydroxyButyrate back in my bodybuilding days (don't laugh, it's true). Used to double the effects of some of the other supplements I used. It's safe to take, but some people found it enhanced the effects of hardcore drugs, so it was taken off the market... Well, made illegal.

Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread Danny Kodicek
I used to use GammaHydroxyButyrate back in my bodybuilding days (don't laugh, it's true). Used to double the effects of some of the other supplements I used. It's safe to take, but some people found it enhanced the effects of hardcore drugs, so it was taken off the market... Well, made

[Flashcoders] Flash player for xscale processor

2006-03-24 Thread Mike Mountain
Anyone got the latest information for running the flash player on an xscale processor. Win CE? What version are we up to? Where do I get the installs? Problems, issues? etc The adobe/mm site seems a little vague Cheers M ___

Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread Martin Weiser
?? czech neck? what the heck is that? Kodicek sounds to me as czech surname, are you oriignaly from Czech Rep ? cheers Martin.cz - Original Message - From: Danny Kodicek [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, March 24, 2006

Re: [Flashcoders] A lack of understanding re static methods

2006-03-24 Thread Dave Mennenoh
It doesn't get replaced at compile time at all. It is called in runtime. So if it's not there when it's called it will return undefined. You must make sure that Const is loaded before attempting to access any of it's setters/getters or methods. Called in runtime? I am not understanding

Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread Dave Mennenoh
It's safe to take, but some people found it enhanced the effects of hardcore drugs, so it was taken off the market... Well, made illegal. I think it was more that some people found they could knock out girls with it - (the date rape drug). I'd venture to guess that's why it became illegal.

[Flashcoders] IE vulnerability

2006-03-24 Thread Éric Thibault
How are we going to explain to our clients the new alert box poping up when you talk to a function on the HTML page from Flash Read this : http://isc.sans.org/diary.php?storyid=1212 :o -- === Éric Thibault Programmeur analyste

Re: [Flashcoders] IE vulnerability

2006-03-24 Thread Scott Fanetti
You could always just tell that the IE is a buggy and insecure browser - and that in order to use your application, active scripting must be enabled. If your client balks then tell them IE is vulnerable with any web technology - it is just a piece of crap application. Explain to your client

Re: [Flashcoders] IE vulnerability

2006-03-24 Thread Michael Stuhr
Éric Thibault schrieb: Yes I know but now with IE we have to activate every flash and QT on a site by clicking on it + a pupup to activate script (JS)... A lot for commun users! Is the workaround to write the Flash object inside an HTML page on an onload JS fonction working fine to

Re: [Flashcoders] Help with safari

2006-03-24 Thread Marcelo Wolfgang
Thanks Paul, I've uploaded the playerinstall.swf to the server, can you retest with that config again please ? TIA Grillo On 3/24/06, Paul Evans [EMAIL PROTECTED] wrote: On 23 Mar 2006, at 22:37, Marcelo Wolfgang wrote: I've developed a site and I'm having trouble with Mac users, they say

RE: [Flashcoders] Drag DataGrid columns?

2006-03-24 Thread
I have recently achieved something similar - making DataGrid rows draggable. I use the BitmapData class so the user can see the row they are dragging.. --- On Fri 03/24, Keith Takayesu [EMAIL PROTECTED] wrote: From: Keith Takayesu [mailto: [EMAIL PROTECTED] To:

Re: [Flashcoders] Help with safari

2006-03-24 Thread Paul Evans
On 24 Mar 2006, at 16:15, Marcelo Wolfgang wrote: I've uploaded the playerinstall.swf to the server, can you retest with that config again please ? Ok - now it displays the Macromedia Flash Player Update dialogue... This content requires Macromedia Flash Player 8. Would you like to install

RE: [Flashcoders] Drag DataGrid columns?

2006-03-24 Thread Robert Chyko
Yes, the Enhanced DataGrid handles draggable columns -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Webster Sent: Friday, March 24, 2006 11:10 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Drag DataGrid columns? Keith, I was just

[Flashcoders] AS equation trouble making my own scrollbar

2006-03-24 Thread f a r i d | s i l v a | a b o i d
Hi list, in my poor english i will try to explain my need I made a scroll MC behind a mask, which is controlled horizontally by another MC (such as scrollbar) it works but not so fine, because the scrolling MC don't fit with de slider MC you can see it at

Re: [Flashcoders] A lack of understanding re static methods

2006-03-24 Thread Ian Thomas
HI Dave, It's my understanding that that _should_ work. However, Const.portfolioPath isn't replaced at compile time - Flash has no native understanding of constants. But at runtime, Const.portfolioPath should certainly return your hardcoded path. The only immediate things I can think of which

Re: [Flashcoders] System.Locale

2006-03-24 Thread Ian Thomas
What you want is System.capabilities.language: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=2061.html Sorry for the long URL - that's livedocs for you! HTH, Ian On 3/24/06, Robert Chyko [EMAIL PROTECTED] wrote: Regarding

[Flashcoders] draws and regions

2006-03-24 Thread riccardo.roasio
I have a big (for me) problem, i have a grpah made of a series of point (of one pixel). I need taht the user can draw a series of line on this graph to make a shape or region. This is the first problem: how to permit to the user to draw... The second is this one : there is a way to check if a

RE: [Flashcoders] System.Locale

2006-03-24 Thread Robert Chyko
Thanks Ian. This is pretty much what I need except actual Locale would be better (only because it doesn't differential en-us from en-uk). But apparently that is what they did away with in Flash Player 7, according to the docs: In Flash Player 6 on the Microsoft Windows platform,

RE: [Flashcoders] System.Locale

2006-03-24 Thread Francis Cheng
Re: the long livedocs links: that was one of the first enhancement requests we received, so now at the bottom of every livedocs page you will find a more user-friendly link (look for the text Current page: http://...;). For example, the page you mention is:

[FlashCoders] BitmapData.dispose()

2006-03-24 Thread Dimitrios Bendilas
Hello, Quick question. private function createBitmap():Void { var bitmap:BitmapData = new Bitmap(200, 200, false, 0xFF); clip.attachBitmap(bitmap, 0); } If I never execute .dispose() on the bitmap, does it remain in memory? It seems logical to me that it remains there only until the

Re: [FlashCoders] BitmapData.dispose()

2006-03-24 Thread André Nachtigall Tessmann
Hello, It looks that the garbage collector deal different with BitmapData objects. You can easily use some Gigabytes of memory putting this code in some onEnterFrame loop for example. You can find more about this issue on Grant Skinner blog...it was discussed there a time ago.

Re: [FlashCoders] BitmapData.dispose()

2006-03-24 Thread Ing. Mario Falomir
Yes, BMP Obj remains in memory, you need to have a reference to that Object so you can dispose it later. import flash.display.BitmapData; var bitmap:BitmapData; function createBitmap():Void { bitmap = new BitmapData(500, 500, false, 0xFF); _root.attachBitmap(bitmap, 0); } clickObj =

Re: [FlashCoders] BitmapData.dispose()

2006-03-24 Thread elibol
bitmapData remains in memory, even when the bitmapData objects refrence count reaches zero, in which case, dispose() can no longer be called on the bitmapData object, causing memory leak. There is more on this subject, you should find more information on it searching google, the flashcoders

[Flashcoders] troubles with 'Google searchbox'

2006-03-24 Thread MetaArt
I'm inserting a 'Google searchbox' in a full-Flash website; my needs, is to set three search chances: on Google, on Google scholar or on Google print. But, just with this last, I have some troubles. This is my AS: Inside a mc, I have an input textfield, called 'query'. In the (only) frame of mc, I

RE: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread Ettwein, Josh
It was also the only way to get a safe buzz when going out with friends at a party if you were training and couldn't have alcohol. Not saying it was smart... It is really safe though when used properly, like anything else. :) It was legal, and OTC till 1990... -Original Message- From:

Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread ryanm
'It influences a part of the brain called Shatner's Bassoon' I'm stealing that. :-P ryanm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [FlashCoders] BitmapData.dispose()

2006-03-24 Thread Dimitrios Bendilas
Thank you all guys. I think this makes it rather difficult to deal with if you use bitmaps a lot. I've built a complex RasterText class that works with bitmaps and in some cases it's very useful to render the text, get the resulting bitmap and then destroy the RasterText instance. The bitmap

Re: [Flashcoders] IE vulnerability

2006-03-24 Thread John Dowdell
Éric Thibault wrote: How are we going to explain to our clients the new alert box poping up when you talk to a function on the HTML page from Flash Read this : http://isc.sans.org/diary.php?storyid=1212 There's been a good amount of discussion of this issue already on FlashCoders,

[Flashcoders] Beware of depth 9876

2006-03-24 Thread Eskil Janson
I suppose this has been discussed a few times already, but if not: When you use the Tween class, an Instance of the Class mx.transitions.OnEnterFrameBeacon is created if not already existing. In that Class the following line is executed: var mc = _root.createEmptyMovieClip

[Flashcoders] Flash and Servlet

2006-03-24 Thread Tarun Abhichandani
Hi: Really new to Servlet and Flash functionality. So, the doubt may seem basic. Any help would be great. I am trying to call a Java Servlet that supports doPost method. It uploads an XML file on the application server and names that file based on certain details (userid, etc). I can

RE: [Spam][Flashcoders] Flash and Servlet

2006-03-24 Thread Scott Hyndman
With LoadVars, you dynamically assign a property So basically, var lv:LoadVars = new LoadVars(); lv.xmlContents = xmlString; lv.sendAndLoad(...); The doPost method will be passed the request containing the xmlContents variable. Scott -Original Message- From: [EMAIL PROTECTED] on

RE: [Spam][Flashcoders] Flash and Servlet

2006-03-24 Thread Scott Hyndman
Just so you know, XML.sendAndLoad() maybe more appropriate for what you are doing. http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary856.html Scott -Original Message- From: [EMAIL PROTECTED] on behalf of Tarun Abhichandani Sent:

RE: [Spam][Flashcoders] Flash and Servlet

2006-03-24 Thread Tarun Abhichandani
Well...considering I have a XML file. This string might be really long. I will have to set the Content-length ot a high number I guessAm I right? Thanks, Tarun From: [EMAIL PROTECTED] on behalf of Scott Hyndman Sent: Fri 3/24/2006 12:31 PM To: Flashcoders

RE: [Spam][Flashcoders] Flash and Servlet

2006-03-24 Thread Scott Hyndman
In Flash you mean? No need. All parts of the request will be filled out for you by Flash. Just set your variable, and call the method. :) In fact, on the servlet side I don't think it's even necessary to specify content-length all the time (just so you know). Scott -Original Message-

RE: [Flashcoders] System.Locale

2006-03-24 Thread Francis Cheng
We changed it as of Flash Player 7 because the locale isn't really a language setting, it only deals with formatting of dates, times, etc., so it was misleading to call it System.capabilities.language. Moreover, there was no way in Flash Player 6 to get information about the actual localized OS

[Flashcoders] array of movieCLip

2006-03-24 Thread riccardo.roasio
If i create n movieclip with the createEmptyMovieClip giving to anyone a different name is possible to know the x and y value from another function? To me seem no , if i create for example 10 movie clip and in another function i write trace(x : +movieclip1._x) trace(y : +movieclip1._y)

RE: [Flashcoders] array of movieCLip

2006-03-24 Thread Merrill, Jason
If you have your scope right - it shouldn't be any problem. Are you sure the instance names of the movie clips are correct? Are you sure the path to the movie clips are correct? theMovieClipInstance._x always equals the x position of the movie clip, no matter how it was created. Jason Merrill

RE: [Flashcoders] array of movieCLip

2006-03-24 Thread riccardo.roasio
I tryed to trace the movieclip ?width and height properties and it works, but if i try with x and y it write 0 ... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] array of movieCLip

2006-03-24 Thread Byron Canfield
The initial coordinates of a dynamically created movieclip are always 0. Unless you have explicitly assigned a new value to the _x property of a dynamically created movieclip, it will be zero. -- Byron Barn Canfield If i create n movieclip with the createEmptyMovieClip giving to anyone a

RE: [Flashcoders] System.Locale

2006-03-24 Thread Robert Chyko
Thank you for the information Fracis - I have submitted a Feature Request. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francis Cheng Sent: Friday, March 24, 2006 4:01 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] System.Locale We

RE: [Flashcoders] array of movieCLip

2006-03-24 Thread riccardo.roasio
I found the problem... i solve it adding the .x and .y properties to every movieclip and passing them the movie clip position. In this way i can retrieve these values with movieclip.x and movieclip.y ___ Flashcoders@chattyfig.figleaf.com To change

RE: [Flashcoders] array of movieCLip

2006-03-24 Thread Merrill, Jason
With mc.x or mc._x? Try mc._x It works, try it again. You also might consider posting some code so we can see what you're trying to do. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL

RE: [Flashcoders] array of movieCLip

2006-03-24 Thread Merrill, Jason
Byron's right, I was assuming since that is the case you had already moved the movie clip and was polling what the new X and Y values were. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL

Re: [Flashcoders] Beware of depth 9876

2006-03-24 Thread Michael Stuhr
Eskil Janson schrieb: I suppose this has been discussed a few times already, but if not: hadn't heard of that, and i'm sure it wasn't already discussed on this list. thanks for the info. micha ___ Flashcoders@chattyfig.figleaf.com To change

[Flashcoders] save as bitmap

2006-03-24 Thread riccardo.roasio
Hi, there is the possibility to save a movie as a Bitmap? Something like printAsBitmap but that permit to save as image or to copy as image? Thanks,Riccardo ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

Re: [Flashcoders] Beware of depth 9876

2006-03-24 Thread Michael Bedar
In general it is a good idea not to work on the root level for anything making movieclips... much better to create a container clip first on root and play in that. On Mar 24, 2006, at 2:53 PM, Eskil Janson wrote: I suppose this has been discussed a few times already, but if not: When