[Flashcoders] can XML object POST HTTP variables?

2006-09-10 Thread James

Hi

I was wondering if anyone has the same problem as me,

I have an application on my server which usually receives input from 
HTML forms via POST method. I can  replicate this using FLASH with 
sendAndLoad() method.


The application sends it's response back in XML so I would like to 
use the XML object, but I can't find in documentation if XLM object 
will send variables in POST format, only that it will send XML in 
POST format, which is not what I need.


I am using Flash 8 Pro.

Thankyou

James

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] can XML object POST HTTP variables?

2006-09-10 Thread Robert Stuttaford
Have a loadvars target an xml object as it's load target :) 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James
Sent: 10 September 2006 09:27 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] can XML object POST HTTP variables?

Hi

I was wondering if anyone has the same problem as me,

I have an application on my server which usually receives input from HTML forms 
via POST method. I can  replicate this using FLASH
with
sendAndLoad() method.

The application sends it's response back in XML so I would like to use the XML 
object, but I can't find in documentation if XLM
object will send variables in POST format, only that it will send XML in POST 
format, which is not what I need.

I am using Flash 8 Pro.

Thankyou

James

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com 
http://training.figleaf.com

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date: 2006/09/08
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date: 2006/09/08
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] can XML object POST HTTP variables?

2006-09-10 Thread Francis Turmel

hrm nevermind my comment, I was thinking about just doing a load(), not
sendAndLoad()
late, need sleep :)

On 9/10/06, Francis Turmel [EMAIL PROTECTED] wrote:


Just to add quickly to that, you will have to use the onData handler to
get the raw data. From there
you can create a new XML object.

http://tinyurl.com/paufb  [onData livedocs link]




On 9/10/06, Robert Stuttaford [EMAIL PROTECTED] wrote:

 Have a loadvars target an xml object as it's load target :)

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 On Behalf Of James
 Sent: 10 September 2006 09:27 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] can XML object POST HTTP variables?

 Hi

 I was wondering if anyone has the same problem as me,

 I have an application on my server which usually receives input from
 HTML forms via POST method. I can  replicate this using FLASH
 with
 sendAndLoad() method.

 The application sends it's response back in XML so I would like to use
 the XML object, but I can't find in documentation if XLM
 object will send variables in POST format, only that it will send XML in
 POST format, which is not what I need.

 I am using Flash 8 Pro.

 Thankyou

 James

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training http://www.figleaf.com
 http://training.figleaf.com

 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date:
 2006/09/08


 --
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date:
 2006/09/08


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com





___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] can XML object POST HTTP variables?

2006-09-10 Thread Francis Turmel

Just to add quickly to that, you will have to use the onData handler to get
the raw data. From there
you can create a new XML object.

http://tinyurl.com/paufb  [onData livedocs link]



On 9/10/06, Robert Stuttaford [EMAIL PROTECTED] wrote:


Have a loadvars target an xml object as it's load target :)

-Original Message-
From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of James
Sent: 10 September 2006 09:27 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] can XML object POST HTTP variables?

Hi

I was wondering if anyone has the same problem as me,

I have an application on my server which usually receives input from HTML
forms via POST method. I can  replicate this using FLASH
with
sendAndLoad() method.

The application sends it's response back in XML so I would like to use the
XML object, but I can't find in documentation if XLM
object will send variables in POST format, only that it will send XML in
POST format, which is not what I need.

I am using Flash 8 Pro.

Thankyou

James

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date: 2006/09/08


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date: 2006/09/08


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flex and subversion don't play nice? - slightly OT

2006-09-10 Thread Peter Hall

Do you have subclipse installed?

Peter


On 9/7/06, hank williams [EMAIL PROTECTED] wrote:

I havent figured it out yet, but I had to stop subversion with flex
because it just acted wierd and kept screwing up and preventing me
from updating. But I didnt work hard enough to figure out exactly what
the problem is. Sucks though.

Hank

On 9/7/06, Chris Hill [EMAIL PROTECTED] wrote:
 We've just started some as3 and flex projects and are having some pretty
 weird problems with Flex copying .svn directories and wreaking havoc.

 http://www.jessewarden.com/archives/2006/02/subversion_flex.html

 After much head-scratching, we determined that this is what's happening
 to us. We put our 'htm-template' folder under version control  and the
 deployment folder was being 'converted' into the html-template folder
 when the .svn dir was copied.

 In another unrelated project we had our source folder replaced(!) with
 the html-template folder. While the first project we've got a grasp on
 why it happened and will simply not put html-template under version
 control, we're still uncertain as to why the src folder had its .svn
 folder copied into it. The one difference is that this is a flex
 project, and the first is a pure as3 project.

 Does anyone use subversion with flex? Have you had similar issues? What
 is good and what isn't good to put under version control?

 Thanks,
 Chris Hill
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flex and subversion don't play nice? - slightly OT

2006-09-10 Thread hank williams

Yes, thats how I use eclipse, with subclipse. I use it successfully
with java. Unfortunately, I cant even remember the specific errors I
was getting. I am very near to launch and I just had to pull the plug
on elipse with flex because it was getting in the way and time is of
the essence.

Hank

On 9/10/06, Peter Hall [EMAIL PROTECTED] wrote:

Do you have subclipse installed?

Peter


On 9/7/06, hank williams [EMAIL PROTECTED] wrote:
 I havent figured it out yet, but I had to stop subversion with flex
 because it just acted wierd and kept screwing up and preventing me
 from updating. But I didnt work hard enough to figure out exactly what
 the problem is. Sucks though.

 Hank

 On 9/7/06, Chris Hill [EMAIL PROTECTED] wrote:
  We've just started some as3 and flex projects and are having some pretty
  weird problems with Flex copying .svn directories and wreaking havoc.
 
  http://www.jessewarden.com/archives/2006/02/subversion_flex.html
 
  After much head-scratching, we determined that this is what's happening
  to us. We put our 'htm-template' folder under version control  and the
  deployment folder was being 'converted' into the html-template folder
  when the .svn dir was copied.
 
  In another unrelated project we had our source folder replaced(!) with
  the html-template folder. While the first project we've got a grasp on
  why it happened and will simply not put html-template under version
  control, we're still uncertain as to why the src folder had its .svn
  folder copied into it. The one difference is that this is a flex
  project, and the first is a pure as3 project.
 
  Does anyone use subversion with flex? Have you had similar issues? What
  is good and what isn't good to put under version control?
 
  Thanks,
  Chris Hill
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flex and subversion don't play nice? - slightly OT

2006-09-10 Thread Peter Hall

Weird. I haven't had any problems, as long as the project is
associated with SVN inside eclipse. I think I also had some small
problems before Subclipse 1.0 release.

If you aren't using Eclipse, what are you using instead?

Peter


On 9/10/06, hank williams [EMAIL PROTECTED] wrote:

Yes, thats how I use eclipse, with subclipse. I use it successfully
with java. Unfortunately, I cant even remember the specific errors I
was getting. I am very near to launch and I just had to pull the plug
on elipse with flex because it was getting in the way and time is of
the essence.

Hank

On 9/10/06, Peter Hall [EMAIL PROTECTED] wrote:
 Do you have subclipse installed?

 Peter


 On 9/7/06, hank williams [EMAIL PROTECTED] wrote:
  I havent figured it out yet, but I had to stop subversion with flex
  because it just acted wierd and kept screwing up and preventing me
  from updating. But I didnt work hard enough to figure out exactly what
  the problem is. Sucks though.
 
  Hank
 
  On 9/7/06, Chris Hill [EMAIL PROTECTED] wrote:
   We've just started some as3 and flex projects and are having some pretty
   weird problems with Flex copying .svn directories and wreaking havoc.
  
   http://www.jessewarden.com/archives/2006/02/subversion_flex.html
  
   After much head-scratching, we determined that this is what's happening
   to us. We put our 'htm-template' folder under version control  and the
   deployment folder was being 'converted' into the html-template folder
   when the .svn dir was copied.
  
   In another unrelated project we had our source folder replaced(!) with
   the html-template folder. While the first project we've got a grasp on
   why it happened and will simply not put html-template under version
   control, we're still uncertain as to why the src folder had its .svn
   folder copied into it. The one difference is that this is a flex
   project, and the first is a pure as3 project.
  
   Does anyone use subversion with flex? Have you had similar issues? What
   is good and what isn't good to put under version control?
  
   Thanks,
   Chris Hill
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] weird htmlText problem...

2006-09-10 Thread grimmwerks

Ok, I've got a class that I've used that all it does is take in a
string of htmlText, create a textfield and apply it. But something is
happening that is killing the text for some reason;

If I send INTO the function this htmlText:

TEXTFORMAT LEADING=-5P ALIGN=RIGHTFONT
FACE=QuadraatSans-Regular SIZE=30 COLOR=#00
LETTERSPACING=0
KERNING=0whatever/FONT/P/TEXTFORMATTEXTFORMAT
LEADING=-5P ALIGN=RIGHTFONT FACE=QuadraatSans-Regular
SIZE=30 COLOR=#00 LETTERSPACING=0
KERNING=0man/FONT/P/TEXTFORMAT

A textfield is created and applied, but then it turns into:

