Re: [Flashcoders] Need a little help with rtmp and streaming video...

2007-01-16 Thread Shang
Can it be crossdomain.xml problem? Try to use some traffic monitoring software to see what is your flash loading. HttpWatch: http://www.httpwatch.com TamperData: http://tamperdata.mozdev.org/ On 1/16/07, Rob Bayne [EMAIL PROTECTED] wrote: are you using speedera or a co-located server?

Re: [Flashcoders] how to know that thae video is finished?

2007-01-17 Thread Shang
I look through the help file but didn't find onComplete event. What I always use is onStatus NetStream.Play.Stop. On 1/18/07, Jordan Snyder [EMAIL PROTECTED] wrote: The onMetaData event is fired in the beginning of the clip if there is metadata. Using similar code, look at the onComplete

Re: [Flashcoders] Override _xscale and _yscale setter in AS2

2007-01-18 Thread Shang
Interesting question! I've tried a bit. class MyMc extends MovieClip{ public function MyMc(){ trace(I'm on!); } public function set _xscale(xs){ super(xs); _root.doBitmap(this); } public function set

Re: [Flashcoders] Invisible re-draw

2007-01-25 Thread Shang
But I feel the Flash redraw itself all the time. your FPS decides how many times it redraw regardless of any changes. On 1/26/07, Micky Hulse [EMAIL PROTECTED] wrote: Mick G wrote: Will updateafterevent() help?

Re: [Flashcoders] Invisible re-draw

2007-01-26 Thread Shang
an option to outline the stuff it's redrawing in red? h. On 26/01/07, Micky Hulse [EMAIL PROTECTED] wrote: Shang wrote: But I feel the Flash redraw itself all the time. your FPS decides how many times it redraw regardless of any changes. Ah, really? Even if timeline has hit a stop action

Re: [Flashcoders] Launch an application from CDROM based projector

2007-01-30 Thread Shang
why not you try it in DOS commands first. You need to check what kind of parameters the application supports . If the application does support a parameter like -o filename, then you can write a bat file and use fscommand to call it. On 1/30/07, Paul Steven [EMAIL PROTECTED] wrote: I am creating

Re: [Flashcoders] Tooltip for disabled buttons: Ideas?

2007-01-30 Thread Shang
I have a third suggestion. You don't need to set the button enabled=false, instead you create your own parameter of tracking the status. when the button is disabled, just set the useHandCursor to false. onRollOver if(btnEnabled) showRollOverEffect else showToolTip onRelease if(btnEnabled)

Re: [Flashcoders] Preloading images

2008-01-08 Thread Shang
bulk loader. http://code.google.com/p/bulk-loader/ On Jan 8, 2008 11:49 AM, Dave Wood [EMAIL PROTECTED] wrote: Hi Another approach (if the number and size of the images isn't too great) is to grab the bitmapdata from each one once it's loaded and store that in an array. David What

Re: [Flashcoders] Zinc port hell

2008-01-08 Thread Shang
I worked with zinc for a while, but I didn't have the absolute or relative path problem at all. My Problem was more like Ben stated, the document was not accurate especially the return object type. On Jan 8, 2008 7:16 AM, ben gomez farrell [EMAIL PROTECTED] wrote: I've found that Zinc has been

Re: [Flashcoders] ASDocDesktop - Easy documentation generation

2008-03-06 Thread Shang
of Eclipse or other tools to generate ASDoc, but just to provide an easy-way to do it :) Shang, I'll check your AIR appli asap ! Best regards, Cedric On Thu, Mar 6, 2008 at 11:59 AM, Muzak [EMAIL PROTECTED] wrote: If you have FlexBuilder/Eclipse - which you should ;-) - you can easily use ASDoc

Re: [Flashcoders] ASDocDesktop - Easy documentation generation

2008-03-06 Thread Shang
I did something to improve asdoc, too. :) It's in AIR. http://shang-liang.com/blog/dita-a-asdoc-gui/ On Wed, Mar 5, 2008 at 6:20 AM, Cédric Tabin [EMAIL PROTECTED] wrote: Hello guys, I just developed a little application to easly generate the AS documentation of a project. You can find

Re: [Flashcoders] Flash is full of surprises. I will show you how to move movie-clip using a reference to another deleted clip.

2008-03-10 Thread Shang
You are right about the _root.star_mc thing. I think it's more like _root[star_mc]. If you add your 2nd movie clip but not naming it as star_mc I'm sure mc._x = 100 will not work. On Mon, Mar 10, 2008 at 12:39 AM, Keith [EMAIL PROTECTED] wrote: //-- You only removed the MovieClip.

Re: [Flashcoders] I have a flash question for you.

2006-11-21 Thread shang liang
won't work. I found some javascript code from http://forum.java.sun.com/thread.jspa?threadID=416158messageID=1843761 I've tried it and it works. Start from there and send the event to flash. Cheers, Shang On 11/22/06, Alfonso Elenes [EMAIL PROTECTED] wrote: I have a flash question for you. I am

Re: [Flashcoders] connecting excel spread sheet to Flash

2006-11-22 Thread shang liang
I have just done something like that. I used excel save as xml method. One thing you need to notice is that, this line ?mso-application progid=Excel.Sheet? gives some problem. use this code to solve it, http://www.daniweb.com/techtalkforums/thread37915.html Hope this helps. On 11/22/06, nik

Re: [Flashcoders] TextInput receive focus with flashing cursor?

2006-11-24 Thread shang liang
I checked the javascript method before. Only works in IE and there's no work around found for Firefox. You have to play some trick to the user. Ask them to click at it first. On 11/24/06, Miguel Angel Sánchez [EMAIL PROTECTED] wrote: Flash movie has to have the focus to display the flashing

Re: [Flashcoders] perspective texture mapping

2006-12-01 Thread shang liang
Not sure whether you've seen this. http://www.flashsandy.org/ On 11/30/06, Boon Chew [EMAIL PROTECTED] wrote: I am investigating the different ways one can implement or simulate perspective texture mapping both using Flash 8 API (e.g. with bitmapdata) and without using Flash 8 API (without

Re: [Flashcoders] Screensavers...

2006-12-04 Thread shang liang
I use screentime. It's not free but quite some features and it supports mac too. On 12/4/06, John Hattan [EMAIL PROTECTED] wrote: I've done screensavers with Screenweaver and had good luck. The one thing that puts it ahead of Zinc for screensavers is that you can set up an SWF file to appear as

Re: [Flashcoders] RE: Keyboard accessibility and sliders

2006-12-04 Thread shang liang
I think you can use onKillFocus and onSetFocus. When onSetFocus. Your key listners always update the current focus scrollbar (e.g. set a reference as currScrollbar) when onSetFocus, currScrollbar=this On 12/5/06, Dave Wood [EMAIL PROTECTED] wrote: Hi Dan Thanks for your comments. The use of

Re: [Flashcoders] Random between, with sticklers

2006-12-04 Thread shang liang
I thought of something. function randomRange( min, max, currNum):Number { if(Math.random()0.5){ max=currNum; }else{ min=currNum; } return Math.round(Math.random()*(max-min))+min; }; On 12/5/06, eric dolecki [EMAIL PROTECTED] wrote: I'd like to get a random number between

Re: [Flashcoders] Random between, with sticklers

2006-12-05 Thread shang liang
yup, you are correct. No point of setting two ranges, plus 1 or minus 1 is good enough. Thanks. On 12/5/06, Danny Kodicek [EMAIL PROTECTED] wrote: I thought of something. function randomRange( min, max, currNum):Number { if(Math.random()0.5){ max=currNum; }else{

Re: [Flashcoders] Extracting file details

2006-12-05 Thread shang liang
http://www.phpclasses.org/browse/package/1653.html On 12/6/06, Helmut Granda [EMAIL PROTECTED] wrote: Maybe this is not the right list but I thought I would give it a shot. Is there anyway to get file details like FPS, BG Color and such from a SWF? with flash or with PHP? TIA for any ideas...

Re: [Flashcoders] passing parameters to function on context menu

2006-12-08 Thread shang liang
var cm:ContextMenu=new ContextMenu(cmHandler); function cmHandler(){ trace(menu open); } var item1=new ContextMenuItem(item 1, itemHandler); item1.value=1; cm.customItems.push(item1); function itemHandler(obj, item){ trace(item value: +item.value); } this.menu=cm; On 12/8/06,

Re: [Flashcoders] FLV video and How did they do it?

2006-12-08 Thread shang liang
Myth bustered! There's no special effect or complicated streaming from FMS. I downloaded it's flv file and put in my flash. If you scale the video 50%, or anything less than 100%, you will get the aliased effect (are u sure it's an effect?), if you scale it back to 100%, the thing shows normal.

Re: [Flashcoders] MX transitions: Website that shows examples?

2006-12-14 Thread shang liang
I love mc_tween! http://hosted.zeh.com.br/mctween/ -- /* Bored, sometimes. */ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by

Re: [Flashcoders] Resrict number of lines input textfield

2006-12-20 Thread shang liang
You can check textfield.maxscroll On 12/20/06, Danny Kodicek [EMAIL PROTECTED] wrote: Hi all, I need to restrict user input to a certain number of lines in a textfield. Flash 8, AS2. After an extensive search something like this showed up: //txtFld is obviously the TextField, n is the