Re: [Flashcoders] Embed fonts problem

2006-09-21 Thread Matthias Dittgen
Hello Leonardo, please try the following: in your publishing settings dialog, enable the size report option. This will show you your exported fonts and their names in the output window (F2). There you should see your Arial exported. If you see there for example an Arial 11px or the like, you

[Flashcoders] test

2006-09-21 Thread Ellen Sundh
Test -- Ellen Sundh Flash Developer Great Works . . . . . . . . . . . . Mobile: +46 73 200 40 73 Office: +46 8 528 077 76 Sveavägen 66 111 34 Stockholm /|_ ,' .\ ,--'_,' / / (

Re: [Flashcoders] Object.registerClass

2006-09-21 Thread Ian Thomas
Patrick, Take a look at this entry in the wiki: http://www.osflash.org/flashcoders/as2#creating_a_class_instance_based_on_movieclip_without_a_symbol_in_the_library It's almost certainly what you're trying to do. Cheers, Ian On 9/20/06, Patrick Matte [EMAIL PROTECTED] wrote: Flash help

Re: [Flashcoders] Decompiling some sketchy flash code

2006-09-21 Thread GregoryN
yes, ASV is great tool. Unbeatable leader in the industry. Easy way to steal someone's code... Well, apart from ASV. Michiel, now as you've got their code, what are you going to do (just curious)? Send an email to shame them? Fill a claim to the court? From tech side, SWF is just a binary

[Flashcoders] Getting text from a specific line...

2006-09-21 Thread Michael K
I am hoping to get some help on making a text effect in the lines of the one on this site: http://www.selftitled.ca/ Pick something from the green section and press the white cross. The thing is I can doit for a single line, but I need to do it dynamically for a paragraph with several lines.

Re: [Flashcoders] Getting text from a specific line...

2006-09-21 Thread Adrian Ionut Beschea
just a thought... you can try to retrieve all text in your texbox and split it by newline something like : var test_str = my_txt.text; lines_arr = test_str.split(newline); Don't know if it works, never tested it. - Original Message From: Michael Kønig [EMAIL PROTECTED] To:

[Flashcoders] Using transform.matrix on loaded movie problem

2006-09-21 Thread Robert Sköld
I've made a little app that loads in an image from the server and using the new transform matrix i'm modifying the image, rotation and scale and translate... The problem is that while testing, i get a security sandbox error like this: *** Security Sandbox Violation *** SecurityDomain

[Flashcoders] Close/exit browser AS event?

2006-09-21 Thread Michel Gaudette
Hi! Do any of you know how to catch the event (in Flash/AS) when a browser is closed or zapped? I think I could use the JavaScript unloadPage if it's called before the Flash object is zapped, but I'd prefer to use some sort of onUnload() on the main timeline... Any clues? Thanks! Michel

[Flashcoders] Webcam stream in Flash

2006-09-21 Thread Ellen Sundh
Hi! I am working with a project where we want to have a live webcam stream in Flash. The streaming company says it is very unstable to use Flash com server for a longer period of time. The web cam stream will be actiive for 3 months.. Are there any other aletrnatives.. Someone mentioned you

RE: [Flashcoders] Getting text from a specific line...

2006-09-21 Thread Merrill, Jason
Which text effect on that site are you trying to emulate? I'm not sure which effect you're after. The navigation on the right side or the text that appears when you click the cross? The navigation on the right is done with individual movie clips that contain textfields, and all of those are

Re: [Flashcoders] Webcam stream in Flash

2006-09-21 Thread julien castelain
hi ellen, did you check out red5? www.osflash.org/red5 have a good day On 9/21/06, Ellen Sundh [EMAIL PROTECTED] wrote: Hi! I am working with a project where we want to have a live webcam stream in Flash. The streaming company says it is very unstable to use Flash com server for a longer

RE: [Flashcoders] Object.registerClass

2006-09-21 Thread Mark Lapasa
My bad. Thx! -mL -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of slangeberg Sent: Wednesday, September 20, 2006 6:24 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Object.registerClass Mark said: pass the movieclip into the constructor of the

[Flashcoders] Working on Flash 6 player but not on Flash 8

2006-09-21 Thread Berkay Unal
Hi Coders, Can someone please tell me whats the problem with this code . it's working on fl6 but not fl8 . Thanks Code: -- counter++; // hiding the first dot dot._visible = false; // particle generator // setting of the shape and velocity for each new dot

[Flashcoders] Flash 9 Debug Player for Intel Macs?

2006-09-21 Thread Marlon Harrison
I've been looking for the Debug Plugin for the 9 Player for Intel Macs and can't seem to find it anywhere on Adobe's site. The PowerPC Debug plugin won't install. It prompts to go to adobe's site to get the Intel version. Anyone have a URL? ___

[Flashcoders] Invert coded mask?

2006-09-21 Thread Ellen Sundh
Hi! I created a mask with setMask to mask another movieclip. I wonder if it is possible with code to invert that mask? So instead of having a circle as a mask, that circle becomes a hole in a square. Like punchhole style. Thanks in advance! Ellen -- Ellen Sundh Flash Developer Great Works

Re: [Flashcoders] Invert coded mask?

2006-09-21 Thread Johannes Nel
so you did this a.setMask(b). now go a.setMask(null) b.setMask(a) no? On 9/21/06, Ellen Sundh [EMAIL PROTECTED] wrote: Hi! I created a mask with setMask to mask another movieclip. I wonder if it is possible with code to invert that mask? So instead of having a circle as a mask, that circle

[Flashcoders] flash5 and xml parsing

2006-09-21 Thread avit
: Acquista i tuoi gioielli in tutta sicurezza ed a prezzi veramente imbattibili. Sfoglia il nostro catalogo on-line! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5634d=20060921 ___ Flashcoders@chattyfig.figleaf.com To change your

Re: [Flashcoders] Working on Flash 6 player but not on Flash 8

2006-09-21 Thread Jake Prime
Hi Berkay Have you set counter to a value before incrementing it? If you fail to initialise a variable in F6, it will assume it is 0 and increment to 1. If you do this in F8 it treats it as undefined, and will stay undefined no matter how many times you increment it. Jake On 21/09/06, Berkay

[Flashcoders] Replace MC Tween? (AS1)

2006-09-21 Thread Charles Parcell
I am looking to replace MC Tween which is written in AS1 and uses prototype to add methods to MovieClips. I want a version that is a class. I am aware of the Tween class that in the mx package. But it does not cover all aspects (ColorTransform for example). It also does not have all the easing

[Flashcoders] search and replace keywords in textbox with CSS, asfunction.

2006-09-21 Thread Kurt Dommermuth
Hi All, Earlier this week I asked about a function that could search through text, replace words that are selected from an array, and make them clickable. Karian Steffens and Jason Merrill offered some good suggestions on how to do this (CSS/asfunction). Below is something that works, but

Re: [Flashcoders] Replace MC Tween? (AS1)

2006-09-21 Thread gerry
I believe that MC tween is AS2 now (mc_tween2.as). Check out Zeh's site... http://hosted.zeh.com.br/mctween/documentation.html Gerry I am looking to replace MC Tween which is written in AS1 and uses prototype to add methods to MovieClips. I want a version that is a class. I am aware of the

Re: [Flashcoders] Replace MC Tween? (AS1)

2006-09-21 Thread Charles Parcell
Actually no. It simply gives some work arounds to problems when using AS2. http://hosted.zeh.com.br/mctween/as2_notes.html Thanks though. Charles P. On 9/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I believe that MC tween is AS2 now (mc_tween2.as). Check out Zeh's site...

Re: [Flashcoders] search and replace keywords in textbox with CSS, asfunction.

2006-09-21 Thread Iv
Hello Kurt, about 2 years ago I did this: http://www.sharedfonts.com/fla/as_highlight.fla possible it can help you. -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru

[Flashcoders] FileReference browse() window

2006-09-21 Thread Merrill, Jason
I'm using the Filerefence class on a project, and it works great uploading a file to our .NET server. (actually let me say, it's AWESOME - Flash should have had this a looong time ago). Question: Is there a way to control the X and Y position of the Filereference browse window that appears when

RE: [Flashcoders] Replace MC Tween? (AS1)

2006-09-21 Thread Merrill, Jason
Highly recommend you try out Fuse for Actionscript based animation: http://www.mosessupposes.com/Fuse/index.html it's AWESOME - There are some great tutorials Lee Brimlow just updated recently on http://www.gotoAndLearn.com Jason Merrill Bank of America Learning Organization Effectiveness

[Flashcoders] Algorithm to find center of an irregular shape

2006-09-21 Thread matt stuehler
All, I'm not too handy with geometry, so I'm not even sure this is possible, but I'm looking for an algorithm that will determine the center of an irregular shape. I'm not even sure there is a meaningful definition of a center, but I'd like to at least find a point that is within the area of

Re: [Flashcoders] search and replace keywords in textbox with CSS, asfunction.

2006-09-21 Thread Kurt Dommermuth
Now where the hell were you earlier this week!? ;) that looks really cool and I bet much better written too, but I really need to make the highlighted text clickable. I wanted to do that by getting the _x and _y of a given character, but I had no idea how. that's why I went the html/css

[Flashcoders] Component Live Preview...

2006-09-21 Thread eric dolecki
I have a pretty simple component with inspectables to allow the setting of 2 simple strings. Flash 8 is supposed to allow for the ease of live previews with components. What do I need to put in my component class to allow updates on the Stage of the component instance to update? I've tried a

[Flashcoders] Beta testers and comments needed

2006-09-21 Thread Berkay Unal
Hi Coders, I've cretaed a drap n drog flv converter. But i need to have some beta testers and comments on it. If you have a try on it it'll cool You can find the download url at the url below. http://www.berkayunal.com/flvbuddy/ -- Berkay UNAL [EMAIL PROTECTED]

RE: [Flashcoders] Working on Flash 6 player but not on Flash 8

2006-09-21 Thread Mike Keesey
The earlier post (by Jake Prime) is probably the explanation. But also, random() is deprecated; instead of random(x), you should use Math.floor(Math.random() * x). ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Berkay Unal

RE: [Flashcoders] Algorithm to find center of an irregular shape

2006-09-21 Thread Mike Keesey
Look into MovieClip.getBounds() and MovieClip.getRect(). For example, you could use: import flash.geom.Point; // ... function getCenter(shape:MovieClip):Point { var bounds:Object = shape.getBounds(this); var center:Point = new Point(); center.x = (bounds.xMax -

Re: [Flashcoders] HTTP post request in the background

2006-09-21 Thread Bill Abel
I'm still having one problem. When I test this movie from within Flash, it sends both LoadVars, but when I try it from the .swf on the web server, it only sends to the .php script. Anyone see the problem? import mx.utils.Delegate; function onResponseComplete(success:Boolean):Void {

Re: [Flashcoders] Replace MC Tween? (AS1)

2006-09-21 Thread Rich Rodecker
there's a few Tween classes up at http://www.actionscriptclasses.com/category/tween/ , though im not sure if any of them handle color tweens. gotta add the Fuse one there too. On 9/21/06, Merrill, Jason [EMAIL PROTECTED] wrote: Highly recommend you try out Fuse for Actionscript based

[Flashcoders] Component Live Preview [Solved]

2006-09-21 Thread eric dolecki
Sorry for the noise, but I simply built my own separate LP SWF and got things working fine. - e.d. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Component Live Preview...

2006-09-21 Thread Muzak
You need to add an 'Inspectable' metadate tag to the getter/setter [Inspectable] function get prop(){} function set prop(){} [Inspectable(type=String,defaultValue=value)] function get prop(){} function set prop(){} check the manual for more details: Using components - Creating components -

Re: [Flashcoders] Component Live Preview...

2006-09-21 Thread eric dolecki
Ya I had that - was hoping the same file being the component could be the live preview. I got it though - thanks :) On 9/21/06, Muzak [EMAIL PROTECTED] wrote: You need to add an 'Inspectable' metadate tag to the getter/setter [Inspectable] function get prop(){} function set prop(){}

RE: [Flashcoders] HTTP post request in the background

2006-09-21 Thread Mike Keesey
onResponseComplete is probably being called before onMailDataResponseComplete (damn that's a long name! onMailComplete would suffice, no?), and thus unloading the whole SWF as it loads a new HTML page. Try moving this line: formData.sendAndLoad(http://www.salescloser.com/XMLAddContact.aspx;,

RE: [Flashcoders] HTTP post request in the background

2006-09-21 Thread Mike Keesey
Actually, scratch that -- move the whole formData deal to its own function, and call that from onMailComplete(). IOW, do the calls sequentially, not simultaneously. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Keesey

Re: [Flashcoders] HTTP post request in the background

2006-09-21 Thread Bill Abel
IT is a long name... I tried that with no luck. I also tried commenting out the getURL(), but still no luck. I get an error in Safari and in Firefox a message waiting for www.salescloser.com... Again, the .swf works when I test it within Flash. Even without the second LoadVars, I still

Re: [Flashcoders] HTTP post request in the background

2006-09-21 Thread Bill Abel
Well, I tried it by itself without the mailData:LoadVars... still no luck in the browser. Worked fine testing it... On Sep 21, 2006, at 1:31 PM, Mike Keesey wrote: Actually, scratch that -- move the whole formData deal to its own function, and call that from onMailComplete(). IOW, do the

[Flashcoders] onScroller ?

2006-09-21 Thread eric dolecki
Showing a little weirdness. I'd like to fill a field with text, and if it needs to grow taller to accommodate, do so. Based on the resulting height of that textfield, I reposition another clip... kind of like HEADLINE and then text underneath where the headline has a fixed width, but can grow out

RE: [Flashcoders] Working on Flash 6 player but not on Flash 8

2006-09-21 Thread Steven Sacks | BLITZ
instead of random(x), you should use Math.floor(Math.random() * x). Which makes me wonder why random() is deprecated. They really think that Math.floor(Math.random() * x) is better than random()? Ridiculous! The sign of a great API is its simplicity.

Re: [Flashcoders] onScroller ?

2006-09-21 Thread eric dolecki
OMG... i was using _height. Been hospitalized too long ;) thanks. On 9/21/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Check out TextField.autoSize TextField.textHeight And check out the other properties of TextFields while you're in there. I'm sure you'll find them quite helpful.

RE: [Flashcoders] Working on Flash 6 player but not on Flash 8

2006-09-21 Thread Mike Keesey
Well, random() has two meanings then, and the Math.random() function is more generally useful than random() (for example, if you need a random floating-point number). That said, I'd love a Math.randomInt() function. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED]

Re: [Flashcoders] Beta testers and comments needed

2006-09-21 Thread Eric Priou
http://www.berkayunal.com/flvbuddy/ Win only ? --- Eric Priou (aka erixtekila) In progress tech blog : http://blog.v-i-a.net/ Oregano XML Socket forum : http://forum.v-i-a.net/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription

Re: [Flashcoders] Beta testers and comments needed

2006-09-21 Thread l u c h y x
On XP sp2 spa 1GB RAM AMD 1.6 GHz works good, a little cpu intensive but it's fine i think. On 9/21/06, Eric Priou [EMAIL PROTECTED] wrote: http://www.berkayunal.com/flvbuddy/ Win only ? --- Eric Priou (aka erixtekila) In progress tech blog : http://blog.v-i-a.net/ Oregano XML Socket

Re: [Flashcoders] Component Live Preview...

2006-09-21 Thread Charles Parcell
setSize(width:Number, height:Number); The IDE makes a call to it. Within the setSize() I have a call to my draw() function which does all the changing and moving of MC and such. Charles P. On 9/21/06, eric dolecki [EMAIL PROTECTED] wrote: Ya I had that - was hoping the same file being the

Re: [Flashcoders] Component Live Preview...

2006-09-21 Thread eric dolecki
Live preview SWFs are wonky... its not displaying quite right in the IDE, but perfect when used as a component. Essentially the same sizing/positioning code. Oh well... On 9/21/06, Charles Parcell [EMAIL PROTECTED] wrote: setSize(width:Number, height:Number); The IDE makes a call to it.

RE: [Flashcoders] Beta testers and comments needed

2006-09-21 Thread Andy Stone
I converted a 21MB .wmv to a 0k .flv. Win XP Pro 2002 SP2 3.39 GHz 2GB RAM I dropped the file in the box it too about 4 seconds to convert. -Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Berkay Unal Sent: Thursday, September 21, 2006 1:11 PM

Re: [Flashcoders] Beta testers and comments needed

2006-09-21 Thread Berkay Unal
Hi again, This program convert video files to FLV video on the fly. Andy currently i am having some problems on the wmv4 . I guess your video is wmv with that codes. Slangaberg i am thinking of having a setting panel for the video options. But i could not find a good place for it yet. I want

Re: [Flashcoders] Close/exit browser AS event?

2006-09-21 Thread David Rorex
The only way I know to do it is from javascript, and then call to flash using ExternalInterface, which is synchronous, thus the browser cannot exit until the flash function call finishes (so it wont 'zap' the flash object in the middle of your cleanup) -David R On 9/21/06, Michel Gaudette

Re: [Flashcoders] Component Live Preview...

2006-09-21 Thread Charles Parcell
I agree, they are not very simple or intuitive. I would love for this aspect to be cleaned up in the next version of the IDE. It is making my life difficult when I have to make these things for our artists who want to see exactly how it will look within the IDE as it will when published. You

Re: [Flashcoders] Beta testers and comments needed

2006-09-21 Thread l u c h y x
Hi..Nice tiny app. :P I compress a video of 20Mb. - AVI format - size WxH: 480x360px - Duration: 00:03:18 - Sound-128kbps - MPEG Layer3 - Video 30fps - 100kbps Are you using ffmpeg. :? I think the pref panel can display if you double-click the drag area. And/Or In a context-menu

Re: [Flashcoders] FileReference browse() window

2006-09-21 Thread Michael Stuhr
Merrill, Jason schrieb: I'm using the Filerefence class on a project, and it works great uploading a file to our .NET server. (actually let me say, it's AWESOME - Flash should have had this a looong time ago). Question: Is there a way to control the X and Y position of the Filereference browse

Re: [Flashcoders] Hiding MD5 shared secret

2006-09-21 Thread Michael Stuhr
David Rorex schrieb: hide the secret in many different places throughout the swf, and then combine them together to produce the actual code (using some odd formula). name them things that make it seem related to something else. part of the shared secret should also come from the server, so that

Re: [Flashcoders] Close/exit browser AS event?

2006-09-21 Thread Rich Rodecker
I use the javascript method, except i use the swfobject/javascript integration kit...works fine for me. On 9/21/06, David Rorex [EMAIL PROTECTED] wrote: The only way I know to do it is from javascript, and then call to flash using ExternalInterface, which is synchronous, thus the browser

Re: [Flashcoders] Beta testers and comments needed

2006-09-21 Thread Berkay Unal
Hi Luchy, Yes i am using ffmeg for the video convert. But thinging of switching it to mplayer to support more options . Thanks for your comments and opinion Best On 9/22/06, l u c h y x [EMAIL PROTECTED] wrote: Hi..Nice tiny app. :P I compress a video of 20Mb. - AVI format - size WxH:

[Flashcoders] Runtime Skinning of a flash app.

2006-09-21 Thread Rudi Yardley
I am trying to design a flash based application that will require multiple themes based on a theme id that should be passed into the main movie. The way the application needs to work is that we need to have runtime or scriptable selection of theme based on an input variable like:

[Flashcoders] RE: was..does actionscript ...like sql's...now flash 8 security and external .as files

2006-09-21 Thread Patricia Britt
Thanks to Mike and Jim for your input, This is perfect but I couldn't use the class because public static function contains(str:String, val:String):Boolean { return str.indexOf(val) = 0; } I tried this and it said I had to call to an external .as script. We have been experiencing

[Flashcoders] FileReference + upload + larger files

2006-09-21 Thread Duncan Reid
Hello all, I'm running into a peculiar problem with the FileReference class and i've seen this problem crop up spurratically in my searches but can't find any definitive information on it. I'm inconsistently getting a script is causing Flash to run slowly dialog, if i choose not to cancel the