Re: [Flashcoders] Load centered images in movie clip - Heeelp!

2006-02-15 Thread Ramon Tayag
The problem lies in loadMovie. Locally, the picture is already loaded, so when you ask for the pic properties, the computer can give it to you already. Online, however, you'll be downloading the picture while trying to find out its dimensions. Use MovieClipLoader, and use the listener

[Flashcoders] Flash window coming out small on some IE browsers

2006-02-15 Thread Ramon Tayag
Hey guys, This is really strange, and is kinda OT coz it's not actionscript related. It's more about the Flash Player Detection Kit. http://test.quirkworks.net/skin/ comes out small only in some IE browsers (15% of the people i've asked), and I can't seem to figure out why. If you see the

[Flashcoders] A nice whiteboard/scribble/drawing thing

2006-02-09 Thread Ramon Tayag
Hey everyone, Are there nicely free, coded, neat, and object oriented whiteboard/scribble programs out there? If there aren't, are there ones that are close to what I described? I looked around in the Flashkit applications and downloaded about half a dozen.. I'm hoping there are more out there

Re: [Flashcoders] A nice whiteboard/scribble/drawing thing

2006-02-09 Thread Ramon Tayag
Jobe, Thank you :) I plan to do mine using AMFPHP. It's not so much the backend I'll have to study, but more the Flash aspect of it. The sample I'm looking for does not have to be multi-user. Thanks, On 2/9/06, Jobe Makar [EMAIL PROTECTED] wrote: Hi Ramon, I'm not aware of a free

Re: [Flashcoders] A nice whiteboard/scribble/drawing thing

2006-02-09 Thread Ramon Tayag
James, Sorry, I'm not sure what you mean by sharing the work. You want me to append it to a current project so that you can share the sourcecode with me? :o If that's the case, please mail me privately. Thanks! On 2/9/06, James Deakin [EMAIL PROTECTED] wrote: I have one which I wrote. I have

[Flashcoders] Outsourcing

2006-02-08 Thread Ramon Tayag
To all those in developed countries: Do you outsource your work to developing countries? Is there such a high demand for Flash overseas that there is a need to outsource? Thank you, -- Ramon Miguel M. Tayag ___ Flashcoders mailing list

Re: [Flashcoders] Audio Chat

2006-02-07 Thread Ramon Tayag
Thank you! Will do much reading now. On 2/8/06, Chris Allen [EMAIL PROTECTED] wrote: You can also use Red5 http://osflash.org/red5 or Flash Media Server for this. -Chris -- Ramon Miguel M. Tayag ___ Flashcoders mailing list

Re: [Flashcoders] EventDispatcher.removeEventListener

2006-02-06 Thread Ramon Tayag
yup, check out gDispatcher by Mr. Skinner. You can google it. On 2/6/06, Simen Brekken [EMAIL PROTECTED] wrote: I'm having some issues with EventDispatcher, specifically removeEventListener and delegates. The problem arises when I want to remove an existing event listener but the target

Re: [Flashcoders] How do you code your Flash applications?

2006-02-02 Thread Ramon Tayag
Hey Anggie, Hello from a neighbor. I'm no guru, but I am OC (obsessive compulsive) when it comes to keeping my code clean. 1) If I can help it, I keep all my code in one place. All in one frame, all the better. All in one swf? Better yet. 2) I don't keep the actual code in the FLA but I

Re: [Flashcoders] Naming conventions for AS2.0 ...

2006-02-01 Thread Ramon Tayag
I use oListener:Object; bIsReady:Boolean sText:String; tf:Textfield; mcHolder:MovieClip; mcl:MovieClipLoader; Yeah I don't think prefixes are recognized elsewhere but it takes a bit of effort to type _ (underscore) because it's out of the way for me Mon On 2/2/06, Bjorn Schultheiss [EMAIL

Re: [Flashcoders] Can AttachedVideo be Controlled by a Class?

2006-01-30 Thread Ramon Tayag
You'll have to attach the video manually on the stage.. but that also mean u won't need the video holder mc anymore. Just reference the video object when you creat ethe class var foo = new foo(video); On 1/31/06, Steven Loe [EMAIL PROTECTED] wrote: Can attachedVideo be controlled by a class? I

Re: [Flashcoders] setInterval interfering with Sound

2006-01-27 Thread Ramon Tayag
Try commenting out the line that makes the light flash - but still fire the interval. If it doesn't interfere anymore, then that means it's the drawing of the light that interferes. On 1/28/06, Jack H [EMAIL PROTECTED] wrote: Has anyone experienced an interval stopping sounds? I made a

Re: [Flashcoders] fscommand('exec', 'myprogram.exe') WITHOUT a projector?

2006-01-27 Thread Ramon Tayag
I suppose it's because when a user runs an exe, they are supposed to understand the risks. A swf was designed for the web, and allowing a swf from a browser to do all those System calls would be dangerous. On 1/28/06, John Grden [EMAIL PROTECTED] wrote: I guessed as much. it's interesting to

Re: [Flashcoders] FLash 8, standAlone shows getBytesTotal undefined, IDE ok

2006-01-26 Thread Ramon Tayag
How does your own loader load? What does it use to load? Thanks, On 1/26/06, Martin Weiser [EMAIL PROTECTED] wrote: Hello guys, strange thing, I use my own loader class, not MovieClipLoader in flash 8 IDE it works ok, because it is controled by the getBytesLoaded/getBytesTotal ratio,

Re: [Flashcoders] LoadMovie Problem with JPEGs

2006-01-22 Thread Ramon Tayag
You'll need a holder of sorts: ImageHolder movieclip that holds all the info including the ImageMC which actually displays the picture On 1/23/06, Robert Sandie [EMAIL PROTECTED] wrote: Having a problem loading in an image within an AS2 class and LoadMovie with jpegs. It loads the image

Re: [Flashcoders] LoadMovie Problem with JPEGs

2006-01-22 Thread Ramon Tayag
sorry! disregard my post.. On 1/23/06, Ramon Tayag [EMAIL PROTECTED] wrote: You'll need a holder of sorts: ImageHolder movieclip that holds all the info including the ImageMC which actually displays the picture On 1/23/06, Robert Sandie [EMAIL PROTECTED] wrote: Having a problem loading

Re: [Flashcoders] Stolen content

2006-01-19 Thread Ramon Tayag
Sorry I really don't understand what you mean.. Someone got your links? On 1/19/06, franto [EMAIL PROTECTED] wrote: sure, you right, it was not my examples, it's content of my blog, link which i collected from many sites, digging, storing, writing then to the post, 1 update of post when I

Re: [Flashcoders] BitmapData question

2006-01-19 Thread Ramon Tayag
Here, force to bitmap class that I made: http://www.flashkit.com/board/showthread.php?t=659163highlight=force+bitmap On 1/20/06, Matt Muller [EMAIL PROTECTED] wrote: Hi, does anyone know if its possible to use getPixel or something like that to take a snapshot of a movieclip that contains some

Re: [Flashcoders] my old problem... with big loads of swf's

2006-01-18 Thread Ramon Tayag
I don't believe there is any way to fix this - just like if you launch Photoshop while playing an animation, it's gonna stutter. I wanted to do something like this before. I had to search through a large XML, and I didn't want the computer to freeze while the search took place because the search

Re: [Flashcoders] 2 Issues Optimizing JPGs and Memory Problem?

2006-01-13 Thread Ramon Tayag
Hi Loren, On 1/13/06, Loren R. Elks [EMAIL PROTECTED] wrote: OK. Here's the first one. I know if you try to compress an already compressed image (like a jpg), that artifacts will result. So, when using jpgs in Flash, should you first optimize as much as possible in Photoshop then place in

Re: [Flashcoders] priority for downloading content

2006-01-12 Thread Ramon Tayag
Question #1: I'd like to set some kind of priority for content, sound etc. so if, say, there's a need to download important content, less important content won't start loading? Note: I know about queues, but need smth different. Question #2: Is there a way to stop

Re: [Flashcoders] onSoundComplete

2006-01-12 Thread Ramon Tayag
It works just fine with me. Before I start, I make sure I fill up the TLEN of all the songs. I use TLEN for another reason but that's the only thing I can think of that I do to all my files. It might work. Goodluck On 1/13/06, Lance Massey [EMAIL PROTECTED] wrote: onSoundComplete does not

Re: [Flashcoders] priority for downloading content

2006-01-12 Thread Ramon Tayag
No problem :) I tried deleting the host movieclip, deleting the movieclip loader, unloading the movie that contains the movieclip loader. Somehow it transfers the actual loading to the root movieclip. If ever, you could have a separate embedded Flash movie in the website and you can make the

Re: [Flashcoders] Keypoints in a .mp3

2006-01-04 Thread Ramon Tayag
If you want to know the length of the song (because duration only gives you how much has been downloaded), you can put it into the TLEN of the ID3 V2 tag. You can use onID3 of the sound object to find out when the ID3 tags have been downloaded. Please note that if you have ID3 V2 and ID3 V1,

[Flashcoders] help! class in external swf retains its interval even after close

2005-12-13 Thread Ramon Tayag
Hey everone, I have a movie that uses loadClip to load an external swf to, let's say, mcBlank. That external swf uses a class that furthermore uses several other classes. One of those classes has intervals that continually dispatch an event. Now, to close that popped up window, I 1) unloadClip

Re: [Flashcoders] help! class in external swf retains its interval even after close

2005-12-13 Thread Ramon Tayag
I see, so intervals are located, in some sense, in the root clip? On 12/13/05, eugen pflüger [EMAIL PROTECTED] wrote: you have to delete the interval explicit: intervalName = setInterval(); clearInterval(intervalName); Am 13.12.2005 um 10:58 schrieb Ramon Tayag: Hey everone

Re: [Flashcoders] help! class in external swf retains its interval even after close

2005-12-13 Thread Ramon Tayag
PROTECTED] wrote: yeah, they are pretty nasty sometimes. they even stay active when you load a new swf in root. sometime ago i got this link from jim: http://www.kennybunch.com/index.php?p=16 Am 13.12.2005 um 11:33 schrieb Ramon Tayag: I see, so intervals are located, in some sense

Re: [Flashcoders] external jpg resize script

2005-12-07 Thread Ramon Tayag
Hi, You can resize the stage real time? I wasn't aware of that. If you mean you want to resize the picture when it loads to whatever the stage is, use MovieClipLoader. Read up on it, and pay particular attention to onLoadInit - that's where you put your resize code. Mon On 12/7/05, Brumm,

Re: [Flashcoders] XML question

2005-12-07 Thread Ramon Tayag
use Delegate - import mx.utils.Delegate; var a:Array = new Array(); .. .. main.onLoad = Delegate.create(this, populateXML); function populateXML():Void { trace(a); } Goodluck, On 12/7/05, Flash guru [EMAIL PROTECTED] wrote: Hey all, here's the code i'm working

Re: [Flashcoders] urgent

2005-12-07 Thread Ramon Tayag
Sorry, I don't understand what you mean. The code doesn't seem like it'll even execute. What's your question? Mon On 12/6/05, Mohammad Sajid [EMAIL PROTECTED] wrote: in flash how to cordinate moive name with variable like trace(_root[box_m add i].d+(j).txt1) -- Ramon Miguel M. Tayag

Re: [Flashcoders] Flash Audio stream

2005-12-07 Thread Ramon Tayag
mpeg... layer 3? that's mp3. Yes, flash can do that quite simply. Mon On 12/7/05, Fredrik Lantz [EMAIL PROTECTED] wrote: Hi i have an easy question, i am trying to play a music stream from the web, the stream is in mpeg format. Is it possible for flash to play this or should i just drop it?

[Flashcoders] xml, atomic values, special chars

2005-12-01 Thread Ramon Tayag
Hey everyone, How do I properly render text that was pulled from an atomic value? For example, here's the node: a attrib=name1This is the atomic value. It's so cool./a Getting the child node of that node a and tracing it in flash gives me: This is the atomic value. Itapos;s so cool. How do I

Re: [Flashcoders] Navigate through XML

2005-12-01 Thread Ramon Tayag
You mean something like XPath? http://www.xfactorstudio.com/ActionScript/AS2/XPath/ On 12/2/05, Mike Boutin [EMAIL PROTECTED] wrote: Does anyone have any good links for explaining how to navigate through an xml object? ___ Flashcoders mailing list

Re: [Flashcoders] xml, atomic values, special chars

2005-12-01 Thread Ramon Tayag
:58, Ramon Tayag [EMAIL PROTECTED] wrote: Tried it just now - strange.. I read before that using those tags forces the text to stay the way it is. Any other suggestions? Thank you! On 12/2/05, Mike Boutin [EMAIL PROTECTED] wrote: Have you tried somethign like a attrib=name1![CDATA

Re: [Flashcoders] xml, atomic values, special chars

2005-12-01 Thread Ramon Tayag
I was able to fix it; but I see now what was wrong. For the reference of others: Make sure you call the atomic data by node.childNodes[0].nodeValue I traced out node.childNodes[0] directly - that's why it wasn't tracing properly. Thanks guys! -- Ramon Miguel M. Tayag

Re: [Flashcoders] Change object in xpath

2005-12-01 Thread Ramon Tayag
ttTotal is an array though. But yes, if you get an elements, let's say ttTotaltt[0], you can treat that as if it were an XML file and use it further on other queries. Mon On 12/2/05, Mike Boutin [EMAIL PROTECTED] wrote: productNames = XPath.selectNodes(catalog_xml,