Re: [Flashcoders] Javascript Zoom To Location

2006-10-19 Thread Tyson Tune
That makes a lot of sense, but what I am really looking for is some type of control over the ContextMenu built in items. I just want to call a method that causes the flash player to do it's zoom function. Alternately, if I can call a method the just pops up the context menu, that would

[Flashcoders] IE 7 Speed

2006-10-19 Thread Ben Smeets
Hi all, Just downloaded and installed IE7 Is it me or is flash content much faster then it was in IE6? I have some movies generating hundreds of movieclips through AS, smeems to go much more fluent then before. Anyone else experiencing the same? Ben

[Flashcoders] need a little help: class problems: nSlideShow

2006-10-19 Thread grimmwerks
Here's the deal: I've got a little movieclip that is loaded into a movie instance. The movieclip births a class I called nSlideshow - all it really does is create another movieclip on the fly and slowly cycle through an array of images by an interval. Well when I 'close' the window, it kills

Re: [Flashcoders] Bitmap filters

2006-10-19 Thread David Buff
To invert your image, just create a MovieClip in your library, then put your picture inside, and link this MovieClip with the id: picture_id. the code is: import flash.filters.ColorMatrixFilter; var matrix:Array = new Array(); matrix = matrix.concat([-1, 0, 0, 0, 256]); // red matrix =

Re: [Flashcoders] Flash Projectors - mProjector vs. Zinc

2006-10-19 Thread Nicolas Cannasse
http://haxe.org/swhx While I think it's probably a decent OS product, it seems a little behind the curve at this point. When I inquired as to how I could change the icon for the executable, I was directed to hack the .EXE in a resource editor. You will be happy to know that latest version

[Flashcoders] attachbitmap and copy pixels.

2006-10-19 Thread Johnny Zen
Hi all Can anyone give me a super simple example on using copypixels to take a snapshot of a jpg within a movie clip. I'm having trouble understanding the examples of bitmapdata and copypixels. It would be a great help for me. Best wishes Johnny

Re: [Flashcoders] AS 3.0 - Loader.load() a .swf and than control it

2006-10-19 Thread David Buff
I'm a little confused also about loading swf a control it. I didn't succeeded. But I've readed somewhere that you can not import swf compiled in as2 in a as3 loader, because the classes witch define the movieclip is different. But I remember there is another class especially for as2

RE: [Flashcoders] Flash Projectors - mProjector vs. Zinc

2006-10-19 Thread Blumenthal, Peter
What did you find in Director that was lacking in these other projector tools? Well, a fully featured programming language for a start :) It depends a lot I suppose on exactly what you are trying to achieve. Initially, some things can be more labour intensive in Director (for instance, full

Re: [Flashcoders] attachbitmap and copy pixels.

2006-10-19 Thread David Buff
Hi, Just create a fla and import a picture (jpg) in the librairy (minimum 150,150). Link this picture with the id: picture_id Then try this code. import flash.display.BitmapData; import flash.geom.Point; import flash.geom.Rectangle; var picture:BitmapData =

Re: [Flashcoders] attachbitmap and copy pixels.

2006-10-19 Thread David Buff
Just explain a little more... subPicture.copyPixels(picture,new Rectangle(xPos,yPos,subPicture.width-borderSize*2,subPicture.height-borderSize*2),new Point(borderSize,borderSize)); It's mean: -subPicture is the BitmapData where you want to copy the pixels -copyPixels is a method of

[Flashcoders] Flash Filters - Progressive enhancement for those with the 8+ player?

2006-10-19 Thread Kevin Cannon
Hey all, Is it possible to publish a movie as Flash 6, but use the flash filters to add things like drop shadows for those with the Flash 8 or greater plugin? My basic tests haven't resulted in it working, but I suspect there may be a way. Any ideas? Thanks, - Kevin

Re: [Flashcoders] attachbitmap and copy pixels.

2006-10-19 Thread Johnny Zen
Thanks the help everyone. Ok i'm slowly getting my head around this bitdata. If I wanted to mask a bg pic using setmask. Can i then copy the visible area using copypixels? and use this a fixed image (snapshot) ? Seem to be stuck a little here is my code as far:- import

RE: [Flashcoders] Flash Filters - Progr essive enhancement for those with the 8+ play er?

2006-10-19 Thread Blumenthal, Peter
Is it possible to publish a movie as Flash 6, but use the flash filters to add things like drop shadows for those with the Flash 8 or greater plugin? No. If you publish for Flash Player 6, you can only use Flash Player 6 features. What you could do is publish for 6 8, run a detection script

Re: [Flashcoders] Flash Filters - Progressive enhancement for those with the 8+ player?

2006-10-19 Thread cartel . com
We use a simple trick to perform this : Prepare all your assets to be compiled to Flash 6, you will apply filters only by code, then, in your code you need to create a local var called flash when flash version is not 8, like that (sorry for the ugly code, it's just for the demonstration):

[Flashcoders] phantom flash class instance

2006-10-19 Thread grimmwerks
Ok, this is a flash question I've got a class I'm using in an app - it's really simple, just is a 'slideshow' type class; it gets a list of images and cycles through them as a slideshow with an interval between. Now it's being used in a movieclip that is in turn being loaded in a Window

Re: [Flashcoders] attachbitmap and copy pixels.

2006-10-19 Thread Johnny Zen
any help on this anyone? thanks Johnny ___ 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 Software Premier Authorized

RE: [Flashcoders] Flash Filters - Progressive enhancement for tho se with the 8+ player?

2006-10-19 Thread Blumenthal, Peter
We use a simple trick to perform this : snip Cédric - nice hack - I stand corrected :) Pete This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. We may monitor email to and from our network.

Re: [Flashcoders] phantom flash class instance

2006-10-19 Thread Hans Wichman
Hi, implement a destroy method in the class, in which you tell it to release all its own reference, next release all reference to the object itself. Make sure there are no hidden references, (delegates, setIntervals, movieclip pointers, globals) etc to the instance, so it can be garbage

[Flashcoders] ComboBox

2006-10-19 Thread Laurent CUCHET
There is 2 combobox on the stage, One_cb and two_cb One_cb.addItem({data:1, label:One}); One_cb.addItem({data:2, label:Two}); How can I do to fill two_cb (data and label) with a button ? Thank you for your tips, Laurent ___

Re: [Flashcoders] phantom flash class instance

2006-10-19 Thread Muzak
You have to remove the interval before the slideshow gets removed. You can add an onUnload method in the slideshow class. class SlideShow extends MovieClip { function SlideShow() { } function onUnload() { // remove interval } } regards, Muzak - Original Message - From: grimmwerks

Re: [Flashcoders] attachbitmap and copy pixels.

2006-10-19 Thread David Buff
My english's not so good as I would like... Would like to help you but, could you be a little more understandable (for a frenchy) ?? - Original Message - From: Johnny Zen [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, October 19, 2006

Re: [Flashcoders] ComboBox

2006-10-19 Thread David Buff
Just put a button called button on your stage... and code: One_cb.addItem({data:1, label:One}); One_cb.addItem({data:2, label:Two}); One_cb.addItem({data:3, label:Hello}); One_cb.addItem({data:4, label:Yes}); One_cb.addItem({data:5, label:It works}); button.onRelease = function():Void { for

[Flashcoders] Boolean question

2006-10-19 Thread Mendelsohn, Michael
Hi list... Why does an object's parameter not change if it's instanced as a new Boolean()? w = new Object(); w.zoomed = new Boolean(false); trace (w.zoomed); //false w.zoomed = !(w.zoomed); trace (w.zoomed); //false q = new Object(); q.zoomed = false; trace (q.zoomed); //false q.zoomed =

Re: [Flashcoders] Flash Projectors - mProjector vs. Zinc

2006-10-19 Thread slangeberg
Regarding mProjector: think it has quite a good support for system windows Is there an easy way to add min / max buttons to the window? By default it seems to come up only with a close button! Scott On 10/17/06, Adrian Ionut Beschea [EMAIL PROTECTED] wrote: I used mProjector while

Re: [Flashcoders] Boolean question

2006-10-19 Thread slangeberg
Correct me if I'm wrong but I believe the Boolean type is still a primitive and should not be instantiated with 'new'. You could perform casting like this: w = new Object(); w.zoomed = Boolean( false ); But I don't know what benefit it would give, as Flash doesn't support typing on the

RE: [Flashcoders] htmlText and maxscroll

2006-10-19 Thread Jason Lutes
Try using your original handler function even though the text field is now HTML-enabled, because removing the last 'htmlText' character simply pops off a (non-visible) closing tag's (likely /textformat) final angle bracket. If this method destroys HTML formatting on your text, you can always use

Re: [Flashcoders] Flash Filters - Progressive enhancement for those with the 8+ player?

2006-10-19 Thread Kevin Cannon
Wow - thanks a lot, seems perfect. Found one of those SWF changer utilities too to help with the conversion. http://www.orison.biz/blogs/chall3ng3r/?p=101 Do you know if there's any problems or caveats of using this method? - Kevin On 19/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: We

[Flashcoders] Flashout not working in eclipse 3.2

2006-10-19 Thread Matt Muller
Hi has anyone else encountered this? It doest seem to register as a plug in, ie in the prefs in Eclipse 3.2 for me. Its in the plug ins folder. MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Flashout not working in eclipse 3.2

2006-10-19 Thread Adrian Ionut Beschea
That's what it says in the flashOUT page (http://www.potapenko.com/flashout/) Bad news - now Flashout 0.2 works only in eclipse 3.1 and java 5. Matt Muller [EMAIL PROTECTED] wrote: Hi has anyone else encountered this? It doest seem to register as a plug in, ie in the prefs in Eclipse 3.2 for

Re: [Flashcoders] LocalConnection and Media Components?

2006-10-19 Thread Andy Herrman
I'm pretty new at this, so I'm not sure how much help I can really be, but I'll give it a shot. One thing I just noticed is that in your code for the button movie you instantiate the LocalConnection but don't call connect(). If what you gave there is all of your code than that's probably the

Re: [Flashcoders] Boolean question

2006-10-19 Thread David Buff
I think it's because q.zoomed = false create a memory space where the boolean value flase is stored, and q.zoomed is a pointer witch point to this memory space. New Boolean(false) create also a memory space and a pointer, but with w.zoomed = new Boolean(false) , w.zoomed point to the pointer of

[Flashcoders] nested FLVPlayback and attachMovie

2006-10-19 Thread Pauline McNamara
I was having a problem getting a flv to display in a FLVPlayback instance nested in a movie clip that had been created with attachMovie. I could assign the contentPath and confirm that it was OK with a for-in loop, but the video just wasn't displaying. Then I found a workaround, where I have

Re: [Flashcoders] Selection.getFocus()

2006-10-19 Thread Michael Stuhr
Lieven Cardoen schrieb: FlashCoders, Selection.getFocus() gives back a String. Is there a way to get the Object? eval() micha ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Flash Filters - Progressive enhancement for those with the 8+ player?

2006-10-19 Thread Cédric Néhémie
Hi Kevin, Do you know if there's any problems or caveats of using this method? We haven't see any problems at using this trick in our projects, but we use it only for small occasional swf in our site and only to have a better look, not for big game or critical point I think there's probably

[Flashcoders] Flash File Upload using .NET

2006-10-19 Thread Liam Mincy
Hi, I was wondering if anyone knew of a source or a way to get file uploads to work under ASP.NET 2.0 through Flash? I have found examples of doing this under PHP and ColdFusion, but nothing that does file uploads without the postback under .NET Thanks, liam m-

[Flashcoders] XPath

2006-10-19 Thread Chip Moeser
Does anyone know where I can samples using these (http:// www.xfactorstudio.com/) xpath classes? Thanks! -Chip ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Selection.getFocus()

2006-10-19 Thread Zárate
Exactly. I was amazed too first time I saw it. As micha said, you can do getFocusObject():MovieClip{ eval(Selection.getFocus()); } Any ideas why is working that way? Cheers On 10/19/06, Michael Stuhr [EMAIL PROTECTED] wrote: Lieven Cardoen schrieb: FlashCoders, Selection.getFocus()

[Flashcoders] Re: htmlText and maxscroll

2006-10-19 Thread Joe Cutting
Jason, Thanks for this. As you say, if I continue using the .text attribute it will still work but will remove the html formatting which isn't what I want. I tried using your routine which removes the last character or tag from a html text and it doesn't quite do what I need. The main

[Flashcoders] Event Listener and Levvels

2006-10-19 Thread Laurent CUCHET
I create a listener at level0 How can I do to apply the action with another level component ? var comb_fill:Object = new Object(); comb_fill.change = function(evt2:Object) { //action }; my_cb.addEventListener(change, comb_fill); _level40.mycb1.addEventListener(change, comb_fill);// doesnt

[Flashcoders] color

2006-10-19 Thread Laurent CUCHET
Hello, I draw a rectangle with AS2 and I would like to change color of the fill. Not in one time but in several time as a motion. Have you got an Idea to ? Thank you very much var mcc:MovieClip = this.createEmptyMovieClip(mcc, 5000); MovieClip.prototype.drawRectangle = function(w, h) {

RE: [Flashcoders] Flash File Upload using .NET

2006-10-19 Thread Merrill, Jason
Yes, I use the FileReference class and call an aspx page, attaching variables to the URL string. Works great. There is lots of information on using the Filereference class in the help docs. However, if you want to know how to write the script (C#, VBScript, whatever) to receive and process the

Re: [Flashcoders] XPath

2006-10-19 Thread Mindshare Media
It's not the samples but this may be of use to you: http://download.macromedia.com/pub/documentation/en/flash/fl8/XpathAPI.pdf http://www.sephiroth.it/file_detail.php?id=130# --Damian Mindshare Media, Inc. 622A Alto St. Santa Fe, NM 87501-2519 http://mindsharemedia.net

RE: [Flashcoders] XPath

2006-10-19 Thread Merrill, Jason
Here is an old one: http://flash.terra.ee/flash-books/o'reilly%20-%20actionscript.cookbook.2 003/0596004907_actscptckbk-chp-19-sect-15.html Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED]

Re: [Flashcoders] XPath

2006-10-19 Thread Thomas Rühl -akitogo-
there you go: www.w3schools.com cheers, thomas Chip Moeser wrote: Does anyone know where I can samples using these (http://www.xfactorstudio.com/) xpath classes? Thanks! -Chip ___ Flashcoders@chattyfig.figleaf.com To change your subscription

RE: [Flashcoders] Event Listener and Levvels

2006-10-19 Thread Merrill, Jason
You're loading components into levels (_level40 in your example) ? Hmm, sounds a little troublesome in the first place IMO. level42 was also an 80s Brit pop group by the way so steer clear of that one. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions

RE: [Flashcoders] Event Listener and Levvels

2006-10-19 Thread Alain Rousseau
You have the answer in your question ! ;) I create a listener at level0 If you know the level of your listener, then you should use it to reference it in your function calls. But all that depends on how your projects is built. Is your code on _level0? is it loaded in another swf ? Etc ... So

RE: [Flashcoders] Flash File Upload using .NET

2006-10-19 Thread Brake, Stephen
Liam, I found this code after searching for hours on the net. I'm not sure of its original source, but this works for me. It should place the file in the root (or virtual directory if using virtual directories under a root) string saveToFolder = string.Empty;

Re: [Flashcoders] XPath

2006-10-19 Thread slangeberg
Can't find the links i've looked at, but here's the code I'm currently using. This example probably shows most of the xml data-access capabilities: //in this case, we're only pulling the title of a video, //if a section has any videos! import com.xfactorstudio.xml.xpath.*; . . .

[Flashcoders] Webservices with Zinc and a certificate

2006-10-19 Thread Jim Kremens
Hi all, Basically, I need do webservices call through Flash with a certificate in a Zinc-powered kiosk app. I know this works in a browser - with SSL the browser does all the hard work. But I'm not sure if it's possible with a projector. Zinc would have to provide some means of handling an

[Flashcoders] Form app questions, frustrations

2006-10-19 Thread Chris Douglass
I have a mx2004Pro form application I'm working on and the following bizarre behavior is happening: - switch back and forth between screens, working on this and that, and over time the visible property for various forms revert to true at run-time although their property value in the design

[Flashcoders] Re: Flashcoders Digest, Vol 21, Issue 51

2006-10-19 Thread Matt Garland
Yes, you can copy only the visible pixels of a bitmap. To do this, you must pass the optional AlphaBitmap parameter for copyPixels: public copyPixels(sourceBitmap:BitmapData, sourceRect:Rectangle, destPoint:Point, [alphaBitmap:BitmapData], [alphaPoint:Point], [mergeAlpha:Boolean]) : Void

RE: [Flashcoders] Event Listener and Levvels

2006-10-19 Thread Alain Rousseau
Lol, Got a record from them ... Message to Love if I remember right ;) a gift ... So don't get any funny ideas ... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 19 octobre 2006 11:58 To: Flashcoders mailing list Subject: RE:

Re: [Flashcoders] LocalConnection and Media Components?

2006-10-19 Thread Muzak
argh, error in the last piece of code In the sending swf: var sending_lc:LocalConnection = new LocalConnection(); sending_lc.send(myConnections, setMP3, inmylife.mp3, MP3); regards, Muzak ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] AS 3.0 - Loader.load() a .swf and than control it

2006-10-19 Thread Dave Geurts
Oh wow that would be nice, does anybody know of this class? I cant seem to find anything but, people saying you have no control of a AS 2 movie. -Original Message- From: [EMAIL PROTECTED] on behalf of David Buff Sent: Thu 10/19/2006 2:42 AM To: Flashcoders mailing list Cc:

Re: [Flashcoders] Selection.getFocus()

2006-10-19 Thread David Buff
Hi I did something like this before... You can do a recursive method parsing the path like this: function extractObject(aPath:String):Object { return extractObjectRecurs(this, aPath.split(.), 0); } // end extractRunTime function

RE: [Flashcoders] Flash File Upload using .NET

2006-10-19 Thread Liam Mincy
Thanks a lot guys!!! I had also searched myself and found something on CodeProject that almost fixed the solution, but it did the upload on PostBack which made it somewhat limited in usefulness for working with a live Flash app. Thanks, liam m- --- Brake, Stephen [EMAIL PROTECTED] wrote:

Re: [Flashcoders] Selection.getFocus()

2006-10-19 Thread David Buff
Hi again... eval works but it's a old fonction... I'm not sure it works good in AS 2.0 David Buff - Original Message - From: Michael Stuhr [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, October 19, 2006 5:08 PM Subject: Re:

[Flashcoders] using parseInt() and Math.floor() doesn't return the same value

2006-10-19 Thread Martin Tremblay
I'm wandering if we should continue to use Math.floor() and Math.ceil() since they are unreliable. Code: var a = 2.999; trace(parseInt(a.toString())); trace(Math.floor(a)); trace(a); output: 3 2 3 Would using methods using parseInt to simulate Math.floor() and Math.ceil() be

Re: [Flashcoders] using parseInt() and Math.floor() doesn't return the same value

2006-10-19 Thread slangeberg
Uh, isn't Math.floor supposed to round down? [and Math.ceil() rounds up?] If so, it's working as advertised here. Scott On 10/19/06, Martin Tremblay [EMAIL PROTECTED] wrote: I'm wandering if we should continue to use Math.floor() and Math.ceil() since they are unreliable. Code: var a =

Re: [Flashcoders] Selection.getFocus()

2006-10-19 Thread Muzak
eval() is not deprecated. It's usage has changed in different versions. http://livedocs.macromedia.com/flash/8/main/1726.html regards, Muzak - Original Message - From: David Buff [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday,

RE: [Flashcoders] using parseInt() and Math.floor() doesn't returnthe same value

2006-10-19 Thread Steven Sacks | BLITZ
Today's user headspace error brought to you by the number n. ___ 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 Software

Re: [Flashcoders] using parseInt() and Math.floor() doesn't return thesame value

2006-10-19 Thread Muzak
I think you're looking for Math.round() Math.floor() always rounds down Math.ceil() always rounds up regards, Muzak - Original Message - From: Martin Tremblay [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, October 19, 2006 7:27 PM Subject: [Flashcoders] using

[Flashcoders] Q: Javascript Injection Examples

2006-10-19 Thread bitstreams
Hi Trying a new technique that allows javascript to be 'injected'from within a swf. Has anyone seen any interesting examples of this technique? Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca into the html page from within a

[Flashcoders] Re: simulating mouse clicks

2006-10-19 Thread Vishal Kapur
I'll ask the question a different way: what are all the ways that a mouse click event can be handled in a flash movie? (other than defining an onPress/onRelease callback) -- Vishal On 10/17/06, Vishal Kapur [EMAIL PROTECTED] wrote: I'm trying to solve the problem of generically simulating

RE: [Flashcoders] XPath

2006-10-19 Thread Merrill, Jason
there you go: www.w3schools.com W3schools Xpath specs are not the same as Xfactorstudio's implementation - Xfactorstudios is still only a partial implementation, and I think the poster also wanted Actionscript examples to get what they want from the classes. Jason Merrill Bank of America

Re: [Flashcoders] Webservices with Zinc and a certificate

2006-10-19 Thread Robert r. Sanders
Depending on what you need to do and what expertize you have on hand, I believe there is also a customizable, kiosk oriented version of Firefox that might be the answer. Jim Kremens wrote: Hi all, Basically, I need do webservices call through Flash with a certificate in a Zinc-powered

RE: [Flashcoders] Selection.getFocus()

2006-10-19 Thread Steven Sacks | BLITZ
eval() is not deprecated. You're right. It's more than deprecated. It's been removed altogether in the next version of Flash. http://livedocs.macromedia.com/flex/2/langref/migration.html Global Functions eval() Removed No screen name said on Jul 22, 2006 at 7:59 AM : Why was eval()

Re: [Flashcoders] Webservices with Zinc and a certificate

2006-10-19 Thread Jim Kremens
Interesting thanks for the reply! I'll look into it. Still, this thing is largely built (we're taking it over from another developer). It would be a drag to have to rebuild it. So if anyone has any experience doing this in Zinc, please chime in! Thanks, Jim Kremens On 10/19/06, Robert

[Flashcoders] fileUpload - suprise

2006-10-19 Thread Michael Stuhr
i must be dreaming: the fileSelect-Window is now (9,0,18,60) resizable? wooohhooo! thanks mother! micha ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Q: Javascript Injection Examples

2006-10-19 Thread John VanHorn
i saw some interesting, but simple examples at flash forward. i wrote a function for using javascript's regex for email validation: var s:String = ; s += function checkEmail_flash(email){; s += var s = /^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$/;;

[Flashcoders] Swf to image java library?

2006-10-19 Thread Rick Schmitty
Does anyone know of or how to implement a java library that can create an image from a frame in your flash movie (for thumbnails and such) http://www.bytescout.com/swftoimage.html Thanks! ___ Flashcoders@chattyfig.figleaf.com To change your

[Flashcoders] Exporting from flash to vector format

2006-10-19 Thread Eric Lee
Howdy list, I'm looking for a way to export vector data from flash to some sort of a format that Illustrator can use-svg, ai, eps, etc. Does anyone know how to do this? Thanks! -eric ++ ___ Flashcoders@chattyfig.figleaf.com To change your

[Flashcoders] incrementing a target?

2006-10-19 Thread Bill Pelon
Hello, I'm having problems figuring out how to grab an array value and use that when targeting. This is my fucntion below. What I am wanting to do is take the [i]value and be able to use that when trying to write to my textfields

[Flashcoders] Problem loading files in Server-side code when using compiled (.ase) files

2006-10-19 Thread Andy Herrman
I'm having a really weird problem with my server-side code when trying to use compiled versions of the files. When using the source files (.asc) everything works correctly, but when using the compiled versions of the files things get weird. The short version is this: If I try loading a file

Re: [Flashcoders] Exporting from flash to vector format

2006-10-19 Thread Glen Pike
Copy and paste seems to work if you are using both Flash Illustrator at home. If you have to share with others, Flash will export to a sensible medium - ai / eps are both available in the Export Image dialogues, but watch out, I think it exports from the clip you are editing rather than the

Re: [Flashcoders] Swf to image java library?

2006-10-19 Thread Robert r. Sanders
I could probably figure out where to start, at least on windows (where I'd probably use SWT's ActiveX hosting ability to load the Flash Player), I don't know about on other platforms. Rick Schmitty wrote: Does anyone know of or how to implement a java library that can create an image from a

Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Glen Pike
Erm, I think you might want to try _root.mainMC.auto.subMC[textField + i].text Not sure. Bill Pelon wrote: Hello, I'm having problems figuring out how to grab an array value and use that when targeting. This is my fucntion below. What I am wanting to do is take the [i]value and be able

Re: [Flashcoders] Swf to image java library?

2006-10-19 Thread Andy Herrman
My guess is that would be pretty difficult to do. Given that the the swftoimage library you linked to requires that the player be installed, my guess is that it loads the player's ActiveX control and uses that to extract the image information. I don't know of any way to load an ActiveX control

Re: [Flashcoders] XPath

2006-10-19 Thread Thomas Rühl -akitogo-
Hi, yeah I know, however w3schools still show the direction to go and give a sense of how to use xpath generally. cheers, thomas. Merrill, Jason wrote: there you go: www.w3schools.com W3schools Xpath specs are not the same as Xfactorstudio's implementation - Xfactorstudios is still only

Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Bill Pelon
Seems to jumble me up a bit, I get this error. Expected a field name after '.' operator. _root.mainMC.auto.subMC.[textField+i].text = turbo.attributes.name; thanks though... - Original Message - From: Glen Pike [EMAIL PROTECTED] To: Flashcoders mailing list

Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Glen Pike
Hi, There maybe a typo in your code? it should say subMC[textField + i] There should be no (dot) . before the (square bracket) [ Basically you treat the movieclip subMC like an array. It contains some text fields textField0, textField1, etc. so you can index the array with to get

RE: [Flashcoders] incrementing a target?

2006-10-19 Thread Pete Miller
Get rid of the extra period _root.mainMC.auto.subMC.[textField+i].text = ^ ^ _root.mainMC.auto.subMC[textField+i].text = -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED]

Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Hans Wichman
Yes... _root.mainMC.auto.subMC[textField + i].text and u wrote _root.mainMC.auto.subMC.[textField + i].text note the dot after subMC greetz JC On 10/19/06, Bill Pelon [EMAIL PROTECTED] wrote: Seems to jumble me up a bit, I get this error. Expected a field name after '.' operator.

RE: [Flashcoders] Exporting from flash to vector format

2006-10-19 Thread Eric Lee
Sorry, should've been a bit more specific -- I have a swf that is dynamically generating vector data (placing movie clips, drawing lines, etc. according to predefined algorithms). I'm looking to export data generated from that swf to a vector format, and I don't think copy and paste works for

Re: [Flashcoders] Exporting from flash to vector format

2006-10-19 Thread Robert r. Sanders
If you have access to the source (or are willing to decompile) you can add code to create a SVG or other description as the lines are drawn, then use getURL to POST the results to a server or dump them into a textarea. You may also be able to hijack the original code, by wrapping the SWF in a

Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Bill Pelon
This seems to work great on the right hand side and comes back with the correct data when traced but I need to use that value as my target. I may be missing something completely obvious as I'm a total newbie on the coding so forgive me if I'm overlooking something simple. I have uploaded my

RE: [Flashcoders] incrementing a target?

2006-10-19 Thread Steven Sacks | BLITZ
var mc = this[btn + i]; mc is your target. mc.onRollOver = function() {}; The issue you might have is that you cannot assign functions and certain properties to a movieclip you are going to loadMovie on because as soon as the movie is loaded, it overwrites all the methods and properties you

Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Victor Gaudioso
Yes, this was just recently an issue I ran up against. I could not figure out why I could not get a trace on an event. I finally figured it out. Good post Steve, I am sure it will save someone A LOT of time. Victor The issue you might have is that you cannot assign functions and certain

Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Glen Pike
Aha! Your text fields on stage are named txtField0, txtField1, etc. But you are trying to index them as [textField + i] Sorry that is partly my fault as my original answer said text... not txt.. as your code does. so to clarify.. _root.mainMC.auto.subMC[txtField + i].text =

Re: [Flashcoders] Exporting from flash to vector format

2006-10-19 Thread g . wygonik
Hi Eric I'm not sure if it will help your exact situation, but my blazePDF component will allow you to create a PDF document at run-time entirely within your Flash app (no print drivers or anything). You could, in theory, use this to create your PDF which retains vector representations of

Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Muzak
try the Flashnewbie mailing list http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie - Original Message - From: Bill Pelon [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, October 20, 2006 12:07 AM Subject: Re: [Flashcoders]

Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Bill Pelon
Thanks Glen, This worked perfectly... Bill - Original Message - From: Glen Pike [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, October 19, 2006 6:10 PM Subject: Re: [Flashcoders] incrementing a target? Aha! Your text fields on

RE: [Flashcoders] Exporting from flash to vector format

2006-10-19 Thread Merrill, Jason
If I could tap in here and ask a question: Greg, that looks really cool - I had heard of it before, but now I might be interested Blaze PDF for a project. Do you know how many PDF pages it can generate (is there a max)? Will it render out dynamic textfields in the positions they are in? What

RE: [Flashcoders] Exporting from flash to vector format

2006-10-19 Thread Eric Lee
Hey Greg, This looks like a perfect solution for my project, thanks for the tip! -Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of g.wygonik Sent: Thursday, October 19, 2006 3:53 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Exporting

Re: [Flashcoders] Re: simulating mouse clicks

2006-10-19 Thread Yehia Shouman
Hi, what you wanna do is to send Windows messages, this is not supported in flash, and I know nothing of a workaround. Sorry Yehia On 10/19/06, Vishal Kapur [EMAIL PROTECTED] wrote: I'll ask the question a different way: what are all the ways that a mouse click event can be handled in a flash

Re: [Flashcoders] Exporting from flash to vector format

2006-10-19 Thread g . wygonik
Hey Jason (and all) Do you know how many PDF pages it can generate (is there a max)? There is no programmatic limit to the number of pages. While I have had users create 20-40 page documents, I haven't had anyone try, say, 9,000 pages. :-) Will it render out dynamic textfields in the

[Flashcoders] Converting a comma delimitted list to an array from MySql

2006-10-19 Thread Carl Welch
Oi, All. I am recieving a comma delimitted list/String from MySql that looks like this: 0,0,0,26.361817121505737,10.903573036193848,7.390960305929184,24.12494868040085,21.304115653038025,6.756003946065903,11.561043560504913 I am trying to convert it into an Array. I used to do something like

Re: [Flashcoders] Converting a comma delimitted list to an array from MySql

2006-10-19 Thread Arse @ Snepo
use the string.split method var my_array:Array = my_str.split(,); A Carl Welch wrote: Oi, All. I am recieving a comma delimitted list/String from MySql that looks like this:

Re: [Flashcoders] Flash File Upload using .NET

2006-10-19 Thread Carl Welch
I've found that when uploading using FileReference, my files end up being read only by the owner (chmod 600). Which in turn doesn't allow the file to be read back into my swf Does anyone know of a way to make it chmod to 644? I 've tried to make php set it to the proper chmod but to no avail.

Re: [Flashcoders] Converting a comma delimitted list to an array from MySql

2006-10-19 Thread Carl Welch
Thanks, though, I heard that the split function built into AS is notoriously slow. True? On 10/19/06, Arse @ Snepo [EMAIL PROTECTED] wrote: use the string.split method var my_array:Array = my_str.split(,); A Carl Welch wrote: Oi, All. I am recieving a comma delimitted list/String from

  1   2   >