Re: [Flashcoders] bitmap data question

2007-01-23 Thread Hans Wichman
Hi, nope but you can convert (snapshot) a movieclip to bitmap data or attach bitmap data to a movieclip to display it. There is lot of info on this in the help files, and I posted some basic info here: http://objectpainters.com/blog/?p=7 greetz JC On 1/23/07, [p e r c e p t i c o n] [EMAIL

[Flashcoders] Urgently need a solid actionscripter to finish this project in a week - PAID GIG

2007-01-23 Thread Mike Dunlop
Hi everyone, I hope this is ok to post to this list but I am in a real situation here. Basically, I need to find someone who's got experience with actionscript dev and who knows their stuff. I have run out of time to finish a not too complicated art gallery flash site. I am primarily a

Re: [Flashcoders] Urgently need a solid actionscripter to finish this project in a week - PAID GIG

2007-01-23 Thread Mike Dunlop
And my email is [EMAIL PROTECTED] . Mike Dunlop // Droplab [ e ] [EMAIL PROTECTED] On Jan 23, 2007, at 1:05 AM, Mike Dunlop wrote: Hi everyone, I hope this is ok to post to this list but I am in a real situation here. Basically, I need to find

[Flashcoders] Comunicating between swfs within swf

2007-01-23 Thread pedr browne
Hello all, My first post so treat me gentle... Was wondering how people would handle this situation. I have a main swf containing two mcs into which it loads other swfs as required (for example a contact-form swf or a welcome swf). My problem is that I have a situation where the left mc loads a

Re: [Flashcoders] Comunicating between swfs within swf

2007-01-23 Thread Hans Wichman
Hi, a couple of options would be: - using localconnection (but i wouldnt in this case) - providing them with a reference through static methods (but i wouldnt either:)). - having them communicate through functions call in their parent - having them communicate through global function

Re: [Flashcoders] Running Flash Application on a local network

2007-01-23 Thread vipin chandran
This is a flat network share and the html file will be accessed from within the LAN. Locally everything is working fine, but when i share the folder and try to access the file, content is not loading (xml). I am using normal XML class for loading the xml. The client machine may not have an

[Flashcoders] Q:Converting colored artwork to flash vector

2007-01-23 Thread moveup
Help please! A new project I'm working on requires LOTS of high quality cartoon like illustrations (think Sin City)and i'd like to convert all of the bitmaps to high quality flash vector format. Whats the easiest (re:quickest) way to do this? Manually using autotrace in flash would be much too

RE: [Flashcoders] Q:Converting colored artwork to flash vector

2007-01-23 Thread Merrill, Jason
A new project I'm working on requires LOTS of high quality cartoon like illustrations (think Sin City)and i'd like to convert all of the bitmaps to high quality flash vector format. Whats the easiest (re:quickest) way to do this? Manually using autotrace in flash would be much too slow! Jim,

RE: [Flashcoders] Q:Converting colored artwork to flash vector

2007-01-23 Thread Holth, Daniel C.
If you have Adobe Creative Suite CS2, you could set up an automation script in Illustrator to convert them all using LiveTrace and exporting them as a SWF. If you only have flash, there might be a way to write a JSFL script that will convert them automatically. May not be any faster, but at

[Flashcoders] Getting Frames Per Second

2007-01-23 Thread Holth, Daniel C.
So I feel like this should be obvious, but is there built in functionality in Flash 8 to get the FPS of the currently running SWF? If there isn't, does anyone have some code snippets that do it? I tried setting intervals to check how many frames have passsed since the last check, but that

[Flashcoders] ExternalInterface.call - javascript error

2007-01-23 Thread Nick Zotta
Hello flashcoders, Does anyone know the cause of the javascript error: Object doesn't support this property or method when using ExternalInterface.call() to comunicate between Flash and Javascript? My javascript function is triggered, but before executing its actions, a javascript error popup

RE: [Flashcoders] ExternalInterface.call - javascript error

2007-01-23 Thread Jim Robson
Nick, I get that error whenever my JavaScript references an ActionScript function that isn't specified as a callback function. In other words, if the JavaScript says: myFlashMovie.getFoo(); Then the ActionScript inside myFlashMovie needs to say: ExternalInterface.addCallback(getFoo);

Re: Re[2]: [Flashcoders] External libraries

2007-01-23 Thread Andy Herrman
Hmm...I just tried building using MTASC and I'm getting an error in one of the mx classes. It's choking on mx.utils.Delegate (variables aren't typed). Is there a way to keep MTASC from being too strict on the built in mx classes? -Andy On 1/22/07, Francis Chary [EMAIL PROTECTED] wrote:

Re: Re[2]: [Flashcoders] External libraries

2007-01-23 Thread Andy Herrman
If I add the -mx parameter to MTASC (I'm working through FlashDevelop) it removes the error, but the Delegate class doesn't work anymore (Delegate.create returns undefined). -Andy On 1/23/07, Andy Herrman [EMAIL PROTECTED] wrote: Hmm...I just tried building using MTASC and I'm getting an

Re: [Flashcoders] External libraries

2007-01-23 Thread Martin Wood-Mitrovski
there's a -mx switch specifically for that, in fact I think it just ignores the mx.* classes so they dont even get compiled. you can also patch your mx.* classes using a patch from osflash.org which is what I do, then I dont need the -mx switch. n.b. I patched a copy of the mx classes, not

Re: Re[2]: [Flashcoders] External libraries

2007-01-23 Thread Trevor Burton
i seem to remember having to rework my Delegate class to run with mtasc - what's the error it's giving you? On 1/23/07, Andy Herrman [EMAIL PROTECTED] wrote: If I add the -mx parameter to MTASC (I'm working through FlashDevelop) it removes the error, but the Delegate class doesn't work anymore

Re: [Flashcoders] External libraries

2007-01-23 Thread Martin Wood-Mitrovski
like i said in the other mail, -mx prevents mtasc compiling the mx.* classes so you will want to generate the swf in MMC and then inject the new code when you compile (or patch the mx classes) also, you might like this delegate implementation :

Re[4]: [Flashcoders] External libraries

2007-01-23 Thread R�kos Attila
The mx package is not fully compatible with MTASC, so you have to apply this patch: http://osflash.org/mx_v2_components_patch Attila ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: Re[2]: [Flashcoders] External libraries

2007-01-23 Thread Andy Herrman
I fixed the delegate class. It was 'redefining a variable', so I just copied the source into my project's dir and used that (modified) instead of the mx.* one. Unfortunately, now I'm running into other problems. If I build my code using the Flash IDE it works correctly, but if I build it with

Re: [Flashcoders] External libraries

2007-01-23 Thread Andy Herrman
I tried the -mx flag, but then Delegate just didn't work (Delegate.create() returned undefined). My guess is it didn't compile the mx.* stuff, and for some reason it wasn't included in the SWF. But I can work around that. It's the other 2 problems I need to figure out. -Andy On 1/23/07,

[Flashcoders] Q:Most efficient way to convert full color cartoons to flash vector!

2007-01-23 Thread moveup
Help A new project requires LOTS of cartoon like imagery and i'd like to convert this to high quality flash vector format. Whats the easiest wayto do this? Manually using autotrace in flash is probably too slow. Thanks! [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca

Re[4]: [Flashcoders] External libraries

2007-01-23 Thread R�kos Attila
Why don't you set Stage.scaleMode and Stage.align to your preferred values at the beginning of your program? Attila AH There seem to be a couple problems: AH AH 1) when built using the Flash IDE the coordinates (0, 0) on the root AH are at the center. When built using MTASC (0, 0) seems to

Re: [Flashcoders] ExternalInterface.call - javascript error

2007-01-23 Thread John VanHorn
also, make sure that the id/name of the object/embed tag is unique in the dom. id conflicts between two elements will give you this error, too. how are you embedding your swf? object/embed tags? swfobject? On 1/23/07, Nick Zotta [EMAIL PROTECTED] wrote: Hello flashcoders, Does anyone know the

Re: Re[4]: [Flashcoders] External libraries

2007-01-23 Thread Andy Herrman
Already set scaleMode, but didn't know about align. I can try that, but it still doesn't help with MTASC not resizing. -Andy On 1/23/07, Rákos Attila [EMAIL PROTECTED] wrote: Why don't you set Stage.scaleMode and Stage.align to your preferred values at the beginning of your program?

RE: [Flashcoders] Q:Most efficient way to convert full color cartoons to flash vector!

2007-01-23 Thread Merrill, Jason
Did you not see my reply and Daniel's reply to this question? We posted replies at 8:53 and 8:55 respectively. Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL

Re: [Flashcoders] ExternalInterface.call - javascript error

2007-01-23 Thread Nick Zotta
I created my own swfobject kind of javascript class that uses document.write() to put my SWF object into web page. IDs and NAMEs are unique. On 1/23/07, John VanHorn [EMAIL PROTECTED] wrote: also, make sure that the id/name of the object/embed tag is unique in the dom. id conflicts between

Re: [Flashcoders] Running Flash Application on a local network

2007-01-23 Thread Robert r. Sanders
Look up the FlashPlayerTrust files. I wrote a NullSoft Install script that simply created a trust file for drive letter it was launched from and then loaded the default web browser on the local html file (which in turn referenced the SWF). If you are just running an SWF you might try one of

Re[6]: [Flashcoders] External libraries

2007-01-23 Thread R�kos Attila
Well, interesting - I just tried out and everything seems to be OK with MTASC: without setting Stage's properties the default behaviour is similar to that of movies compiled with MMC, and after setting scaleMode and align it works as expected, too. Can you provide a minimal script demonstrating

Re: Re[4]: [Flashcoders] External libraries

2007-01-23 Thread Andy Herrman
I think I got it working. I noticed that when I built with the Flash IDE the output SWF was around 56k, while using MTASC it was only 6k (!!), so it looked like MTASC was removing things that might need to stay. Running both through ASV showed that a lot of code in the FlashIDE build that

Re: [Flashcoders] Getting Frames Per Second

2007-01-23 Thread Hans Wichman
Hi, something like this? var lastTime = getTimer(); onEnterFrame() { trace(fps=+(1/(getTimer()-lastTime))); lastTime = getTimer() } greetz JC On 1/23/07, Holth, Daniel C. [EMAIL PROTECTED] wrote: So I feel like this should be obvious, but is there built in functionality in Flash 8 to get

Re: [Flashcoders] ExternalInterface.call - javascript error

2007-01-23 Thread Mick G
Try looking into this JS/Flash bug - it's a strange one but gets me once and a while... http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833 On 1/23/07, Nick Zotta [EMAIL PROTECTED] wrote: I created my own swfobject kind of javascript class that uses document.write() to put my

RE: [Flashcoders] Getting Frames Per Second

2007-01-23 Thread Hairy Dog Digital
Hi Daniel, Just out of curiosity, why do you need to detect/see the framerate in your published SWF? ...Rob ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] ExternalInterface.call - javascript error

2007-01-23 Thread Nick Zotta
Thanks for the link, I've already seen this bug on the net, but it is not my case. My swf filename only contains small capital letters. On 1/23/07, Mick G [EMAIL PROTECTED] wrote: Try looking into this JS/Flash bug - it's a strange one but gets me once and a while...

[Flashcoders] Getting variables in as3

2007-01-23 Thread William Smith
In earlier versions of flash if varaibles were appeneded on to the end of the url (i.e. movie.swf?frame=6size=30) you could access the varaibles with just their names or _root.[varaible name]. With the loss of _root in AS3 how would you accomplish this?

Re: SPAM-LOW: [Flashcoders] Getting variables in as3

2007-01-23 Thread Derek Vadneau
Variables are attached to the Application.application.parameters object. trace(Application.application.parameters.frame); Derek Vadneau - Original Message - From: William Smith [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, January 23,

[Flashcoders] Job in Maine

2007-01-23 Thread Russell Sprague
My company, Infusion Studios, Inc,(www.infusion-studios.com) located in Gorham Maine just north of Portland, is looking to build a network of Flash/Flex and/or 3D freelancers that we can call on from time to time. If you are a freelancer that would like to be on our list, send your resume,

Re: SPAM-LOW: [Flashcoders] Getting variables in as3

2007-01-23 Thread William Smith
That will work for flex, but the mx.* classes aren't in flash 9, and Application is part of mx.core ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Getting Frames Per Second

2007-01-23 Thread Holth, Daniel C.
The post below about converting graphics to vectors got me thinking and I wanted to see how using bitmap cache, vectors, filters, images, etc effected the frame rate. I can obviously see when the frame rate slows down, but it'd be nice to have some actual numbers with it. I'd also like to

Re: Re[6]: [Flashcoders] External libraries

2007-01-23 Thread Andy Herrman
Aha! Ok, here's some code: - class mtascTest { private var root:MovieClip; public static function main(rootMC):Void { if(rootMC == undefined) { rootMC = _root; } //Stage.scaleMode = noScale; //Stage.align = LT; var main:mtascTest = new mtascTest(rootMC); } function

RE: [Flashcoders] Getting Frames Per Second

2007-01-23 Thread Steven Sacks | BLITZ
In addition to being the best Flash debugging tool on the planet, Xray has a built in Framerate display. http://www.osflash.org/xray :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: SPAM-LOW: [Flashcoders] Getting variables in as3

2007-01-23 Thread Derek Vadneau
Sorry, you're right. In an AS-only project you can use: trace(root.loaderInfo.parameters.frame); Derek Vadneau - Original Message - From: William Smith [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, January 23, 2007 1:06 PM Subject:

Re: [Flashcoders] ExternalInterface.call - javascript error

2007-01-23 Thread Andy Herrman
small capital letters? I didn't know capital letters had sizes! =P Sorry, couldn't resist. Intelligent discussion may now continue. :) -Andy On 1/23/07, Nick Zotta [EMAIL PROTECTED] wrote: Thanks for the link, I've already seen this bug on the net, but it is not my case. My swf filename

Re: [Flashcoders] Getting Frames Per Second

2007-01-23 Thread slangeberg
Here's a suggestion for Hans' code: var lastTime = getTimer(); this.onEnterFrame = function() { trace(fps=+Math.floor(1000/(getTimer()-lastTime))); lastTime = getTimer() } On 1/23/07, Holth, Daniel C. [EMAIL PROTECTED] wrote: The post below about converting graphics to vectors got me

RE: [Flashcoders] Getting Frames Per Second

2007-01-23 Thread Marc Hoffman
Daniel, Try this, from Colin Moock: http://www.moock.org/webdesign/flash/actionscript/fps-speedometer/http://www.moock.org/webdesign/flash/actionscript/fps-speedometer/ A bit dated, but still should work fine or at least give you a headstart building your own. Marc Hoffman At 10:20 AM

[Flashcoders] Combobox embed fonts PC/Mac problem

2007-01-23 Thread Chip Moeser
We are having an cross platform issue when trying to embed fonts using the combobox and set style. When we publish on a mac with: myCombobox.setStyle(embedFonts, true); the fonts show up embedded on a mac but not a pc. When we publish with (minus quotes around true):

[Flashcoders] (no subject)

2007-01-23 Thread Gustavo Duenas
Hi, does anyone has ideas bout how to preload better the components, I have a movie which is loaded into a loader component with a progress bar, and this movie has a scroll bar component, and it seems like sometime, I don't know how, It doesn't load properly and appears incomplete. I did

RE: [Flashcoders] (no subject)

2007-01-23 Thread Merrill, Jason
I find you often need to wait a frame or two before using it. Jason Merrill Bank of America Learning Organizational Effectiveness ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] (no subject)

2007-01-23 Thread Hans Wichman
Hi, in addition both the loader component and the scrollpane that is based on that component have a bug in it. Read about it here: http://jeff.mxdj.com/loader_component_and_internet_explorer.htm greetz JC On 1/23/07, Merrill, Jason [EMAIL PROTECTED] wrote: I find you often need to wait a

Re: [Flashcoders] ExternalInterface.call - javascript error

2007-01-23 Thread Zeh Fernando
But they have. There are capital glyphs, and small capital glyphs (smallcaps). They're not capital glyphs with a different size, mind you, as there's change in shape size but not in weight. http://en.wikipedia.org/wiki/Smallcaps The more you learn... Zeh small capital letters? I didn't

Re: Re[6]: [Flashcoders] External libraries

2007-01-23 Thread Hans Wichman
Hi, yep there might be small differences, and its good to be aware of that. I'm not sure if there is a list of these issues. Another one for example is that Array(obj) in mtasc is an array cast, while in the Flash IDE it is not. These little things that can easily ruin your day:). greetz JC

Re: [Flashcoders] ExternalInterface.call - javascript error

2007-01-23 Thread Mick G
My swf filename only contains small capital letters. Yes but how do you get small caps into a filename??? ;) On 1/23/07, Zeh Fernando [EMAIL PROTECTED] wrote: But they have. There are capital glyphs, and small capital glyphs (smallcaps). They're not capital glyphs with a different size,

Re: [Flashcoders] Combobox embed fonts PC/Mac problem

2007-01-23 Thread Brandon Barkley
You might try: myComboBox.embedFonts = true; Chip Moeser wrote: We are having an cross platform issue when trying to embed fonts using the combobox and set style. When we publish on a mac with: myCombobox.setStyle(embedFonts, true); the fonts show up embedded on a mac but not a pc. When we

Re: [Flashcoders] Combobox embed fonts PC/Mac problem

2007-01-23 Thread Chip Moeser
Thanks but no go:( Brandon Barkley wrote: You might try: myComboBox.embedFonts = true; Chip Moeser wrote: We are having an cross platform issue when trying to embed fonts using the combobox and set style. When we publish on a mac with: myCombobox.setStyle(embedFonts, true); the fonts show

Re: [Flashcoders] Running Flash Application on a local

2007-01-23 Thread Patricia Britt
just a couple of ideas.. in publish settings did you allow network access? also there used to be a .sol file that could be changed (maybe have network systems push the change out to the users) but I don't have one on my machine anymore? don't know where it went. I haven't been able to test

RE: [Flashcoders] Combobox embed fonts PC/Mac problem

2007-01-23 Thread Keith Reinfeld
Chip, Try this: // check the Flash Player version trace(System.capabilities.version); var OS:String = System.capabilities.version.substring(0,3); trace(OS = +OS); if(OS == WIN){ trace(Windows); myCombobox.setStyle(embedFonts, true); } if(OS == MAC){

Re: [Flashcoders] Embed JS for flash 9 content

2007-01-23 Thread Geoff Stearns
Can you give more details on the 'invalidate our php session in IE' problem you mentioned? Many people use SWFObject with PHP, and I've never heard of a problem like this before. On Jan 21, 2007, at 1:52 PM, {reduxdj} wrote: Hi There, I'm using a document write tag in js to avoid the

Re: [Flashcoders] Flash IE OCX error

2007-01-23 Thread Geoff Stearns
have you tried uninstalling the plugin (using the adobe uninstaller) and then reinstalling it? On Jan 22, 2007, at 3:36 AM, Arindam Dhar wrote: hi, I have encountered flash ocx error many times which just appears without any hint after which I have no other option but to close the

Re: [Flashcoders] Combobox embed fonts PC/Mac problem

2007-01-23 Thread Chip Moeser
Keith, Thanks, but this didn't work. Since we will always be doing our final compile on a mac and embedding takes place at compile time checking the version of the machine wouldn't really make a difference. I think we may just end up building our own combo box. -Chip Keith Reinfeld wrote:

Re: [Flashcoders] Combobox embed fonts PC/Mac problem

2007-01-23 Thread James Dean
i've not used setStyle with a combo box... but i have had some experience with embedding fonts. I'm not saying this is the best practice, but it is one that has worked for me in the past. remove the embedFonts line. somewhere on the stage create a dynamic text field, set to the font you want.

Re: Re[6]: [Flashcoders] External libraries

2007-01-23 Thread Andy Herrman
Oh, the Array(obj) thing ruined my day a month or so ago, as I didn't know the FlashIDE was treating that as constructing an array instead of casting. Does the same with String(obj) (new string instead of cast). Took me a long while to figure that one out. -Andy On 1/23/07, Hans Wichman

Re: [Flashcoders] Combobox embed fonts PC/Mac problem

2007-01-23 Thread Chip Moeser
Thanks. Seems to me this should work, but it didn't. James Dean wrote: i've not used setStyle with a combo box... but i have had some experience with embedding fonts. I'm not saying this is the best practice, but it is one that has worked for me in the past. remove the embedFonts line.

Re: [Flashcoders] Getting Frames Per Second

2007-01-23 Thread Eskil Janson
Hi Daniel! If you want something more graphical, you can download my framechecker at: http://www.flashakademin.se/framechecker/framechecker.fla Drag the performacetester clip from the library of the fla to the stage of any .fla you want to test, and you will see how the framerate fluctuates

[Flashcoders] Security error tried to access incompatible context

2007-01-23 Thread Dave Segal
I have local file that is loading a remote file. The remote file sends a number of events to the file that loads it. I have System.security.allowDomain in the loading file set to allow the domain of the file that is loaded. Events are received, everything works, no problem. But, I keep getting

[Flashcoders] Q:Dynamically Scale a MovieClip by dragging

2007-01-23 Thread moveup
I am creating a 'clip-art' type illustration application. users will have the ability to move, rotate and scale movielip objects they drag from a palette. I'd like to allow interactive scaling and rotating via dragging the bounding box (as well as thru a slider), but am not sure how to first

Re: [Flashcoders] full-browser flash resizing only a few elements

2007-01-23 Thread Kelly Smith
excellent and brief tutorial to achieve what you seek to do: http://www.jamesor.com/2006/10/12/creating-liquid-guis-with-flash-part-2/ - k On 1/22/07, Rákos Attila [EMAIL PROTECTED] wrote: Probably you refer incorrectly to the video and navigation movieclips. By using this you refer to

[Flashcoders] who built this site?

2007-01-23 Thread Mike Dunlop
Does anyone know who or what company coded/built the www.dancesisterdance.com website? Thanks! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] flash on osx thru parallels/bootcamp

2007-01-23 Thread robert
Hi I'm curious if anyone is using Flash IDE on OS X, but doing it thru Parallels. I'm on a Mac Book Pro with 2.33 GHz core duos and it feels like the same speed to publish on this or my old powerbook. I really noticed a difference when I ran a swf (it was only the flash player though).

Re: [Flashcoders] Combobox embed fonts PC/Mac problem

2007-01-23 Thread Delfi Ramirez
Try ordinary marks. I mean not () but (') Delfí Ramírez i Ruiz http://segonquart.blogspot.com ___ Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free.

Re[8]: [Flashcoders] External libraries

2007-01-23 Thread R�kos Attila
I tried out your code and get exactly the same result with Flash IDE and MTASC. Did you try it in the stand-alone player? If in the browser, may be you have changed the default scaling and alignment values in the Publish Settings? Anyway, the most secure method is to set Stage options by script