swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] an ActionScript question


From: Chris Pugh
Subject: Re: [Swftools-common] an ActionScript question
Date: Sun, 29 Nov 2009 11:50:35 +0000

2009/11/29 jean-michel.voicechat_fan <address@hidden>:
> still not that i want you give me back one of my source
> are you trying to make a fool of me ? :)

I give you back *part* of your source for A GOOD REASON!.   I make
small change so you can see what happens.  Did you
compile then run it?   Do you understand what happens and why?   If
so, can you not then amend your code yourself?

I/we am/are not here to write your code for you Jean Michel!   You
have to take some small steps yourself to go further!


>> i am able to declare now global variable and global function  but that
>>  global function cannot access a textfield

Au contraire!

Regards,



Chris.
==============================================================

> .flash filename="oneclass.swf" bbox=420x440 version=9 fps=12
> background=#666666
>  .edittext log width=400 height=550 color=red multiline html
>  .put log x=0 y=0
>  .action:
>    package {
>        import flash.display.*;
>        import flash.text.TextField ;
>        public var users: Array=new Array ;
>        public dynamic class Main extends MovieClip {
>                public function trace (s){
>                     this.log.text+=s+"\n";
>                                          }
>
>                public function Main() {
>                        var i="";
>                        var nms=new Array("jean","marc","eric","paul");
>                        for each (i in nms) {
>                          this.log.text+=i + "\n";
>                        }
>                        this.log.text+="Zut Alors!:";
>                        this.log.text+=" \n";
>                        trace("C'est possible! ;o)");
>
>                }
>        }
>    }
>  .end # action
> .end # .flash
============================================================




reply via email to

[Prev in Thread] Current Thread [Next in Thread]