Re: [Flashcoders] variable with # sign

2008-02-21 Thread Martin Klasson
this[f#31] = "TEXT:Email%20Address"; This could work for you I guess, it wont give you a compiler error, but I would revise the code since I wouldnt suggest this "ugly" solution. If you could show more code on how you are sending the data, as well as what Flash Player version you are targeting th

Re: [Flashcoders] variable with # sign

2008-02-21 Thread [EMAIL PROTECTED]
Thanks for getting back to me. I'm targeting Flash Player 8. Essentially, I am creating an HTML form in Flash, but I'm running into trouble because the form refers to database field names with symbols I can't place in a variable name and I need to pass the variable name with the data. The

RE: [Flashcoders] variable with # sign

2008-02-21 Thread Jesse Graupmann
How are you "passing" the variable to an email form? You typically never NEED to create a funky variable name if creative string solutions could do the job. How about something like "f_31" until you have to package it up to send? And how does the end process know the variable name? var str:String

Re: [Flashcoders] variable with # sign

2008-02-21 Thread Muzak
What your database looks like and variable names in your Flash application, have (and shouldn't have) no impact on each other. Afterall, you'll be sending/loading data through some script/webserver/remoting, so you can *massage* your data before sending it to Flash and vice versa. So saying th

[Flashcoders] 8-Bit Grayscale Bitmap as AlphaBitMap

2008-02-21 Thread Elia Morling
Hi! I have an 8 bit grayscale bitmap saved as 8-PNG. I want to use that bitmapdata as an alpha, but I have no success. What conversions do I need to do, cause obviously I cant use it in copypixels directly as the alphabitmapdata. Thanks Elia ___ Flas

Re: [Flashcoders] variable with # sign

2008-02-21 Thread [EMAIL PROTECTED]
Thanks everyone. I couldn't get it to work in Flash, so I hid a form in my HTML wrapper, passed the user input data to it with a Javascript function and then sent it to the server through another Javascript call. Probably could be cleaned up, but it works. Thanks again. -A function flashTxt(

[Flashcoders] Erasing part of a mask

2008-02-21 Thread Paul Steven
I am trying to create a simulation of shaving off a beard with an electric razor and could do with some advice. My current solution is to have a movie clip with the clean face on top of the one with the beard and use a mask to allow me to reveal parts of the clean face. So initially none of the cl

RE: [Flashcoders] variable with # sign

2008-02-21 Thread Rob Emenecker
Hi Alex, I'm very confused by this. A variable name in Flash is not what you would necessarily push to the database anyway. You would push a string, number, or other primative, not the internal variable name itself. ...Rob ___ Flashcoders mailing list

Re: [Flashcoders] variable with # sign

2008-02-21 Thread Glen Pike
It sounds like your server side code is putting stuff straight into the database from your form. If you are doing this, then please stop - THIS IS BAD... 1, you are maybe not checking your data from the form for dodgy stuff. 2, you are probably allowing the form to specify what fields in the d

Re: [Flashcoders] 8-Bit Grayscale Bitmap as AlphaBitMap

2008-02-21 Thread Zeh Fernando
BitmapData.copyChannel() Elia Morling wrote: Hi! I have an 8 bit grayscale bitmap saved as 8-PNG. I want to use that bitmapdata as an alpha, but I have no success. What conversions do I need to do, cause obviously I cant use it in copypixels directly as the alphabitmapdata. Thanks Elia _

RE: [Flashcoders] CDROM XML search

2008-02-21 Thread Merrill, Jason
First questions to get out of the way is which version of Actionscript and potentially how much data (in k)? Jason Merrill Bank of America GT&O L&LD Solutions Design & Development eTools & Multimedia Bank of America Flash Platform Developer Community Are you a Bank of America associate in

[Flashcoders] CDROM XML search

2008-02-21 Thread Glen Pike
Hi, I have been asked to look at a search facility for a CDROM project. The customer is archiving magazines, 1 a month, for a decade per CD and wants a simple search engine. The magazines will be archived as scanned images plus XML data containing page text content. Loading in

Re: [Flashcoders] CDROM XML search

2008-02-21 Thread Glen Pike
The system can use AS3 - as it is a CDROM. I asked about the data size - at the moment, a sample XML file, generated by an automatic tool is about 500k, gulp. That means, 6MB per year, 60MB per decade at the moment. I have asked to see the file, because there may be a lot of rubbish that can

RE: [Flashcoders] CDROM XML search

2008-02-21 Thread Rob Emenecker
Glen, You might want consider structuring the XML as a faux relational database... #1) full text #2) keyword index and frequency #3) titles, volume, number, etc. During search, you only have to trawl through #2, which would have cross-ref IDs for numbers 1 and 3. Then pull #1 for presentation pur

RE: [Flashcoders] CDROM XML search

2008-02-21 Thread Merrill, Jason
So will the file be 500k and not more or do you mean it could grow to 6mb or 60 mb? If so, you definitely don't want to have all of this in one file, perhaps even with 500k. I had troubles in AS2/FP8 parsing 250k files occassionally, but FP9 may be better at handling larger XML files and parsing

[Flashcoders] FileReference.download problem

2008-02-21 Thread Dave Mennenoh
I let users download an image - using FileRef.download - it works fine, except that some users are not getting the .jpg appended to the file name. I've tried using issuing a default file name, and just letting FileRef make the name from the download URL and just the image name appears - minus th

Re: [Flashcoders] FileReference.download problem

2008-02-21 Thread Glen Pike
Has she turned "Hide extensions for known file types" on? - Windows Explorer->Tools->FolderOptions [View] tab - in the list??? Glen Dave Mennenoh wrote: I let users download an image - using FileRef.download - it works fine, except that some users are not getting the .jpg appended to the f

Re: [Flashcoders] FileReference.download problem

2008-02-21 Thread Dave Mennenoh
Has she turned "Hide extensions for known file types" on? - Windows Explorer->Tools->FolderOptions [View] tab - in the list??? I feel silly. That almost has to be it... I didn't even think of that. Thank You! Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http

Re: [Flashcoders] CDROM XML search

2008-02-21 Thread Glen Pike
Rob: Relational databases sound like a good plan, thanks I will think about that. Jason: A magazine produces around 500k of data, so a year would be 6MB and a decade around 60MB. Your tip about keeping the files separate is handy though. Looking on the web, some people seemed to recommend u

RE: [Flashcoders] FileReference.download problem

2008-02-21 Thread Jim Hayes
It could just be windows set to not show file extentions for recognised file types - personally one of my most hated "features", but that's the default and most people don't change it. Just a possibility ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Da

Re: [Flashcoders] CDROM XML search

2008-02-21 Thread Cory Petosky
Since it's a CD-ROM, you can get away with a lot of preprocessing on the data. Do all the really heavy lifting before you deliver the project, so that the "live" Flash app doesn't have to. One straightforward thing you can do is parse the entire collection XML, keeping every article every word app

[Flashcoders] over-ride trace()

2008-02-21 Thread Andrew Sinning
Is it possible to over-ride the trace() function to put the text to a field. I'm trying to debug a browser problem in AS2, and I simply don't have the patience for the AS2 debugger. Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.c

Re: [Flashcoders] variable with # sign

2008-02-21 Thread [EMAIL PROTECTED]
I hear you Glen. I'm connecting to Topica, a fairly popular online email marketing application. And I'm probably making it sound like something it isn't out of my own ignorance. Essentially, I'm trying to recreate the sign-up from that Topica's system generates for its clients in HTML into F

Re: [Flashcoders] over-ride trace()

2008-02-21 Thread Cédric Tabin
Hi Andrew, We already tried that on Mediabox, but it seems there is no way to override this function :( You should just use a Debug class that uses a TextField for the output... Regards, Cedric On Thu, Feb 21, 2008 at 6:33 PM, Andrew Sinning <[EMAIL PROTECTED]> wrote: > Is it possible to over-r

RE: [Flashcoders] CDROM XML search

2008-02-21 Thread Rob Emenecker
> Looking on the web, some people seemed to recommend using Director > or other "wrappers" to allow access to the file system. Anyone > know if this might be something to consider? Yes. If you go this route there are several commercial database engines that are available to you. However, the F

Re: [Flashcoders] over-ride trace()

2008-02-21 Thread Bob Wohl
Just create a text field and use it for your output. my_txt.text+= "myVar: "+myVar+"\n" there was a way to set up a tail log to see your traces while in the browser. http://www.digitalflipbook.com/archives/2005/07/trace_from_the.php hth B. On Thu, Feb 21, 2008 at 10:33 AM, Andrew Sinning <[EM

Re: [Flashcoders] over-ride trace()

2008-02-21 Thread Cédric Tabin
You also can just take a look to this firefox plugin : FlashTracer! Regards, Cedric On Thu, Feb 21, 2008 at 6:51 PM, Bob Wohl <[EMAIL PROTECTED]> wrote: > Just create a text field and use it for your output. > > my_txt.text+= "myVar: "+myVar+"

Re: [Flashcoders] over-ride trace()

2008-02-21 Thread Allandt Bik-Elliott (Receptacle)
could you extend trace to output to your textfield as well? On 21 Feb 2008, at 17:46, Cédric Tabin wrote: Hi Andrew, We already tried that on Mediabox, but it seems there is no way to override this function :( You should just use a Debug class that uses a TextField for the output... Reg

[Flashcoders] UILoader Component Movement problem

2008-02-21 Thread anuj sharma
Hi All In my program I am allowing user to drag and drop Video thumbnails on the main stage. The UIComponent is loading external SWF as soon as user drops video on the main screen. Also the user can successfully drag and drop the opened video pane (which is UILoader Component) wherever he wants on

Re: [Flashcoders] over-ride trace()

2008-02-21 Thread Andrew Sinning
Cédric Tabin wrote: You also can just take a look to this firefox plugin : FlashTracer! Ha! That'd be great except that the problem is only in Explorer! ___ Flashcoders mailing list Flashcoders@chat

[Flashcoders] Looking for Expaning menu along a curved path

2008-02-21 Thread Norman Cousineau
Hi Flashcoders, Does anybody know of a component, like Jumpeye Accordion menu tree, that can create a vertical expanding menu along a curved path? (Ok, mostly vertical with a touch of horizontal ;) (I don't think the Jumpeye component can do this.) Thanks, Norm C ___

Re: [Flashcoders] over-ride trace()

2008-02-21 Thread Steven Sacks
http://www.osflash.org/xray Best AS2 Flash Debugger on the planet ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] IE problem loading swf into mc

2008-02-21 Thread Andrew Sinning
Thanks to the folks who told me about FlashTracer! I ended up solving my problem by examinging the access logs on my server, but I'm wondering if anybody has any insight. The problem was related to the fact that I was trying to load the same external swf at the same url into two different MCs

Re: [Flashcoders] over-ride trace()

2008-02-21 Thread andrew . lucking
> Ha! That'd be great except that the problem is only in Explorer! Shouldn't be a problem. FlashTracer will still "see" trace statements from a swf running in IE... - Install the ActiveX debug Flash Player in IE (and configure it) - Open Firefox and FlashTracer - Launch your swf in IE - trace()

[Flashcoders] saving image locally

2008-02-21 Thread Cary Ho
Hi everyone, I have a bitmapData object that is storing some image info. I want the user to be able to save it locally as a jpeg/bitmap/etc. Is there a way to do this? This is a web application, running through a browser. Anyone know if this is even possible? I tried storing it locally as a s

Re: [Flashcoders] saving image locally

2008-02-21 Thread ben gomez farrell
Yes, basically you need to send the bits up to a server side script as POST data. Instead of having your server side script save it to the server, you'd have the server side script pop up a "Save as:" dialog - which you could then use the dialog to save the file. The details are a bit tricky