[Flashcoders] Do you have software which can convert as package to UML?

2007-01-09 Thread Zikey Han

Hi,all:
   If a project is not yours.Now you may want to improve it,but so many
packages and class.How to find out the flow chart clearly?Do you have
software which can convert as package to UML?
___
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] JSFL add a MovieClip Name to my created mc

2006-08-06 Thread Zikey Han

Hi,list,
   now,i'm the fresh man to use JSFL.I want to ask a simple
question.Now I have used JSFL to create a movieclip,so i want to name it,and
then use fl.getDocumentDOM().getTimeline().layers[0].frames[0].actionScript
= _mc.onPress = function(){trace('onPress!!')}.Can i do that?

--
亲爱的朋友,祝你天天快乐!
http://www.flashpixy.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] XML push() data scope issue?

2006-04-29 Thread zikey Han

you can read this article:http://www.person13.com/articles/proxy/Proxy.htm
or mx.utils.Delegate class
http://www.flashpixy.com/index.php?entry=entry060306-225238
i hope this can help you!
2006/4/29, Mandongo [EMAIL PROTECTED]:


i'm trying to figure out if it's a problem with scope, or if i'm
overlooking
something else?  this is a combination of moock's imageviewer walkthru
from
his essential as book, but with xml functionality which i'm trying to
implement.  i can't seem to keep the xml values in imageBank when i push()
them from _13 inside buildImageBank().

i can trace imageBank in loadImage() and get a type object but with no
children, yet i can trace the hell out of imageBank in buildImageBank()
and
get all the attribute values.  shed some light?  here's the class, broken
down:

class ImageViewBare {
private var _12;
private static var _11 = 0;
private static var _13;
private var imagePos = 0;

private var container;
private static var images;
private static var imageBank = [];

public function ImageViewBare (target, depth, xmlfile) {
container = target.createEmptyMovieClip(container + depth,
depth);
images = new XML();
images.ignoreWhite = true;
images.onLoad = buildImageBank;
images.load(xmlfile);
}

private function buildImageBank() {
_12 = images.firstChild.childNodes;
while (_11  _12.length) {
_13 = {
name: _12[_11].attributes.name,
notes: _12[_11].attributes.notes,
file: _12[_11].attributes.file,
width: _12[_11].attributes.width,
height: _12[_11].attributes.height
}
// this gets lost outside buildImageBank()
// how to make my push()'s to imageBank var permanent?
imageBank.push (_13);
_11++;
}
}

public function loadImage(posInc) {
container.loadMovie(imageBank[index].file);
}
}

on the fla that works this class, i have this:

var viewer = new ImageViewerBare(this, 1, images.xml);
viewer.loadImage(1);  // comes back undefined


thanks,
M.
___
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





--
亲爱的朋友,祝你天天快了!
http://www.flashpixy.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] What's different between _alpha=0 and _visible =flase;

2006-04-05 Thread zikey Han
I kown that one different between _alpha=0 and _visible =flase.

when we load a picture or swf ,like this:

this.createEmptyMovieClip(container_mc,0);
container_mc.loadMovie(test.jpg);
container_mc._alpha =0 ;
you can see nothing in the scene.because of ._alpha =0;
but if you
container_mc_visible=false ;
you can see the test.jpg on the scene._visible = false
do nothing.

i want to kown ,what the other different between them.

--
亲爱的朋友,祝你天天快了!
http://www.flashpixy.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] nextFrame(),gotoAndStop(),play(),they are different?

2006-03-29 Thread zikey Han
Hi list!
 Today i touch an odd.
 It has 2 frames on the  Timeline,I have a check in first frame,when
it's ok goto sencond frame.
 when i use gotoAndStop(2),nextFrame(),and play() ,the Flash can
goto Frame 2 ,the browser is Firfox.
 But only play() can work in the browser of
IE,gotoAndStop(2),nextFrame() can do nothing!
Why ??

--
亲爱的朋友,祝你天天快了!
http://www.flashpixy.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] duplicateMovieClip() ?

2006-03-15 Thread zikey Han
I can invoke this function in my Scene.
function alot(max) {
var basename:String = circle_mc;
for (var i = 0; imax; i++) {
_root.it_mc.duplicateMovieClip(basename+i, this.getNextHighestDepth
());
_root[basename+i]._x = 100+i*5;
_root[basename+i]._y = 100+i*5;
}
}
alot(5);
it_mc is a MovieClip on the Scene.

2006/3/13, Edward Hotchkiss [EMAIL PROTECTED]:

 hmm ...

 // begin code
 function alot(max) {
 var basename:String = circle_mc;
 for(var i = 0; i  max; i++) {
   _root.it_mc.duplicateMovieClip(basename+i, this.getNextHighestDepth() );
   _root[basename+i]._x = 100 + i*5;
   _root[basename+i]._y = 100 + i*5;

 }
 }

 the trace returns 0. why are my dynamically duplicated movieclips not
 showing up on the stage???

 -eddie
 ___
 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




--
亲爱的朋友,祝你天天快了!
http://www.flashpixy.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] how to liesten XML onLoad Event?

2006-02-21 Thread zikey Han
Thanks ,Julien Vignali  and j.c.wichman!
I can do that !
亲爱的朋友,祝你天天快了!
http://www.flashpixy.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] how to liesten XML onLoad Event?

2006-02-20 Thread zikey Han
Hi,list,
  Today I write a class,in this class want to parse xml docunment first
,and then do other events.
class like this:
///
class com.newShow.GlideWin
{
 var type_str : String;
 var xmlPath : String;
 var album_arr : Array;
 var len : Number;
 var container_mc:MovieClip;
 var depth:Number;
 var _mc:MovieClip;
 var _instance:Object;
 
 //Constructor function
 ///
 function GlideWin (typeWin:String,xml:String,mc:MovieClip)
 {
  type_str = typeWin;
  xmlPath = xml;
  _mc = mc;
  init ();
 }
 function showType()
 {
  trace(showType());
 }
 private function init ()
 {
  //trace(init());
  var doc : XML = new XML ();
  doc.load (xmlPath);
  doc.ignoreWhite = true;
  doc.onLoad = function (ok)
  {
   trace(type_str+..);
   if (ok)
   {
var str = this.firstChild.childNodes;
len = str.length;
while (len --)
{
 album_arr.push ({path : str [len].firstChild.nodeValue, url : str
[len].attributes.url, name : str [len].firstChild.name});
}
showType();
   } else
   {
throw new Error (xml document is not found);
   }
  }
 }
}
/
now i want to transfer function of showType in onLoad function ,but it can't
work.If I set function of showType static,it can do!
Do you kown how to tansfer show Type except static function !
Tnank you!
--
亲爱的朋友,祝你天天快了!
http://www.flashpixy.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] how to liesten XML onLoad Event?

2006-02-20 Thread zikey Han
The problem is that :
In doc.onLoad function assigment , I want to transfer function of showType
witch is outside of onLoad assigment!
But it can't work! It can't catch Varibles from outside of onLoad.
doc.onLoad = function (ok)
  {
   trace(type_str+.. );
   if (ok)
   {
var str = this.firstChild.childNodes;
len = str.length;
while (len --)
{
 album_arr.push ({path : str [len].firstChild.nodeValue, url : str
[len].attributes.url, name : str [len].firstChild.name});
}
showType();
   } else
   {
throw new Error (xml document is not found);
   }
  }
}

--
亲爱的朋友,祝你天天快了!
http://www.flashpixy.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] what are differences between Flash5 and FlashMX?

2006-02-07 Thread zikey Han
The new player features!
Thank you!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders