Re: [Flashcoders] Chinese / Japanese Text Input

2006-02-02 Thread Kenneth Kawamoto
of the font settings. Kenneth Kawamoto www.materiaprima.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Chinese / Japanese Text Input

2006-02-02 Thread Kenneth Kawamoto
), that is predicted outcome. I'm not convinced - or are you talking about European character sets? Kenneth Kawamoto www.materiaprima.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] RIA patent granted

2006-03-02 Thread Kenneth Kawamoto
Never mind the breathing, your DNA itself is patented: your existence is in bleach of the U.S. patent law! http://news.nationalgeographic.com/news/2005/10/1013_051013_gene_patent.html Kenneth Kawamoto www.materiaprima.co.uk On 3/2/06, Serge [EMAIL PROTECTED] wrote: What do you say

[Flashcoders] If not Zinc, then what?

2006-03-29 Thread Kenneth Kawamoto
for 24 hours continuously, so that's absolutely fine. But can anyone tell me if you have successfully developed 24/7 app using Flash wrapped in Zinc/SWFStudio/mProjector/Screenweaver without having issues such as memory leaks? Kenneth Kawamoto www.materiaprima.co.uk

[Flashcoders] If not Zinc, then what?

2006-03-29 Thread Kenneth Kawamoto
and it's stable I'd look into SWF Studio (no OSX is bad though!) Kenneth Kawamoto www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo

Re: [Flashcoders] Will this Microsoft ActiveX update affect Flash?

2006-04-08 Thread Kenneth Kawamoto
as before. I thought you will not see the SWF at all until you click on the dialogue box. Kenneth Kawamoto www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com

Re: [Flashcoders] Will this Microsoft ActiveX update affect Flash?

2006-04-08 Thread Kenneth Kawamoto
-XP, both at the same time on Intel Mac...? Wow, I really want Intel Mac now. Kenneth Kawamoto www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman

Re: [Flashcoders] DCR (was (no subject))

2006-04-29 Thread Kenneth Kawamoto
Is there anyway to convert shockwave dcr files to video files ? This is a Director question - anyway, you can use screen capture software to make a video file from whatever on the screen. Kenneth Kawamoto www.materiaprima.co.uk ___ Flashcoders

Re: [Flashcoders] DCR (was (no subject))

2006-04-29 Thread Kenneth Kawamoto
Doesn't Director export Quicktime of Avi Files? Yes it does, and you can actually just import the DCR and place it on the Stage, then export as MOV/AVI, if it's a linear animation. Kenneth Kawamoto www.materiaprima.co.uk ___ Flashcoders

Re: [Flashcoders] Deafening silence on Unicode

2006-05-30 Thread Kenneth Kawamoto
-16BE, if it's 0xFF then UTF-16LE, and if there's no BOM it will be treated as UTF-8. I don't think Flash can handle any other encodings. Kenneth Kawamoto http://www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription

[Flashcoders] Get Original Variable's Name in Function?

2006-05-30 Thread Kenneth Kawamoto
(moo); // Output foo: ABC moo: DEF OK, this is not really retrieving the name of the variable therefore cannot be trusted... Kenneth Kawamoto http://www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options

[Flashcoders] Get Original Variable's Name in Function?

2006-05-30 Thread Kenneth Kawamoto
Also, the this[varName] assumes that the variable is a property of this, while local scope variables won't be. Yes, this will only work in the situation set in the original posters example. I said cannot be trusted because of that but should have stated clearly. Kenneth Kawamoto http

[Flashcoders] Deafening silence on Unicode

2006-05-30 Thread Kenneth Kawamoto
it will actually happen. I personally don't deal with any Unicode data in Director but only within embedded Flash. I know some people have done that though: go to Direct-L and post your question there. Kenneth Kawamoto http://www.materiaprima.co.uk

Re: [Flashcoders] brp won't render

2006-06-22 Thread Kenneth Kawamoto
I'm not sure why, but this is the way it is. May be someone on the list can answer the reason behind this. Kenneth Kawamoto http://www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive

Re: [Flashcoders] brp won't render

2006-06-22 Thread Kenneth Kawamoto
= pLine 1/ppLine 2/ppLine 3/p; Kenneth Kawamoto http://www.materiaprima.co.uk ___ 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

Re: [Flashcoders] How to japanese people embed fonts?

2006-06-30 Thread Kenneth Kawamoto
for dynamic texts. For static texts you don't need to embed fonts at all. Kenneth Kawamoto http://www.materiaprima.co.uk/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman

Re: [Flashcoders] How to japanese people embed fonts?

2006-06-30 Thread Kenneth Kawamoto
, and embed bold, italic and bold-italic styles. After that you can mix all these styles in one TextField. However this has a heavy penalty - about 9MB for just one font. Use _sans or _serif as in Zeh's post… Kenneth Kawamoto http://www.materiaprima.co.uk

Re: [Flashcoders] _global.styles.TextArea.embedFonts=true - problem

2006-07-27 Thread Kenneth Kawamoto
; But it won't work with html=true, my theory is because Flash adds font tag with its face set to the default font (Times New Roman) which is not embeded in your TextArea therefore nothing will be displayed. Kenneth Kawamoto http://www.materiaprima.co.uk

Re: [Flashcoders] crossdomain

2006-08-10 Thread Kenneth Kawamoto
there the settings would have to be set for each manchine // the runs, is that true ? /If you're creating a Projector, the local Sandbox rule won't apply, i.e. you can load remote contents without setting anything specifically. That's my understanding. Kenneth Kawamoto http://www.materiaprima.co.uk

Re: [Flashcoders] Fonts in loaded movieclips

2006-08-18 Thread Kenneth Kawamoto
other than in the first frame.)) Your child movie's Library must have the font set to import though. Kenneth Kawamoto http://www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http

Re: [Flashcoders] weird htmlText problem...

2006-09-11 Thread Kenneth Kawamoto
At least you need to add this: mTitle.multiline = true; -- // Kenneth Kawamoto (on the road) // materia prima limited // [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] // www.materiaprima.co.uk http://www.materiaprima.co.uk quote Ok, I've got a class that I've used that all it does is take

[Flashcoders] MovieClipLoader Class and Simulate Download

2006-09-22 Thread Kenneth Kawamoto
(); }; this.createEmptyMovieClip(mc, 1); mcl.loadClip(1.swf, mc); stop(); // The code above crashes IDE in Simulate Download mode, but nowhere else. Do you guys have any ideas for why? -- // Kenneth Kawamoto (on the road) // materia prima limited // [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] // www.materiaprima.co.uk

Re: [Flashcoders] Function and Conditions

2006-09-26 Thread Kenneth Kawamoto
Hi Laurent, You can do something like this: // parent1.onPress = function() { this.child1._xscale = 200; this.child1.onPress = function() { this._x += 25; }; delete this.onPress; }; // // Kenneth Kawamoto (on the road) // materia prima limited // [EMAIL PROTECTED] mailto

Re: [Flashcoders] Double byte character input - any hints and tips?

2007-02-12 Thread Kenneth Kawamoto
Unlike Arabic, Japanese is LTR (at least for the last 100 or so years) on computer so you won't have any issues like that. On paper, on the other hand, Japanese is traditionally TTBRTL (top to bottom, right to left) but I assume you're not doing that... Kenneth Kawamoto http

Re: [Flashcoders] Can Flash or Director open a browser window with limited chrome

2007-03-16 Thread Kenneth Kawamoto
. // Kenneth Kawamoto // www.materiaprima.co.uk I'm working on a CD-ROM deployment of the content in a website. I'd like to create a standalone projector (Flash or Director) and use it to navigate to parts of the main HTML content. Does anybody know what tools or code I can use to: 1- open

Re: [Flashcoders] another setInterval question

2007-03-27 Thread Kenneth Kawamoto
); }; buttonInstance.onRollOut = function():Void { startTimer(func, ms-timeLapsed); }; // startTimer(autoPilot, 5000); function autoPilot():Void { trace(autoPilot); } Kenneth Kawamoto http://www.materiaprima.co.uk quote I have got a setInterval like this: - var autoID = setInterval(autoPilot

Re: [Flashcoders] Flash CS3 Announced

2007-03-30 Thread Kenneth Kawamoto
apply this XML to any object on Stage using fl.motion.Animator Class? Also this means you can create complex animation using just XML. Very interesting... Kenneth Kawamoto http://www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your

Re: [Flashcoders] Flash CS3 Announced

2007-03-30 Thread Kenneth Kawamoto
Yes I'm very (pleasantly?) surprised about this too. And all new QuickTime export - I'm not sure if I'll ever use this feature but nice anyway. Kenneth Kawamoto http://www.materiaprima.co.uk Merrill, Jason wrote: yes did you think I didn't understand it was XML? I meant I was confused

Re: [Flashcoders] The great CS3 Swindle

2007-03-31 Thread Kenneth Kawamoto
the products for even lower than the US. It's a shame that Adobe Japan does not list any CS3 products yet, especially the localization to Japan is such an easy task, shouldn't take any time at all. Kenneth Kawamoto http://www.materiaprima.co.uk Why are European products more expensive than UE

Re: [Flashcoders] Displaying Chinese character set via XML

2007-07-26 Thread Kenneth Kawamoto
, with SimSun all Chinese characters embedded. Then used makeXMLSA() to parse an XML with Chinese text. It displays just fine. (But the SWF is 6.5MB) By the way there's no need to wrap the text with CDATA unless you want to escape illegal characters. Kenneth Kawamoto http://www.materiaprima.co.uk/ I

[Flashcoders] Animating sprite.graphics.lineTo

2008-01-30 Thread Kenneth Kawamoto
will create an Object (let's call it v) with a property x, which you tween from x1 to x2. Then onUpdate, you just do lineTo(v.x, a * v.x + b). Simple. Sorry if this is already answered (I'm on digest). Kenneth Kawamoto http://www.materiaprima.co.uk/ Tried on another Flash list without any luck, so

Re: [Flashcoders] How to call class method from a movieclip?

2008-01-30 Thread Kenneth Kawamoto
function myMethod like this: MyClass(parent).myMethod(); Kenneth Kawamoto http://www.materiaprima.co.uk/ Irene Johansson wrote: Hello! I am having a big problem, hope someone can help me. I have made a class which i import in my flash file. The first and only frame of the file looks like

Re: [Flashcoders] AS2 Delegate event won't fire in my multi swf load class

2008-01-31 Thread Kenneth Kawamoto
Your code works fine if you just change var tmpFun:Function = mcLoaded; to var tmpFun:Function = Delegate.create(this, mcLoaded); as Glen said, and also change var tempLoad:LoadObj = itemsToLoad_ar[arRef]; to var tempLoad:Object = itemsToLoad_ar[arRef]; Kenneth Kawamoto http

Re: [Flashcoders] FLVPlayback

2008-02-01 Thread Kenneth Kawamoto
Just fire FLVPlayBackInstance.stop(); when you are leaving the current frame. Kenneth Kawamoto http://www.materiaprima.co.uk/ Irene Johansson wrote: Hello! I am having a FLVPlayback component inside a movieclip. Now when video is playing and i click on main menu to go to a different section

Re: [Flashcoders] dynamically including MC's

2008-02-01 Thread Kenneth Kawamoto
In AIR you can use File.getDirectoryListing() or File.getDirectoryListingAsync() - but I presume you are talking about SWF in browser... Kenneth Kawamoto http://www.materiaprima.co.uk/ Ted Lehr wrote: I want to have a folder where I can throw in some swf's then have another mc

Re: [Flashcoders] Animating sprite.graphics.lineTo

2008-02-01 Thread Kenneth Kawamoto
}; this.graphics.lineStyle(1); this.graphics.moveTo(x1, x1); TweenLite.to(v, 3, {x:x2, onUpdate:drawLine}); } private function drawLine():void { this.graphics.lineTo(v.x, a * v.x + b); } Kenneth Kawamoto http://www.materiaprima.co.uk/ Leandro Ferreira wrote: You could do

Re: [Flashcoders] Creating a Projector for the Mac on a PC, and dealing with file references

2008-02-01 Thread Kenneth Kawamoto
and Mac sectors on CD because you can share them using aliases. You can obviously do autorun on PC sector of the CD, but not for Mac sector - but Mac users generally know how to use CD ROMs so no problem there ;) You can at least make the Mac disk image with folder open. Kenneth Kawamoto http

Re: [Flashcoders] static vars / constatnts in Movie Clips - Flash CS3

2008-02-01 Thread Kenneth Kawamoto
Works fine for me... How are you creating SomeClass instance? Kenneth Kawamoto http://www.materiaprima.co.uk/ Robin Burrer wrote: Hi All, I want do declare a constant in a class that extends the Movieclip class. That all works fine in Flexbuilder: public class SectionButton extends

Re: [Flashcoders] Resizing a background image only.And keeping aspect ratio.

2008-02-03 Thread Kenneth Kawamoto
; picture_mc.height = picture_mc.width/picRatio; } else { picture_mc.height = stage.stageHeight; picture_mc.width = picture_mc.height*picRatio; } } Kenneth Kawamoto http://www.materiaprima.co.uk/ Vlado Krempl wrote: Hello everyone, Question: (Using actionscript 3) How to scale just

Re: [Flashcoders] Resizing a background image only.And keeping aspectratio.

2008-02-03 Thread Kenneth Kawamoto
- picture_mc.height)/2); } (You could add where to anchor the image too, so that eyes are always seen, for example.) Kenneth Kawamoto http://www.materiaprima.co.uk/ Vlado Krempl wrote: Kenneth, Works fantastic. Thanks. One problem though, in the browser ( IE ) the image shows up small and only

Re: [Flashcoders] Resizing a background image only.And keeping aspectratio.

2008-02-03 Thread Kenneth Kawamoto
{ fillStage(); } (this example is using Loader to load the image and adding it to picture_mc) By the way your HTML does not display Flash content on Firefox (Mac). Kenneth Kawamoto http://www.materiaprima.co.uk/ Vlado Krempl wrote: Kenneth, Your script is perfect. Except this happensclick

Re: [Flashcoders] Resizing a background image only.And keepingaspectratio.

2008-02-04 Thread Kenneth Kawamoto
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Insert new symbol

2008-02-04 Thread Kenneth Kawamoto
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] urgent angle problem

2008-02-05 Thread Kenneth Kawamoto
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] urgent angle problem

2008-02-05 Thread Kenneth Kawamoto
Oh, sorry Glen List. This was the mail sent out from me. Is the List dodgy again??? -- Try: if (angle0) { angle += 360; } Kenneth Kawamoto http://www.materiaprima.co.uk/ Glen Pike wrote: Dude, how come you keep sending empty emails to the list?? Kenneth Kawamoto wrote

Re: [Flashcoders] AS3 Function question

2008-02-07 Thread Kenneth Kawamoto
function someFunction(... args):void { trace(args); } Kenneth Kawamoto http://www.materiaprima.co.uk/ Sidney de Koning wrote: Hi list, I have a function in AS3, and it takes two arguments, but sometimes i want it to have 1 argument. But when i run it now it errors: 1136: Incorrect

Re: [Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)

2008-02-07 Thread Kenneth Kawamoto
: skinClass: [class Circle] Kenneth Kawamoto http://www.materiaprima.co.uk/ Meinte van't Kruis wrote: I find the following: When following the methods described by Daryl Theo (at http://darylteo.com/blog/2007/11/16/abstracting-assets-from-actionscript-in-as30-asset-libraries/ ) to duplicate

Re: [Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)

2008-02-07 Thread Kenneth Kawamoto
the noise! Kenneth Kawamoto http://www.materiaprima.co.uk/ Kenneth Kawamoto wrote: private function onComplete(e:Event):void { var appDomain:ApplicationDomain = e.target.loader.contentLoaderInfo.applicationDomain; var skinClass:Class = appDomain.getDefinition(getQualifiedClassName

Re: [Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)

2008-02-07 Thread Kenneth Kawamoto
the player version installed with SWFObject and do the ExpressInstall if Moviestar is not present? (The last time I checked, the ExpressInstall was not working on Mac at all though, but that's another matter...) Kenneth Kawamoto http://www.materiaprima.co.uk/ Meinte van't Kruis wrote: Actually

Re: [Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)

2008-02-08 Thread Kenneth Kawamoto
Changing to Event.INIT and catching IOErrorEvent.IO_ERROR had no effect, but it's interesting the player thinks it's an AVM1 movie... Using Symbol Class is better solution anyway, since if you use the Document Class, your asset will include entire Stage too. Kenneth Kawamoto http

Re: [Flashcoders] send email from project on local machine

2008-02-08 Thread Kenneth Kawamoto
Projector will have no local security imposed, i.e. you do not need to place your Projector in a web server or anything to connect to internet. Kenneth Kawamoto http://www.materiaprima.co.uk/ sense co moh wrote: Hi all I have Kiosk machine we put it in mall it's normal PC and I made flash

Re: [Flashcoders] getDefinitionByName and error #1009

2008-02-08 Thread Kenneth Kawamoto
){ trace(catch error2:+e2); } } } } } not sure if this helps though... Kenneth Kawamoto http://www.materiaprima.co.uk/ Marcelo Volmaro wrote: Hi!, I'm trying to do something

Re: [Flashcoders] getDefinitionByName and error #1009

2008-02-08 Thread Kenneth Kawamoto
From timeline? import extremefx_comar.i18n.locales.EN_US; trace(EN_US.test); var n:String = extremefx_comar.i18n.locales.EN_US; var klass:Class = getDefinitionByName(n) as Class; trace(klass); var ca:Object = new klass(); trace(ca); Output: boo [class EN_US] [object EN_US] Kenneth Kawamoto

Re: [Flashcoders] E4X Non sense !!! Need help

2008-02-15 Thread Kenneth Kawamoto
Try: trace(xmlData.accesscode.(shortcut.contains(S001))); Kenneth Kawamoto http://www.materiaprima.co.uk/ Martin Tremblay wrote: EX4 cannot find a node using E4X when one of it's sibling has the same name. Is there a way to avoid this problem ? var xmlData:XML = root accesscode id

Re: [Flashcoders] RE: E4X Non sense !!! Need help

2008-02-15 Thread Kenneth Kawamoto
test=uyiy/ short test=fgds/ /accesscode /root; trace(xmlData.accesscode.short.(@test == S001)); trace(xmlData.accesscode.short.(@test == S001).toXMLString()); Kenneth Kawamoto http://www.materiaprima.co.uk/ ___ Flashcoders

Re: [Flashcoders] E4X Non sense !!! Need help

2008-02-15 Thread Kenneth Kawamoto
..or perhaps these are more true to the original: trace(xmlData.accesscode.(shortcut.children()[0] == S001)); trace(xmlData.accesscode.(shortcut.text()[0] == S001)); Kenneth Kawamoto http://www.materiaprima.co.uk/ Patrick Matte | BLITZ wrote: Nice! BLITZ | Patrick Matte - 310-551-0200 x214

Re: [flashcoders] copy to clipboard

2008-02-18 Thread Kenneth Kawamoto
I don't know if you can do that in Flex, but there's Clipboard class in AIR: Clipboard.generalClipboard.setData(ClipboardFormats.TEXT_FORMAT, yourString); Kenneth Kawamoto http://www.materiaprima.co.uk/ laurent wrote: Hi list, Is it possible to copy a string to the clipboard

Re: [flashcoders] copy to clipboard

2008-02-18 Thread Kenneth Kawamoto
For the record, that's AIR ;) Kenneth Kawamoto http://www.materiaprima.co.uk/ laurent wrote: For clipboarding in flex : http://livedocs.adobe.com/labs/flex3/langref/flash/desktop/Clipboard.html ___ Flashcoders mailing list Flashcoders

Re: [Flashcoders] Dynamically created gradient fill doesn't mask like a gradient

2008-02-19 Thread Kenneth Kawamoto
Turn cacheAsBitmap on! Kenneth Kawamoto http://www.materiaprima.co.uk/ Alistair Colling wrote: Hiya, I think the title sums this up pretty well. I have dynamically created a box that is filled with a gradient where one of the colour's alphas is 100 and the other is 0, I have made the ratios

Re: [Flashcoders] Placing variables in XML

2008-02-19 Thread Kenneth Kawamoto
name first={firstName} last={lastName} / Kenneth Kawamoto http://www.materiaprima.co.uk/ Sidney de Koning wrote: Hi List A short question about XML. When i create XML in Flash i say: var xmlString:XML = employee ssn=789-789-7890 name first=Mary last=Roe/ address street99 Broad St./street

Re: [Flashcoders] AIR - NativeWindow Resizing

2008-02-19 Thread Kenneth Kawamoto
You may want to try something like: stage.nativeWindow.width Kenneth Kawamoto http://www.materiaprima.co.uk/ Corban Baxter wrote: Hey guys I am trying to get my AIR app's window to resize to the dimensions of the FLV that is being displayed. I am not finding what properties i need to use

Re: [Flashcoders] AIR publishing problems

2008-02-26 Thread Kenneth Kawamoto
Yes Flash does generate the descriptor XML. Commands AIR - Application And Installer Settings Kenneth Kawamoto http://www.materiaprima.co.uk/ dave matthews wrote: hi All, FlashCS3 with the newly released AIR additions installed wants a 'descriptor file'! Ah, what is this and why

Re: [Flashcoders] Border color change of UILoader

2008-02-29 Thread Kenneth Kawamoto
= 1; } private function onLdrMouseUp(e:MouseEvent):void { e.target.getChildByName(border).alpha = 0; } } Kenneth Kawamoto http://www.materiaprima.co.uk/ anuj sharma wrote: Hi Kenneth Thanks for reply. When i am trying to use ocusRectSkin

Re: [Flashcoders] Hit Object Question

2008-03-04 Thread Kenneth Kawamoto
I think it's a typo but your BdrRep has no rectangle drawn, and even if you did have the rectangle, toggling the alpha of Sprite underneath will not give you any visual feedbacks... Kenneth Kawamoto http://www.materiaprima.co.uk/ anuj sharma wrote: Hi all I am trying to implement hit object

Re: [Flashcoders] AS2 vs. AS3: instantiate library symbols with a loop string concatenation

2008-03-04 Thread Kenneth Kawamoto
for(var i:uint = 0; i30; i++){ var sym:MovieClip = new (getDefinitionByName(Sym + i) as Class)(); parent_mc.addChild(sym); } Kenneth Kawamoto http://www.materiaprima.co.uk/ jonathan howe wrote: Imagine I have in my library a series of MovieClips with linkage identifiers like so: sym0

Re: [Flashcoders] Hit Object Question

2008-03-04 Thread Kenneth Kawamoto
. Kenneth Kawamoto http://www.materiaprima.co.uk/ anuj sharma wrote: Hi Kenneth Thanks for the reply. So what's the solution of my problem? Thanks Anuj On Tue, Mar 4, 2008 at 1:01 PM, Kenneth Kawamoto [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I think it's a typo but your BdrRep has

Re: [Flashcoders] Hit Object Question

2008-03-05 Thread Kenneth Kawamoto
ColorTransform(); ctfm.color = 0xff; e.target.transform.colorTransform = ctfm; } Kenneth Kawamoto http://www.materiaprima.co.uk/ anuj sharma wrote: How do I change the color of one sprite. I am sorry but I am little unclear of how does it work both toggling or change Sprite color. I am little new

Re: [Flashcoders] calculating distance between two points

2008-03-11 Thread Kenneth Kawamoto
You can use our old friend Pythagoras': c^2 = a^2 + b^2 Kenneth Kawamoto http://www.materiaprima.co.uk/ Lehr, Theodore M (N-SGIS) wrote: How do you calculate the distance between two points with different x and y values? I know it is some simple math formula - I just don't know

Re: [Flashcoders] calculating distance between two points

2008-03-11 Thread Kenneth Kawamoto
Isn't it pointless to do Math.abs() since result is always positive number anyway? ;) Kenneth Kawamoto http://www.materiaprima.co.uk/ Paul Andrews wrote: - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday

Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-13 Thread Kenneth Kawamoto
If you are talking about drawing a rectangle with rounded corners, there is a method drawRoundRect() - cannot be simpler ;) Kenneth Kawamoto http://www.materiaprima.co.uk/ Martin Klasson wrote: Yeah, thats a solution that should work. I am not that good ar the drawing api to be making myself

Re: [Flashcoders] ScrollBar Class issues

2008-03-15 Thread Kenneth Kawamoto
I'd use ScrollPane for this scenario - actually I've never encountered a situation ScrollBar on its own is required...! Kenneth Kawamoto http://www.materiaprima.co.uk/ Allandt Bik-Elliott (Receptacle) wrote: hi all i'm trying to implement a scrollbar using the built-in fl.controls.ScrollBar

Re: [Flashcoders] ScrollBar Class issues

2008-03-15 Thread Kenneth Kawamoto
Then I'd create my own - should not be too complicated ;) Kenneth Kawamoto http://www.materiaprima.co.uk/ Allandt Bik-Elliott (Receptacle) wrote: i want to have the scrollbar as a separate element on the page and not along the entire bottom of the scrolling area - i don't think you can do

Re: [Flashcoders] ScrollBar Class issues

2008-03-15 Thread Kenneth Kawamoto
...or listen to the scroll event and move the Sprite according to the scrollPosition. Kenneth Kawamoto http://www.materiaprima.co.uk/ Allandt Bik-Elliott (Receptacle) wrote: i want to have the scrollbar as a separate element on the page and not along the entire bottom of the scrolling area

Re: [Flashcoders] AS3 Classes and FLA not working together

2008-03-17 Thread Kenneth Kawamoto
No, what I meant was if you're extending MovieClip and placing stop(), then you can just extent Sprite and forget about messy stop(). Kenneth Kawamoto http://www.materiaprima.co.uk/ Andrei Thomaz wrote: Yes, you can put stop() in the first frame and still extend Sprite. I just think

Re: [Flashcoders] AS3 Classes and FLA not working together

2008-03-17 Thread Kenneth Kawamoto
Then why don't you extend Sprite??? Kenneth Kawamoto http://www.materiaprima.co.uk/ Andrei Thomaz wrote: The only problem I had was that I had to make it extend MovieClip, and put a stop() in its first frame. ___ Flashcoders mailing list

Re: [Flashcoders] Tweening Engines for AS3

2008-03-26 Thread Kenneth Kawamoto
behaviour for me earlier this year in a few days. Big respect! Kenneth Kawamoto http://www.materiaprima.co.uk/ Allandt Bik-Elliott (Receptacle) wrote: i've never used tweenlite but i have used tweener and one of the things that blew me away was the ability to tween properties and variables

Re: [Flashcoders] Tweening Engines for AS3

2008-03-26 Thread Kenneth Kawamoto
,-18.35229600138 557.646600239,982.857555999,-11.95869600032 561.916954159,989.646804,-6.92906400039 565.10784494,994.719861,-3.170826000337 567.025885259,997.769268999,-0.911754000872 567.785863499,998.977524999,-0.01665000140608 567.8,999,0 Kenneth Kawamoto http

Re: [Flashcoders] Tweening Engines for AS3

2008-03-26 Thread Kenneth Kawamoto
Kenneth Kawamoto http://www.materiaprima.co.uk/ Cor wrote: Hi Kenneth, That's interesting. How can I tween an Array. Do you perhaps have a little example code? TIA Cor -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Kenneth Kawamoto Verzonden: woensdag 26

Re: [Flashcoders] AS3 MouseEvent target?

2008-03-31 Thread Kenneth Kawamoto
Try setting mouseChildren to false Kenneth Kawamoto http://www.materiaprima.co.uk/ Allandt Bik-Elliott (Receptacle) wrote: hi guys in actionscript 3, if i put a mouse event on a movieclip object containing a textfield, should the mouse event be on the movieclip or the textfield? here's my

Re: [Flashcoders] Multiple SWFs (50) in one html page dramaticly increase memory ?

2008-04-02 Thread Kenneth Kawamoto
To me, having 50 Flash Player instances running concurrently does not sound like the best solution. Can it be just one SWF with 50 display objects instead? Kenneth Kawamoto http://www.materiaprima.co.uk/ Flap Flap wrote: 2008/4/1, Bob Wohl [EMAIL PROTECTED]: Are you saying that you

Re: [Flashcoders] Access

2008-04-02 Thread Kenneth Kawamoto
Why don't you set your MainClass as document class? Kenneth Kawamoto http://www.materiaprima.co.uk/ Stuart (FunkDaWeb) wrote: Hello, I'm having some trouble with AS3, basically if I create a movieclip using the Flash IDE and give it an instance name of mc_one, I'm unsure how to access

Re: [Flashcoders] how to check if child exists

2008-04-02 Thread Kenneth Kawamoto
Place outside of the function - private var eventList:Sprite; Kenneth Kawamoto http://www.materiaprima.co.uk/ Allandt Bik-Elliott (Receptacle) wrote: hmmm - i'm a little stuck on this i'm trying to create a pop-up (will tween but i want to get it working first) but i want it to kill any

Re: [Flashcoders] embedded fonts

2008-04-03 Thread Kenneth Kawamoto
For embedded fonts you can either use the actual font name (as you have discovered it already), or YourFontClass.fontName Kenneth Kawamoto http://www.materiaprima.co.uk/ Allandt Bik-Elliott (Receptacle) wrote: wotcha i have a quick query about embedded fonts. I thought that when you used

Re: [Flashcoders] Accessing loaded content variables

2008-04-08 Thread Kenneth Kawamoto
e.target.content Kenneth Kawamoto http://www.materiaprima.co.uk/ Omar Fouad wrote: Hi list, I am loading an swf that contains two MovieClips into an AS3 Project, B1 and B2. in the fist (and only) frame of the swf loaded I added: B1.Pid = 1; B2.Pid = 2; Now I would like to access

Re: [Flashcoders] Accessing loaded content variables

2008-04-08 Thread Kenneth Kawamoto
init precedes complete, so if you use Event.COMPLETE the properties of loaded asset are readily available. In AS2 things were the other way round: onLoadInit is fired after onLoadComplete. Kenneth Kawamoto http://www.materiaprima.co.uk/ Jason Van Pelt wrote: Also, I think you may want to use

Re: [Flashcoders] Accessing loaded content variables

2008-04-08 Thread Kenneth Kawamoto
Have you tried dispatchEvent() ? Kenneth Kawamoto http://www.materiaprima.co.uk/ Omar Fouad wrote: Yeah they all work :) thanks so much... But I wanna ask a question. Can I dispatch Events from the swf to be listened in the container Movie? On Tue, Apr 8, 2008 at 9:54 PM, Bob Wohl [EMAIL

Re: [Flashcoders] Restarting an Air Application

2008-04-09 Thread Kenneth Kawamoto
You could have an empty base movie (AIR) and load your main movie into it. Kenneth Kawamoto http://www.materiaprima.co.uk/ Omar Fouad wrote: Dears, In a application I've created in Air, I wanted to ask if it is possible to restart the application as in reloading the swf inside the Air Player

Re: [Flashcoders] Detection Kit and Express install for flash player 9?

2008-04-10 Thread Kenneth Kawamoto
The last time I checked, the Express Install did not work on my Mac at all. Kenneth Kawamoto http://www.materiaprima.co.uk/ Vlado Krempl wrote: Hello everyone! {If this posting has been done before I apologise} Regarding the Adobe Flash® Player Detection Kit and express Install

Re: [Flashcoders] Detection Kit and Express install for flash player9?

2008-04-10 Thread Kenneth Kawamoto
solution though. I hope someone can chime in for this issue. Kenneth Kawamoto http://www.materiaprima.co.uk/ Vlado Krempl wrote: Thanks for your reply Kenneth. Just one question, when you design a flash webpage, do you us a HTML alternate page aswell? Cheers, v - Original Message

Re: [Flashcoders] Using insertBefore to insert nodes into an extant XML document

2008-04-23 Thread Kenneth Kawamoto
E4X... Kenneth Kawamoto http://www.materiaprima.co.uk/ matt stuehler wrote: All, Sorry in advance - this is probably a trivial question, but I'm trying to figure out how to create an XML node, and insert it into a specific location in an XML document. It looks like the insertBefore method

Re: [Flashcoders] Language translation from English to german/russian etc

2008-04-23 Thread Kenneth Kawamoto
I don't know where you got it from, but perhaps it's good that you got dodgy translation because your Japanese text itself is well dodgy (not in grammatical sense). Kenneth Kawamoto http://www.materiaprima.co.uk/ Kerry Thompson wrote: anuj Sharma wrote: I came under a scenario where I

Re: [Flashcoders] Language translation from English to german/russian etc

2008-04-24 Thread Kenneth Kawamoto
I wasn't saying the grammar was incorrect (it is correct), but the subject is dodgy. It's not pop-culture poem, unless you call Hentai Under-age Anime as pop-culture - well, I suppose it is in Japan, sadly. Kenneth Kawamoto http://www.materiaprima.co.uk/ Kerry Thompson wrote: Kenneth

Re: [Flashcoders] Mac CD Autorunning - slightly OT

2008-04-25 Thread Kenneth Kawamoto
(if not always) created on Mac using Toast. Kenneth Kawamoto http://www.materiaprima.co.uk/ Glen Pike wrote: Hi, Slightly OT question, but someone may have an answer. I have made a Mac projector using Flash CS3 - so have a projector.app folder. This shows up like a windows exe icon if I look

Re: [Flashcoders] Technical - assets question

2008-05-02 Thread Kenneth Kawamoto
One way to tackle this is to load your SWF into an empty base SWF. By the way this is not a CS3 specific issue but existed since Flash 5. Kenneth Kawamoto http://www.materiaprima.co.uk/ Omar Fouad wrote: Hi list, I am starting a website, and I am using Flash CS3 (document Class) with Flash

Re: [Flashcoders] Technical - assets question

2008-05-02 Thread Kenneth Kawamoto
Yes, why wouldn't? ...but I suppose root would change to the base SWF if you're using it to access the main timeline of the loadee. Kenneth Kawamoto http://www.materiaprima.co.uk/ Omar Fouad wrote: Than calling its classes normally? It will work? On Sat, May 3, 2008 at 1:38 AM, Kenneth

Re: [Flashcoders] hi.. need help asap.. newbie here.. hehe

2008-05-15 Thread Kenneth Kawamoto
Should be Number(age.text) for a start Kenneth Kawamoto http://www.materiaprima.co.uk/ rlyn ben wrote: need to capture the input in textfield which is restricted to numbers only... and convert the string to number... this is my code but it wont work.. when i trace it.. it displays.. object

Re: [Flashcoders] AS3 - Embeding Fonts

2008-05-15 Thread Kenneth Kawamoto
I don't think you can use Flex style meta tags in Flash - at least it has never worked for me. But with Astro device fonts act like embedded fonts (anti-aliased etc) so that I will get away with not using embedded fonts too much - well I am hoping so but may be I'm wrong :) Kenneth Kawamoto

Re: [Flashcoders] how do you get the value from radiobutton

2008-05-16 Thread Kenneth Kawamoto
RadioButton.value Kenneth Kawamoto http://www.materiaprima.co.uk/ rlyn ben wrote: radiobutton's value contains number data type..i need to get the value to add it to another number value.. sorry hehe.. i'm a newbie here.. (^_^) ___ Flashcoders

Re: [Flashcoders] getting value from a radiobutton adding to converted textfield to numbe

2008-05-18 Thread Kenneth Kawamoto
If you want to get rid of the warning (which is different from error by the way), first I'd do what Flash has to say, i.e. resultTxt.appendText(String(maleRB.value)); Kenneth Kawamoto http://www.materiaprima.co.uk/ rlyn ben wrote: thid is the error.. Warning: 3551: Appending text

Re: [Flashcoders] stack overflow in IE ?

2008-05-20 Thread Kenneth Kawamoto
Not sure if it's related to the crash but your movie generates null object reference error. Kenneth Kawamoto http://www.materiaprima.co.uk/ Andrei Thomaz wrote: dear list, I made two little (experimental) games in AS3. Both uses a maze generation algorithm. To avoid a small freezing

  1   2   3   >