TEXTFORMAT LEADING=-5P ALIGN=RIGHTFONT
FACE=QUADRAATSANS-REGULAR SIZE=30 COLOR=#00
LETTERSPACING=0 KERNING=0WHATEVERMAN/FONT/P/TEXTFORMAT

and I can't figure out why.

Here's the code of the function:

function drawTitle(tTxt:String){
title = tTxt.toUpperCase();

if(!mcTxt){mcTxt = myMC.createEmptyMovieClip(boxes, 5)};

var tR:Rectangle = new Rectangle(0,0, 250,50);
if(_global.gApp.elements.length5){
var tOffY = 350;
}else{
var tOffY = 175;
}

var tOff:Point = new Point((myRect.xMax-tR.width), 
(tOffY-tR.height));
tR.offsetPoint(tOff);
// have to draw textField and make set width, extend bottom
// then move up so bottom hits the correct bottom box,
// then decide to draw 50 or 75
var mTitle:TextField=mcTxt.createTextField(mc_title, 7, 
tR.x+22,
tR.y-14, 214, 0);
mTitle.embedFonts = true;
//mTitle.setNewTextFormat(_global.gPrefs.tfTitle);
mTitle.autoSize=right;
mTitle.html = true;
mTitle.htmlText =title;
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Job postings ok?

2006-09-10 Thread Karina Steffens
Personally, I much prefer job postings, to posts like this:

PLEASE HELP ME 
i just got flash and i don't know what to do with it. i need to create a
word processing application by NEXT WEEK. pls tell me how!!!? 


:P 
Karina



 -Original Message-
 From: Mick G [mailto:[EMAIL PROTECTED] 
 Sent: 08 September 2006 03:22
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Job postings ok?
 
 It's a consipiracy man! The job postings are secretly created 
 by the egos on here that need to vent. They post a job 
 posting, then vent about how job postings have nothing to do 
 with coding. Eventually the debate dies until a few weeks 
 later when it all starts up again.
 * * *watches thread fizle away* * * (for a week or two anyway).
 
 
 On 9/7/06, Rich Rodecker [EMAIL PROTECTED] wrote:
 
  hmm...why does posting a job about flash programming on the 
  flashcoders list not seem to bother me at all?  maybe because its 
  totally relevant?
 
 
 
  On 9/7/06, bruce [EMAIL PROTECTED] wrote:
  
   if you have a job, then you might be upset by job postings!!
  
   if you don't have a job, then you're probably looking to 
 respond to 
   as many 'valid/legitimate' job opportunities as possible.
  
   the majority of people would in all honesty, respond to the 
   position, as opposed to the mailing list.
  
   for the people who have jobs, and only want to see 'code' it's a 
   pretty eay thing to delete the few messages and to move on!!!
  
   come on people!!
  
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flex and subversion don't play nice? - slightly OT

2006-09-10 Thread hank williams

If you aren't using Eclipse, what are you using instead?



I mistyped. I am using eclipse just not *subclipse*. But I am not
using subclipse/subversion for my flex code, just my java code. I am
manually backing up right now, which is less than optimal. But I am
currently the only coder so it is less of a burden.

Hank


Peter


On 9/10/06, hank williams [EMAIL PROTECTED] wrote:
 Yes, thats how I use eclipse, with subclipse. I use it successfully
 with java. Unfortunately, I cant even remember the specific errors I
 was getting. I am very near to launch and I just had to pull the plug
 on elipse with flex because it was getting in the way and time is of
 the essence.

 Hank

 On 9/10/06, Peter Hall [EMAIL PROTECTED] wrote:
  Do you have subclipse installed?
 
  Peter
 
 
  On 9/7/06, hank williams [EMAIL PROTECTED] wrote:
   I havent figured it out yet, but I had to stop subversion with flex
   because it just acted wierd and kept screwing up and preventing me
   from updating. But I didnt work hard enough to figure out exactly what
   the problem is. Sucks though.
  
   Hank
  
   On 9/7/06, Chris Hill [EMAIL PROTECTED] wrote:
We've just started some as3 and flex projects and are having some pretty
weird problems with Flex copying .svn directories and wreaking havoc.
   
http://www.jessewarden.com/archives/2006/02/subversion_flex.html
   
After much head-scratching, we determined that this is what's happening
to us. We put our 'htm-template' folder under version control  and the
deployment folder was being 'converted' into the html-template folder
when the .svn dir was copied.
   
In another unrelated project we had our source folder replaced(!) with
the html-template folder. While the first project we've got a grasp on
why it happened and will simply not put html-template under version
control, we're still uncertain as to why the src folder had its .svn
folder copied into it. The one difference is that this is a flex
project, and the first is a pure as3 project.
   
Does anyone use subversion with flex? Have you had similar issues? What
is good and what isn't good to put under version control?
   
Thanks,
Chris Hill
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
   
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com