Ivan and Stacey,
Thanks for your help on my AS1 to AS2 issue.
again, much thanks, got it figured out with your help.
-S
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_
It traces out the email to send
--- [EMAIL PROTECTED] wrote:
> You need to copy the code he gave you - put it in an
> as file, make a
> movieclip with the assets he stated and bind it in
> the library to the
> class via the linkage properties (AS2 class).
>
> As for your previous post - what d
You need to copy the code he gave you - put it in an as file, make a
movieclip with the assets he stated and bind it in the library to the
class via the linkage properties (AS2 class).
As for your previous post - what do you mean by traced out okay. What
exactly traced out? Can you trace the varia
Hello stone,
sl> I'm etting an error on the "class" says it needs to be
sl> external?
- wow! of course.
sl> Is there a reason this works in AS1 and not AS2?
- possible I understand you incorrect...
--
Ivan Dembicki
[E
Ivan,
I'm etting an error on the "class" says it needs to be
external?
--- Iv <[EMAIL PROTECTED]> wrote:
> Hello stone,
>
> - yes. a little trick needed:
>
> import mx.utils.Delegate;
>
> class EmailForm extends MovieClip {
>
> private var submit_btn:Button;
> private var new_lv : Loa
Hello stone,
- yes. a little trick needed:
import mx.utils.Delegate;
class EmailForm extends MovieClip {
private var submit_btn:Button;
private var new_lv : LoadVars;
private var email : TextField;
// private var request_url : String = "emailSubmit.php";
private var request_url : St
Ivan,
Tried the code you sent, no luck... what was wrong
with it. I'm trying to learn this. Also tried the
delegate method it to failed.
any advise?
Can I send you the file, so you can comment on what is
wrong?
best,
Stone
--- Iv <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I> try conve
Hello,
I> try convert this code to AS2 [...]
oops. my code is incorrect.
but main is not in my code.
main in principle: always use path to variables (or var declaration)
if you needn't scope missunderstanding.
--
Ivan Dembicki
___
Hello stone,
sl> Thanks for the reply, can you give an example of what
sl> you are referring to? I'm not quite understanding.
yep. my english is hmmm...
try convert this code to AS2.
just path to variables added:
function sendEmail() {
var lv = new LoadVars();
this.new_lv = new LoadVars();
Your scoping might be wacked>?
have you traced out the getResponse and within it do
somethign like trace(this)= should tell the scope.
try
import mx.utils.Delegate;
> function sendEmail() {
> lv = new LoadVars();
> new_lv = new LoadVars();
> lv.email = email.text;
> new_lv.
Ivan,
Thanks for the reply, can you give an example of what
you are referring to? I'm not quite understanding.
Best.
--- Iv <[EMAIL PROTECTED]> wrote:
> Hello stone,
>
> sl> Is there a reason this works in AS1 and not
> AS2???
> - it is bad code because you usen't path to
> variables.
>
David,
I'm not familiar with the debugger, i did put in some
trace's but came back with nothing.
here's the URL where I am trying to get it working
http://sireclothing.com/final/
here's the php
If you take a look the status goes directly to
Problem. I've been at this all day, no results, any
Hello stone,
sl> Is there a reason this works in AS1 and not AS2???
- it is bad code because you usen't path to variables.
in as1 to as2 conversation default name space is changed.
just set "this", "_root" etc and you will see a problem
yourself.
--
Ivan Dembicki
_
On 3/21/06, stone larsen <[EMAIL PROTECTED]> wrote:
>
> Is there a reason this works in AS1 and not AS2???
Could you give us more info on what exactly is not working with it?
Did you use trace()'s or the debugger to find out exactly which part is
failing?
-David R
___
Is there a reason this works in AS1 and not AS2???
function sendEmail() {
lv = new LoadVars();
new_lv = new LoadVars();
lv.email = email.text;
new_lv.onData = getResponse;
lv.sendAndLoad("emailSubmit.php", new_lv, "POST");
}
function getResponse(success)
15 matches
Mail list logo