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 there would
easier to give you a more helpful hand if you want the solution to
be more legit than the solution above.

/ Martin


2008/2/21, [EMAIL PROTECTED] [EMAIL PROTECTED]:

 Hi.
 I need to pass a variable to a email sign-up form and it needs to be
 named f#31

 I have it written:

 var f#31 = TEXT:Email%20Address;

 Flash gives me an error when I try to publish this and I assume its
 because the variable name has the # sign. How do I get around this?
 I've tried escape sequences to no avail.

 Thanks!
 -Alex
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 

Martin Klasson
Flash Developer
Parkgatan 9-11
S-411 24 Göteborg
Sweden
Office +46 (0) 31 711 54 50
Cell +46 (0) 730 964 561
[EMAIL PROTECTED]
www.kokokaka.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 form in my FLA has input fields for First Name and Email address.  
Each input field has a Var associated with it.

The First Name field's Var is f:1700253695
The Email field's Var is f:31

Then in Actionscript I have variables for the hidden fields that  
would be used in an HTML version of the form (not sure if this is  
necessary) and a submit button function to send the variable names  
and their values to the sign-up form on the server.

var f#1700253695 = TEXT:First%20Name;
var f#31 = TEXT:Email%20Address;

submitBtn.onRelease = function(){
getURL(http://www.topica.com/f/p.html;, ,GET);   
}

The problem I'm having is that the database on the server requires  
either the colon or the # sign in the field name, but I can't figure  
out how to publish the SWF with them.
If there isn't a way, I think I will use the ExternalInterface API to  
send my field values to a form in my HTML wrapper and send the data  
from there. I'm not well versed in Javascript so I'm trying to avoid  
that if possible.


Any help would be greatly appreciated.

Thanks again.
-Alex


On Feb 21, 2008, at 12:50 AM, Martin Klasson wrote:


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 there would
easier to give you a more helpful hand if you want the solution to
be more legit than the solution above.

/ Martin


2008/2/21, [EMAIL PROTECTED] [EMAIL PROTECTED]:


Hi.
I need to pass a variable to a email sign-up form and it needs to be
named f#31

I have it written:

var f#31 = TEXT:Email%20Address;

Flash gives me an error when I try to publish this and I assume its
because the variable name has the # sign. How do I get around this?
I've tried escape sequences to no avail.

Thanks!
-Alex
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





--

Martin Klasson
Flash Developer
Parkgatan 9-11
S-411 24 Göteborg
Sweden
Office +46 (0) 31 711 54 50
Cell +46 (0) 730 964 561
[EMAIL PROTECTED]
www.kokokaka.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 = f#31;
this [ str.split(#).join(_) ] = test;
trace( this.f_31 ) // test

- J

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Klasson
Sent: Thursday, February 21, 2008 12:50 AM
To: Flash Coders List
Subject: Re: [Flashcoders] variable with # sign

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 there would
easier to give you a more helpful hand if you want the solution to
be more legit than the solution above.

/ Martin


2008/2/21, [EMAIL PROTECTED] [EMAIL PROTECTED]:

 Hi.
 I need to pass a variable to a email sign-up form and it needs to be
 named f#31

 I have it written:

 var f#31 = TEXT:Email%20Address;

 Flash gives me an error when I try to publish this and I assume its
 because the variable name has the # sign. How do I get around this?
 I've tried escape sequences to no avail.

 Thanks!
 -Alex
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 

Martin Klasson
Flash Developer
Parkgatan 9-11
S-411 24 Göteborg
Sweden
Office +46 (0) 31 711 54 50
Cell +46 (0) 730 964 561
[EMAIL PROTECTED]
www.kokokaka.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 that you need to name variables:
   var f#1700253695;
   var f#31
is nonsense ;-)

var myReallyCoolFlashVariableForAnEmailAddress = [EMAIL PROTECTED];

Send that to your server side script, which then stores it in the database (or 
whatever).



- Original Message - 
From: [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, February 21, 2008 10:14 AM
Subject: Re: [Flashcoders] variable with # sign


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 form in my FLA has input fields for First Name and Email address.
Each input field has a Var associated with it.
The First Name field's Var is f:1700253695
The Email field's Var is f:31

Then in Actionscript I have variables for the hidden fields that
would be used in an HTML version of the form (not sure if this is
necessary) and a submit button function to send the variable names
and their values to the sign-up form on the server.
var f#1700253695 = TEXT:First%20Name;
var f#31 = TEXT:Email%20Address;

submitBtn.onRelease = function(){
getURL(http://www.topica.com/f/p.html;, ,GET);
}

The problem I'm having is that the database on the server requires
either the colon or the # sign in the field name, but I can't figure
out how to publish the SWF with them.
If there isn't a way, I think I will use the ExternalInterface API to
send my field values to a form in my HTML wrapper and send the data
from there. I'm not well versed in Javascript so I'm trying to avoid
that if possible.

Any help would be greatly appreciated.

Thanks again.
-Alex


On Feb 21, 2008, at 12:50 AM, Martin Klasson wrote:


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 there would
easier to give you a more helpful hand if you want the solution to
be more legit than the solution above.

/ Martin


2008/2/21, [EMAIL PROTECTED] [EMAIL PROTECTED]:


Hi.
I need to pass a variable to a email sign-up form and it needs to be
named f#31

I have it written:

var f#31 = TEXT:Email%20Address;

Flash gives me an error when I try to publish this and I assume its
because the variable name has the # sign. How do I get around this?
I've tried escape sequences to no avail.

Thanks!
-Alex
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





--

Martin Klasson
Flash Developer
Parkgatan 9-11
S-411 24 Göteborg
Sweden
Office +46 (0) 31 711 54 50
Cell +46 (0) 730 964 561
[EMAIL PROTECTED]
www.kokokaka.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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(txt1, txt2, txt3, txt4, txt5) {
document.getElementById('txt1').value = txt1;
document.getElementById('txt2').value = txt2;
document.getElementById('txt3').value = txt3;
document.getElementById('txt4').value = txt4;
document.getElementById('txt5').value = txt5;
}
/script
script
function submitform()
{
  document.myform.submit();
}
/script




On Feb 21, 2008, at 1:37 AM, Muzak wrote:

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 that you need to name variables:
   var f#1700253695;
   var f#31
is nonsense ;-)

var myReallyCoolFlashVariableForAnEmailAddress = [EMAIL PROTECTED];

Send that to your server side script, which then stores it in the  
database (or whatever).




- Original Message - From: [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, February 21, 2008 10:14 AM
Subject: Re: [Flashcoders] variable with # sign


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 form in my FLA has input fields for First Name and Email address.
Each input field has a Var associated with it.
The First Name field's Var is f:1700253695
The Email field's Var is f:31

Then in Actionscript I have variables for the hidden fields that
would be used in an HTML version of the form (not sure if this is
necessary) and a submit button function to send the variable names
and their values to the sign-up form on the server.
var f#1700253695 = TEXT:First%20Name;
var f#31 = TEXT:Email%20Address;

submitBtn.onRelease = function(){
getURL(http://www.topica.com/f/p.html;, ,GET);
}

The problem I'm having is that the database on the server requires
either the colon or the # sign in the field name, but I can't figure
out how to publish the SWF with them.
If there isn't a way, I think I will use the ExternalInterface API to
send my field values to a form in my HTML wrapper and send the data
from there. I'm not well versed in Javascript so I'm trying to avoid
that if possible.

Any help would be greatly appreciated.

Thanks again.
-Alex


On Feb 21, 2008, at 12:50 AM, Martin Klasson wrote:


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 there would
easier to give you a more helpful hand if you want the solution to
be more legit than the solution above.

/ Martin


2008/2/21, [EMAIL PROTECTED] [EMAIL PROTECTED]:


Hi.
I need to pass a variable to a email sign-up form and it needs to be
named f#31

I have it written:

var f#31 = TEXT:Email%20Address;

Flash gives me an error when I try to publish this and I assume its
because the variable name has the # sign. How do I get around this?
I've tried escape sequences to no avail.

Thanks!
-Alex
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





--

Martin Klasson
Flash Developer
Parkgatan 9-11
S-411 24 Göteborg
Sweden
Office +46 (0) 31 711 54 50
Cell +46 (0) 730 964 561
[EMAIL PROTECTED]
www.kokokaka.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 clean face is visible, but moving the
mouse over it draws onto the mask and reveals it.

Now I would like to do the opposite effect i.e have a mask that reveals the
entire beard initially and remove parts of this mask to hide parts of the
beard and therefore reveal a clean face that sites on a layer below the
beard movie clip.

My question is, how can I erase bits of a mask? I am using Flash 8 AS2. 

Thanks in advance

Paul

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 
database you are filling in.
3. why does your database not let you create your own tables with 
sensible field names?


It may be good from a lazy programming perspective, but this is a 
security nightmare.


You should always have your server side code check  validate your data, 
then decide where each bit of data goes.  The client should not specify 
where the data goes - otherwise your database ends up hacked.  This also 
applies to contact forms that specify the recipient in the form itself.  
DON'T DO IT, IT'S BAD, LEARN ABOUT SECURITY (please) :)


HTH

Glen

[EMAIL PROTECTED] wrote:

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 form in my FLA has input fields for First Name and Email address. 
Each input field has a Var associated with it.

The First Name field's Var is f:1700253695
The Email field's Var is f:31

Then in Actionscript I have variables for the hidden fields that 
would be used in an HTML version of the form (not sure if this is 
necessary) and a submit button function to send the variable names and 
their values to the sign-up form on the server.

var f#1700253695 = TEXT:First%20Name;
var f#31 = TEXT:Email%20Address;

submitBtn.onRelease = function(){
getURL(http://www.topica.com/f/p.html;, ,GET);   
}


The problem I'm having is that the database on the server requires 
either the colon or the # sign in the field name, but I can't figure 
out how to publish the SWF with them.
If there isn't a way, I think I will use the ExternalInterface API to 
send my field values to a form in my HTML wrapper and send the data 
from there. I'm not well versed in Javascript so I'm trying to avoid 
that if possible.


Any help would be greatly appreciated.

Thanks again.
-Alex


On Feb 21, 2008, at 12:50 AM, Martin Klasson wrote:


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 there would
easier to give you a more helpful hand if you want the solution to
be more legit than the solution above.

/ Martin


2008/2/21, [EMAIL PROTECTED] [EMAIL PROTECTED]:


Hi.
I need to pass a variable to a email sign-up form and it needs to be
named f#31

I have it written:

var f#31 = TEXT:Email%20Address;

Flash gives me an error when I try to publish this and I assume its
because the variable name has the # sign. How do I get around this?
I've tried escape sequences to no avail.

Thanks!
-Alex
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





--

Martin Klasson
Flash Developer
Parkgatan 9-11
S-411 24 Göteborg
Sweden
Office +46 (0) 31 711 54 50
Cell +46 (0) 730 964 561
[EMAIL PROTECTED]
www.kokokaka.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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  
GTO LLD Solutions Design  Development 
eTools  Multimedia 

Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in innovative learning
ideas and technologies? 
Check out our internal  GTO Innovative Learning Blog and  subscribe.




 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of Glen Pike
Sent: Thursday, February 21, 2008 10:50 AM
To: Flash Coders List
Subject: [Flashcoders] CDROM XML search

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 an XML file and searching / filtering is 
pretty easy in principle, but I am guessing I may run into 
performance issues as the amount of data is scaled up.

Google is proving fairly useless today, so has anyone had 
much experience of this and have any recommendations.

Thanks

Glen
-- 

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 an XML file and searching / filtering is pretty easy in 
principle, but I am guessing I may run into performance issues as the 
amount of data is scaled up.


   Google is proving fairly useless today, so has anyone had much 
experience of this and have any recommendations.


   Thanks

   Glen
--

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 be eliminated - I hope so..


Glen



Merrill, Jason wrote:

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  
GTO LLD Solutions Design  Development 
eTools  Multimedia 


Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in innovative learning
ideas and technologies? 
Check out our internal  GTO Innovative Learning Blog and  subscribe.





 

  

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of Glen Pike

Sent: Thursday, February 21, 2008 10:50 AM
To: Flash Coders List
Subject: [Flashcoders] CDROM XML search

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 an XML file and searching / filtering is 
pretty easy in principle, but I am guessing I may run into 
performance issues as the amount of data is scaled up.


   Google is proving fairly useless today, so has anyone had 
much experience of this and have any recommendations.


   Thanks

   Glen
--

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk 
___

Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  


--

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 purposes and possible
search term highlighting.

...Rob


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike
Sent: Thursday, February 21, 2008 11:25 AM
To: Flash Coders List
Subject: Re: [Flashcoders] CDROM XML search

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
be eliminated - I hope so..

Glen



Merrill, Jason wrote:
 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
 GTO LLD Solutions Design  Development eTools  Multimedia

 Bank of America Flash Platform Developer Community


 Are you a Bank of America associate interested in innovative learning 
 ideas and technologies?
 Check out our internal  GTO Innovative Learning Blog and  subscribe.




  

   
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Glen 
 Pike
 Sent: Thursday, February 21, 2008 10:50 AM
 To: Flash Coders List
 Subject: [Flashcoders] CDROM XML search

 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 an XML file and searching / filtering is pretty easy 
 in principle, but I am guessing I may run into performance issues as 
 the amount of data is scaled up.

Google is proving fairly useless today, so has anyone had much 
 experience of this and have any recommendations.

Thanks

Glen
 --

 Glen Pike
 01736 759321
 www.glenpike.co.uk http://www.glenpike.co.uk 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

   
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


   

-- 

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 them.  It would be really really easy to test even
before they give you the actual file, just create dummy XML file and try
to load it in a read data from it.

With that much data though, you may want to try and split it up into
separate XML files and load them either as needed, or preload them one
at a time before doing a search.  You could categorize by year, or
alphabetical, or whatever makes sense based on the data they give you.
And if you can easily clean the files to strip out uneeded data, even
better. If you can get them to produce an even cleaner file for you,
even better than that obviously.

Lucky for you, since you said you can use AS3, searching using E4X
syntax is going to be a whole lot easier and likely faster.

Jason Merrill
Bank of America  
GTO LLD Solutions Design  Development 
eTools  Multimedia 

Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in innovative learning
ideas and technologies? 
Check out our internal  GTO Innovative Learning Blog and  subscribe.




 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of Glen Pike
Sent: Thursday, February 21, 2008 11:25 AM
To: Flash Coders List
Subject: Re: [Flashcoders] CDROM XML search

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 be eliminated - I hope so..

Glen



Merrill, Jason wrote:
 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
 GTO LLD Solutions Design  Development eTools  Multimedia

 Bank of America Flash Platform Developer Community


 Are you a Bank of America associate interested in 
innovative learning 
 ideas and technologies?
 Check out our internal  GTO Innovative Learning Blog and  
subscribe.




  

   
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On 
Behalf Of Glen 
 Pike
 Sent: Thursday, February 21, 2008 10:50 AM
 To: Flash Coders List
 Subject: [Flashcoders] CDROM XML search

 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 an XML file and searching / filtering is 
pretty easy 
 in principle, but I am guessing I may run into 
performance issues as 
 the amount of data is scaled up.

Google is proving fairly useless today, so has anyone had much 
 experience of this and have any recommendations.

Thanks

Glen
 --

 Glen Pike
 01736 759321
 www.glenpike.co.uk http://www.glenpike.co.uk 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

   
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


   

-- 

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 the 
extension.


I tested here (XP - IE and FireFox) and I see the .jpg on both browsers. My 
client does not see the extension - XP, IE - same version I have (she says).


Odd. Anyone else seen this? I'm not sure what to tell her... published from 
CS3 as AS2/Player 8



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 
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 the extension.


I tested here (XP - IE and FireFox) and I see the .jpg on both 
browsers. My client does not see the extension - XP, IE - same version 
I have (she says).


Odd. Anyone else seen this? I'm not sure what to tell her... published 
from CS3 as AS2/Player 8



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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://www.adobe.com/communities/experts/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 using Director or 
other wrappers to allow access to the file system.  Anyone know if 
this might be something to consider?


Glen


--

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 Dave
Mennenoh
Sent: 21 February 2008 16:29
To: Flash Coders List
Subject: [Flashcoders] FileReference.download problem

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
the 
extension.

I tested here (XP - IE and FireFox) and I see the .jpg on both browsers.
My 
client does not see the extension - XP, IE - same version I have (she
says).

Odd. Anyone else seen this? I'm not sure what to tell her... published
from 
CS3 as AS2/Player 8


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 appears in, and dumping this
list  (sorted) as a plaintext file. Something like:

aardvark: i302a27, i322a41, i412a2
anchovy: i210a9, i289a31
bezier: i123a4

Where the list format is iissueNumaarticleNum. Then, at run time,
your Flash app can (relatively) quickly load your index file into a
huge sorted list. Finally, when a search term is entered, you can do a
quick binary search on the search term and find all relevant articles.

You'll probably need to write your preprocessor in another language,
since Flash can't write to local files. You could conceivably write
your preprocessor using AIR and Actionscript.

Also note that I'm not guaranteeing that a simple list index is best
-- I'm just providing one implementation idea off the top of my head
that demonstrates the use of preprocessing the data, which I think you
must do regardless of your final indexing strategy.

On 2/21/08, Glen Pike [EMAIL PROTECTED] wrote:
 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 be eliminated - I hope so..


  Glen




  Merrill, Jason wrote:
   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
   GTO LLD Solutions Design  Development
   eTools  Multimedia
  
   Bank of America Flash Platform Developer Community
  
  
   Are you a Bank of America associate interested in innovative learning
   ideas and technologies?
   Check out our internal  GTO Innovative Learning Blog and  subscribe.
  
  
  
  
  
  
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf
   Of Glen Pike
   Sent: Thursday, February 21, 2008 10:50 AM
   To: Flash Coders List
   Subject: [Flashcoders] CDROM XML search
  
   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 an XML file and searching / filtering is
   pretty easy in principle, but I am guessing I may run into
   performance issues as the amount of data is scaled up.
  
  Google is proving fairly useless today, so has anyone had
   much experience of this and have any recommendations.
  
  Thanks
  
  Glen
   --
  
   Glen Pike
   01736 759321
   www.glenpike.co.uk http://www.glenpike.co.uk
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
  
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
  
  

  --

  Glen Pike
  01736 759321
  www.glenpike.co.uk http://www.glenpike.co.uk
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



-- 
Cory Petosky : Lead Developer : PUNY
1618 Central Ave NE Suite 130
Minneapolis, MN 55413
Office: 612.216.3924
Mobile: 240.422.9652
Fax: 612.605.9216
http://www.punyentertainment.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 Flash. The HTML form  
has input text fields like NAME=f:1700253685 and I don't know how  
to re-create the form function in Flash to send the user input data  
entered into the corresponding field. I think I get tripped up by the  
: in the NAME but that could be way wrong.


The workaround I came up with was to send the data to a hidden form  
in my HTML wrapper and then submit it through a Javascript function  
called from Flash. That way the form is essentially the same one the  
Topica system gave me and I'm using Flash to populate it. Nothing  
elegant about it, but I don't know enough and Topica doesn't provide  
any support for sending the user input data directly from Flash.


And I can only trust the sign-up form they give all their users has  
the safeguards you are describing below.


-A


On Feb 21, 2008, at 5:57 AM, Glen Pike wrote:

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  
database you are filling in.
3. why does your database not let you create your own tables with  
sensible field names?


It may be good from a lazy programming perspective, but this is a  
security nightmare.


You should always have your server side code check  validate your  
data, then decide where each bit of data goes.  The client should  
not specify where the data goes - otherwise your database ends up  
hacked.  This also applies to contact forms that specify the  
recipient in the form itself.  DON'T DO IT, IT'S BAD, LEARN ABOUT  
SECURITY (please) :)


HTH

Glen

[EMAIL PROTECTED] wrote:

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 form in my FLA has input fields for First Name and Email  
address. Each input field has a Var associated with it.

The First Name field's Var is f:1700253695
The Email field's Var is f:31

Then in Actionscript I have variables for the hidden fields that  
would be used in an HTML version of the form (not sure if this is  
necessary) and a submit button function to send the variable names  
and their values to the sign-up form on the server.

var f#1700253695 = TEXT:First%20Name;
var f#31 = TEXT:Email%20Address;

submitBtn.onRelease = function(){
getURL(http://www.topica.com/f/p.html;, ,GET);   }

The problem I'm having is that the database on the server requires  
either the colon or the # sign in the field name, but I can't  
figure out how to publish the SWF with them.
If there isn't a way, I think I will use the ExternalInterface API  
to send my field values to a form in my HTML wrapper and send the  
data from there. I'm not well versed in Javascript so I'm trying  
to avoid that if possible.


Any help would be greatly appreciated.

Thanks again.
-Alex


On Feb 21, 2008, at 12:50 AM, Martin Klasson wrote:


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 there would
easier to give you a more helpful hand if you want the solution to
be more legit than the solution above.

/ Martin


2008/2/21, [EMAIL PROTECTED] [EMAIL PROTECTED]:


Hi.
I need to pass a variable to a email sign-up form and it needs  
to be

named f#31

I have it written:

var f#31 = TEXT:Email%20Address;

Flash gives me an error when I try to publish this and I assume its
because the variable name has the # sign. How do I get around this?
I've tried escape sequences to no avail.

Thanks!
-Alex
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





--

Martin Klasson
Flash Developer
Parkgatan 9-11
S-411 24 Göteborg
Sweden
Office +46 (0) 31 711 54 50
Cell +46 (0) 730 964 561
[EMAIL PROTECTED]
www.kokokaka.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--

Glen Pike
01736 

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-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.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 Flash Xtra for Director is not current
with the web Flash Player. Specifically it does not currently support AS3 or
certain components, and Flex is WAY OUT OF THE QUESTION.

If you are coding in AS2, then Director coupled with a database Xtra
(Valentina, Vizion, Arca, ADO, Datagrip, etc.) is what I would recommend.

...Rob

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 [EMAIL PROTECTED]
wrote:

 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.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] over-ride trace()

2008-02-21 Thread Cédric Tabin
You also can just take a look to this firefox plugin :
FlashTracerhttps://addons.mozilla.org/en-US/firefox/addon/3469!

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+\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 [EMAIL PROTECTED]
 wrote:

  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.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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...

Regards,
Cedric

On Thu, Feb 21, 2008 at 6:33 PM, Andrew Sinning  
[EMAIL PROTECTED]

wrote:


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.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 the
screen.
My problem is that when user drop the UIComponent on the main screen, the
dropped UIComponenet moves little bit from the mouse position.
I used the code that *on stopDrag,UILoader.move(MouseX,MouseY)*. But it did
not work because the stage is taking UILoader's top left corner as MouseX
and MouseY and move UILoader's top left corner to the cursor position. I
came up with tricky solution in which I use on *stopDrag,UILoader.move
(MouseX-200,MouseY-200)*. This solution was little better in my case but
that's not exactly what i want because this solution is giving inconsistent
and inaccurate results.
Does anyone has better solution? *I just need that if user stops dragging
the UILoader Component , the Component should be placed on the coordinates
wherever he/she left the mouse cursor.*

I will appreciate any kind of help
Thanks a lot.
Anuj
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 :
FlashTracerhttps://addons.mozilla.org/en-US/firefox/addon/3469!

Ha!  That'd be great except that the problem is only in Explorer!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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
_

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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.  Because I've 
recently change the architecture of my project so now I only need one 
instance of the MC, I solved the problem by simply dropping the second 
instance.  However, it'd be really nice to understand this problem.



I figured out the problem by observing that FireFox only makes one 
request to the server for the same swf, but IE makes two different calls 
to the server.  For some reason this makes it choke.  Under IE, I could 
get the external swf to load by refreshing the browser, in which case 
the browser would make a check if new request to the server and then 
load the cached files.


Does this make sense?  Any idea what's up?

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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()








   
 Andrew Sinning
 [EMAIL PROTECTED] 
 are.com   To 
 Sent by:  Flash Coders List   
 flashcoders-bounc flashcoders@chattyfig.figleaf.com 
 [EMAIL PROTECTED]  cc 
 eaf.com   
   Subject 
   Re: [Flashcoders] over-ride trace() 
 2008-02-21 01:58  
 PM
   
   
 Please respond to 
 Flash Coders List 
 [EMAIL PROTECTED] 
 tyfig.figleaf.com 
  
   
   




Cédric Tabin wrote:
 You also can just take a look to this firefox plugin :
 FlashTracerhttps://addons.mozilla.org/en-US/firefox/addon/3469!
Ha!  That'd be great except that the problem is only in Explorer!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 
sharedobject, but I need a usable format for the user. TIA


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 when you first try it, but I've done it 
with PHP.  The only drawback is that it needs to go up to the server and 
come back down again - you can't just do everything client side as far 
as I know.


Cary Ho wrote:

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 
sharedobject, but I need a usable format for the user. TIA




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders