RE: [Flashcoders] how to hide your AS 2.0 from flash leech software
Yea I believe there are SWF encryption programs; You will probably find out more than me by just googling that... Toby -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Christian Pugliese Sent: 02 August 2006 16:15 To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] how to hide your AS 2.0 from flash leech software anybody knows some effective way to make your classes hidden from that flash's leech softwares? like so-think... ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re: [Flashcoders] AS3 Compiler For MAC OS X
On 7/28/06, Haikal Saadh [EMAIL PROTECTED] wrote: You can use the command line compiler than comes with flex2. You'll have to copy stuff from the windows version, though. http://labs.adobe.com/wiki/index.php/Flex_Builder:tutorials:compiling_mxmlc_osx I'm a bit late on this, but I though it was worth pointing out (if only for the archives) that advice above is out of date. You can download the cross-platform Flex 2 SDK from here: http://www.adobe.com/products/flex/sdk/ Cheers, Steve -- Steve Webster http://dynamicflash.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] jigsaw puzzle piece algorithm
Hi Gunther, imagine the puzzle in its correct configuration: ABCD EFGH I see this as the grid Now if i tell you A, B and E are in a group, you automatically know B is the right neighbour of A, since they can only be in the same group if they connect, and they will only connect if they are in the correct configuration. greetz Hans On 7/31/06, Guntur N. Sarwohadi [EMAIL PROTECTED] wrote: Hi Hans, Hmm.. ok.. i think i see what you and Danny are talking about. yes, i think and hope that will solve the problem.. You dont need to explicitly define a's neighbours, since its a grid, so you know how to find it's direct neighbour if necessary. But if i don't define neighbours, how would i tell a piece to stick at a certain piece on a certain side?.. except I'm using a certain naming convention (like you said, grids) which automatically tells where this piece should stick at.. is this approach is what you mean? big thanks guys, Guntur N. Sarwohadi ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Possible Challenge: AS 3.0 Compiler :)
There is an attempt underway to document the SWF 9 bytes for a disassembler. I'm sure this could be the start of a compiler as well. And unfortunately I don't think Adobe will release the specs any time soon. http://osflash.org/swf9dis Tyler On 8/2/06, John Giotta [EMAIL PROTECTED] wrote: It maybe too soon for anyone to have a full grasp on AMF or SWF specs of an AS3.0 SWF but I wonder if its possible to create a crude compiler from AS3.0. AS3.0 ouroboros of sorts. ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Most efficient way to set a ColorTransform property on a MovieClip
So I guess what we're coming down to, is the fact that you have to have at least 3 lines of code: one for initializing the ColorTransform object, another for setting the ColorTransform value, and still another for setting the MovieClip's colorTransform property to the new ColorTransform object. For example: var ct:ColorTransform = new ColorTransform(); ct.rgb = 0x00; my_mc.transform.colorTransform = ct; Seems so odd that there's no way of combining these lines. Let me know if I'm missing something. It's not a problem to go this route, I just want to make it as efficient as possible. Thanks. On 8/2/06, Marcos Neves [EMAIL PROTECTED] wrote: This is a classic object oriented problem. The MovieClip can´t know that the rbg property has changed from his ColorTransform property. There ar 3 solutions: The first is the easier for Macromedia but worst for us programers. The movieClip, update its ColorTransform when you set it, like this mc.colorTransform = new ColorTransform The second solution would be with listeners. When you assign mc.colorTransform = new ColorTransform, the movie clip do colorTransform.addEventListener(COLOR_CHANGE, The third would be the color transform has a reference to the movieClip and do the same done on the first situation, so when you assign colorTransform.rbg = 0xFF the color transform do: parentMovieClip.colorTransform = this (where this is the colorTransform) Those solutions are fine if you want to change only one property, but if you change 6 properties, the movieClip would be updated 6 times on the last two solutions. Unless the movieClip waits to update only at some internal refresh frame event (but this is with macromedia). My suggestion is create a helper class that would do the follow? new HelperColorTransform(movieClip).rgb = 0xFF; and inside you would do what you can´t do with one line of code. Let´s extends the discussion, since this problem exists in many places of Flash. On 8/2/06, Mark Walters [EMAIL PROTECTED] wrote: What would be the quickest most efficient way to apply a ColorTransform and set the rgb property on a MovieClip? With the Color object, you could use the following line: (new Color(my_mc)).setRGB(0x00); ... and if you extended the Color class and added an rgb getter setter, the following would work as well: (new XColor(my_mc)).rgb = 0x00; ... but with ColorTransform, I can't seem to find a single line solution. I've tried: (my_mc.transform.colorTransform = new ColorTransform ()).rgb = 0x00; ... which doesn't work, although it also doesn't throw an error. I know that I can pass in all the parameters (rm, gm, bm, etc) into the ColorTransform constructor and get it to work on a single line, but I've extended the ColorTransform class and want to be able to call the methods and properties the most efficiently. If anyone could help, that would be very much appreciated. Thanks. ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] grabbing screen caps in FL8
hi list - I need to get bitmaps of some flash content (things the user makes client side). i guess this is possible with the new bitmap api. does anyone have tips /examples of this type of thing? thanks! /dc ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re: [Flashcoders] Mtasc Delegate
Another approach is to use Steve Webster's Delegate. It's polymorphic with the MM version. Here it is anyway: http://dynamicflash.com/2005/05/delegate-version-101/ You get additional functionality similar to Joey Lott's version too, if you decide you need it. Hope it helps. -Chris On 8/2/06, jcarlos [EMAIL PROTECTED] wrote: thanks Pål I´will check that - Original Message - From: Pål Østerud [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, August 02, 2006 6:48 AM Subject: Re: [Flashcoders] Mtasc Delegate Hi João, Mtasc is more strict with variable scope than MM's compiler. If you want to use mtasc on MM's Delegate method you can rename the variable called func inside the dynamically created function in the Delegate.create method (that is two places exactly, and don't touch the line arguments.callee.func). I can't quote MM's sourcecode here due to copyright. Hope that helps. Yours sincerely, Pål Østerud -- From: jcarlos [EMAIL PROTECTED] hi All, I´m having problems using Delegate with MTASC this works fine Flash compiler if (_actionRelease) { container_mc.onRelease = Delegate.create (this, handleRelease); } but doesn´t work with MTASC Any help? Directions ? Thanks in advance João Carlos ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] x,y coordinates of a character
what's the end goal in terms of functionality? On Aug 2, 2006, at 10:12 AM, Robert Gordon wrote: Hey List! I'm trying to find a way to determine the stage coordinates of a character within a dynamically constructed text field (multiline, wrapping, html formated). I've experimented with Erik's TextFieldExtension - but the html formatting wrapping seem to throw it off. Anyone have another solution? One thought I had was to recolor the field to white, colour the character of interest to non-white, convert to a bitmap object and walk it pixel by pixel. Can't imagine that's going to be very efficient though... Thanks in advance for any suggestions, r o b | Robert Gordon | The Article 19 Group Inc. | phone: 514.938.8512 | email: [EMAIL PROTECTED] | http://www.article19.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] jigsaw puzzle piece algorithm
ps whether you do this through a naming convention as you mentioned, or through storing a row and column property for each piece doesnt really matter i guess. On 8/3/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi Gunther, imagine the puzzle in its correct configuration: ABCD EFGH I see this as the grid Now if i tell you A, B and E are in a group, you automatically know B is the right neighbour of A, since they can only be in the same group if they connect, and they will only connect if they are in the correct configuration. greetz Hans On 7/31/06, Guntur N. Sarwohadi [EMAIL PROTECTED] wrote: Hi Hans, Hmm.. ok.. i think i see what you and Danny are talking about. yes, i think and hope that will solve the problem.. You dont need to explicitly define a's neighbours, since its a grid, so you know how to find it's direct neighbour if necessary. But if i don't define neighbours, how would i tell a piece to stick at a certain piece on a certain side?.. except I'm using a certain naming convention (like you said, grids) which automatically tells where this piece should stick at.. is this approach is what you mean? big thanks guys, Guntur N. Sarwohadi ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Font symbols, Polish, Export for Actionscript, barf
What most likely is happening is that when you are not exporting the font flash is using the fonts on your machine. Including a font in the Library is not sufficient - you need to create a dynamic tf on the stage and manually select the characters (or predefined sets of chars) you want to embed. On Aug 2, 2006, at 7:37 AM, James Tarling wrote: Hello, Flash seems to be particularly unfriendly when working with Polish text. If I create a font symbol, choose not to export it in the linkage properties, use it in a dynamic textfield played on the stage, embed Basic Latin plus the extra characters I need for Polish, and populate it with some French, German and Polish words, they all display fine. If I then choose to export my font symbol, then the Polish characters disappear - the French and German characters display fine. This would appear to me to be broken. - I don't suppose anyone has managed to resolve this problem? Or could tell me how I'm misunderstanding the situation. - Macromedia, please sort out fonts in the next version of the Flash IDE, they are a nightmare at the moment. Please let us select which glyphs we want for a font per movie, rather than per text field (maybe having an override option per text field). (I have submitted this as a feature request). I can't think of many scenarios where you might want to stop characters appearing in field that couldn't just be achieved by some script. Or am I alone in this one? Thanks, James ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] video playing help - newbie
Do you know of a way to make the movie automatically play on the first visit but then if you come back to the page after viewing another page, the video doesn't auto-play? Basically, they don't like the fact that every time you go to the home page, the movie starts over. Do you know of a fix for this? ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Re: how to hide your AS 2.0 from flash leech software
You can protect your AS code from decompilers by using an obfuscator. check out www.kindisoft.com and www.genable.com go to this link to download secureSWF Personal http://www.kindisoft.com/RequestEvaluation.aspx __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] FileReference.upload onComplete event fails on OSX
hi I have a flash 8 movie that upload jpegs to a server side script. When hosted on an NT server, with a php script that recieves the upload, the FileReference onComplete event gets called correctly when the an image has completely uploaded using FileReference.upload. This when movie is viewed in Flash Player 8, in IE and Firefox on Windows XP and on OSX. When the same swf is uploaded to an Apache Tomcat/5.5.12 server, with a jsp script to recieve the upload, then the problems start. The upload works ok on both PC and OSX, except that the onComplete event of the FileReference object is never called on OSX. It is essential to trap the onComplete event for the site to continue with its functionality. (If the file takes long enough to upload (more than a few fractions of a second) the the onProgress event is called while its uploading on PC and OSX.) Has anyone come across this problem or similar? TIA ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Shared Objects -- help with troubleshooting,please!
I don't seem to be doing something correct. I am trying to set a Flash equivalent of a cookie then check for it. In my 1st movie: myNameStatus = (normal); myTutorialStatusSO = SharedObject.getLocal(tutorialStatus ); myTutorialStatusSO.data.thingIsave = myNameStatus; myTutorialStatusSO.flush(); In my 2nd movie (trying to read it now) //retrieve the shared objects... myTutorialStatusSO = SharedObject.getLocal(tutorialStatus); //give the results a name we can use... my01_01_01MapStatus = myTutorialStatusSO.data.thingIsave; My expectation is that my01_01_01MapStatus would equal normal. Instead when I view the variables I seem to have nothing... Thanks in advance, Dan Sherman ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Weird getURL behavior
Setup a http proxy (like proxytrace http://www.pocketsoap.com/tcptrace/pt.aspx) on your IE and you can thus see exactly what is being sent -- compare the HTTP headers, the url, the responses, of a working page and a non-working page. You will see exactly what is happening and most likely find the cause of your problem. good luck! B. 2006/8/2, Merrill, Jason [EMAIL PROTECTED]: Did you check your webserver's access log and see what you get when getURL( ) runs? I don't have access to that unfortunately. Big company. :) But good idea, I'll see if I can cut through some bureaucracy to get that information. Another quick test is to change your .doc extension to .html and see what happen. Maybe your webserver is configured not to serve that file type? (doesn't seem like it since you can get it when you try it at the address bar) No, it doesn't happen on other people's browsers, or if I enter the URL manually, so that wouldn't be the issue. Thanks though. Test it on Firefox too and see what happen... Actually, my site doesn't appear at all in Firefox, not sure why - probably just the way I am writing out the embed tags from external Javascript, but this doesn't need to work in Firefox anyway... Thanks anyway for your ideas. Any other thoughts? Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] JavaScript to ActionScript Communication
Hi, I have been trying to communicate between JavaScript and Flash using the JavaScript/Flash integration kit from osflash.org. Communication from ActionScript to JavaScript works fine, but I am having problems with JavaScript to ActionScript communication: anytime I call an AS function from JS, the function is called (so I assume set up my HTML/JS correctly), but none of my passed parameters are recognized. Maybe it is a scope problem? Has anyone ever managed to get this working inside an AS-Class? Cheers, Andy Here is a very reduced version of the Code: - AS-CODE: Class FlvPlayer - import mx.video.FLVPlayback; import mx.utils.*; import com.macromedia.javascript.JavaScriptProxy; class FlvPlayer{ var jsProxy:JavaScriptProxy; /*Constructor Method*/ function FlvPlayer() { jsProxy = new JavaScriptProxy(_root.lcId, this); } /*is called from JS, but does not receive any arguments -- item is undefined*/ function loadNewFiles(item){ trace('object: '+item + / cpFile:+ item.cuePointsFile); } } - JS-CODE inside page --- var dataObj = {movieUrl:'test', cuePointFileUrl:'dummy.xml'}; flashProxy.call('loadNewFiles', dataObj); ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] grab a bitmap region?
Does anyone has some links or directions about How to mark an region over loading an image into a bitmapData on the stage and copy parts of it ? I´ve tryed the simplest example from FL 8 reference manual and I didn´t get just to load the image on the stage In the manual ... import flash.display.BitmapData; var linkageId:String = libraryBitmap; var myBitmapData:BitmapData = BitmapData.loadBitmap(linkageId); var mc:MovieClip = this.createEmptyMovieClip(mc, this.getNextHighestDepth()); mc.attachBitmap(myBitmapData, this.getNextHighestDepth()); .. as loadBitmap is a static method so I must have inside a class so I did import flash.display.BitmapData; class LoadBitmap { private var _myBitmap:BitmapData ; function LoadBitmap (holder:MovieClip,linkageID:String) { trace( LoadBitmap constructor + holder ++ linkageID); // it works //_myBitmap = new BitmapData(100, 80, true, 0x); // it does not works and I get undefined to _myBitmap //_myBitmap= BitmapData.loadBitmap (linkageID); trace ( _myBitmap ) ; var mc:MovieClip = holder.createEmptyMovieClip (mc, holder.getNextHighestDepth()); mc._x = 0; mc._y = 0; mc.attachBitmap ( _myBitmap, 0); } } and instantiate it in the main timeline var loadBitmap:LoadBitmap = new LoadBitmap(this, myPhoto); Nothing happens What am I doing wrong? in time: myPhoto is there in the Library João Carlos ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] video playing help - newbie
Use the flash shared object to set a flash cookie. This way, when the user comes back, the playhead will skip the intro and go to a specified frame. You can also use it to control an flv or anything else. // sets flash shared object version = SharedObject.getLocal(intro_data); // if first time, show intro if (version.data.intro == undefined) { version.data.intro = playIt; version.flush(); trace(version.data.intro); gotoAndPlay(first_time); // play the intro } else // if not first time, go to nav { gotoAndPlay(second_time); // go to the frame for 2nd time viewers version.data.intro = dontPlayIt; version.flush(); trace(version.data.intro + else statement); } On 8/3/06 9:55 AM, Dan McCullough [EMAIL PROTECTED] wrote: Do you know of a way to make the movie automatically play on the first visit but then if you come back to the page after viewing another page, the video doesn't auto-play? Basically, they don't like the fact that every time you go to the home page, the movie starts over. Do you know of a fix for this? ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] RE: tweening multiple properties simultaneously
For what it's worth, I spent a lot of time creating a TweenLite class that does exactly what you want (I think). It adds less than half of the Kb to the SWF compared to other Tweening engines I've worked with (about 2Kb) and it allows you to very easily tween multiple properties with a single call like so: gs.TweenLite.to(mcClip, 1.5, {_x:120, _y:50, _xscale:70, _yscale:70, ease: Strong.easeOut}); You can even delay the tween for a set amount of time, have it call a function when it's done, pass arguments to that function, and more. See the documentation at the top of the class file for more info. Download it at: http://www.greensock.com/ActionScript/TweenLite.zip I hope it serves you well. This is, by the way, the first time I've made my little TweenLite class publicly available and I'm hoping it'll prove valuable for others as well. I'd welcome comments/suggestions (please be kind). Jack Doyle -- Date: Wed, 2 Aug 2006 10:56:12 -0400 From: Matthew Ganz [EMAIL PROTECTED] Subject: Re: [Flashcoders] tweening multiple properties simultaneously To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; format=flowed; charset=iso-8859-1; reply-type=response thanks for the links. enrico - i tried scaling first and it didn't work, and rich, i tried the TweenExtend class and that also didn't work. i'm still getting the same results. the zooming in works but my tweens of the 'x' and 'y' is not working anymore. below is my function. can you see s/thing in the way i'm calculating the displacement for 'nX' and 'nY' that may be the cause of the problem? thanks for lending a hand. very much appreciated. public function zoomIn(activeState:MovieClip) { var nX:Number = (Stage.width/2) - activeState._xmouse; // activeState is reference to US map mc. var nY:Number = (Stage.height/2) - activeState._ymouse; // zoom in to the selected state. new Tween( activeState, _x, Strong.easeOut, activeState._x, nX, 2, true ); new Tween( activeState, _y, Strong.easeOut, activeState._y, nY, 2, true ); // zoom into the map new Tween( activeState, _xscale, Strong.easeOut, activeState._xscale, 200, 2, true ); new Tween( activeState, _yscale, Strong.easeOut, activeState._yscale, 200, 2, true ); } ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] video playing help - newbie
Could either use shared object to determine if the computer had viewed the video before, or perhaps some user-variable on a server side script. I suppose good old cookies might even do the trick. I typically prefer shared objects to cookies. For no particular reason, just find them easier I guess. Here's some psuedo code mixed with shared object programming //Before video starts var my_so:SharedObject = SharedObject.getLocal(vidViewed); var hasSeenVid = my_so.data.hasSeenVid; if(hasSeenVid == undefined){ hasSeenVid = false; } if(!hasSeenVid){ //start video hasSeenVid = true; } my_so.data.hasSeenVid = hasSeenVid; my_so.flush(); On 8/3/06, Dan McCullough [EMAIL PROTECTED] wrote: Do you know of a way to make the movie automatically play on the first visit but then if you come back to the page after viewing another page, the video doesn't auto-play? Basically, they don't like the fact that every time you go to the home page, the movie starts over. Do you know of a fix for this? ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] amfphp, identify each calling
Yes, I think this library is what you're looking for... http://www.5etdemi.com/blog/archives/2006/03/cinqetdemiremoting-a- tiny-but-useful-remoting-library/ steve Message: 20 Date: Thu, 3 Aug 2006 14:20:56 +0200 From: Martin Weiser [EMAIL PROTECTED] Subject: [Flashcoders] amfphp, identify each calling To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; format=flowed; charset=iso-8859-1; reply-type=response Hello, is it possible to mark the calling by some identifier, number or string, so that callings of hte same method with the same responder could be distinguished? thanks in advance Martin -- ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] JSFL: Can I set the swf publish path?
If you use Flasc, you can designate the final SWF output ;) On 8/1/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: I've solved it. I export the publish profile. I read that file in and swap out the values of the nodes. I save that string to the drive (overwriting the old one). I import the new publish profile file. I delete the file from the drive. I save the FLA, publish it, and close it. I reopen my template file. Tada! ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- John Grden ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] x,y coordinates of a character
I'm trying to handle a dynamic 'fill in the blanks' type of interaction - where the client does not have advanced knowledge of the question content ('blank' keywords will be delimited in some way). I've experimented with solution that, to this point, is working beautifully. I colour the word-of-interest different than the rest of the content, capture as a bitmap object, then determine the rect of the colored area. I cycle through each key word and voila! I know exactly where to place my drag-to boxes... r o b | Robert Gordon | The Article 19 Group Inc. | phone: 514.938.8512 | email: [EMAIL PROTECTED] | http://www.article19.com From: Michael Bedar [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Date: Thu, 3 Aug 2006 17:55:03 -0400 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] x,y coordinates of a character what's the end goal in terms of functionality? On Aug 2, 2006, at 10:12 AM, Robert Gordon wrote: Hey List! I'm trying to find a way to determine the stage coordinates of a character within a dynamically constructed text field (multiline, wrapping, html formated). I've experimented with Erik's TextFieldExtension - but the html formatting wrapping seem to throw it off. Anyone have another solution? One thought I had was to recolor the field to white, colour the character of interest to non-white, convert to a bitmap object and walk it pixel by pixel. Can't imagine that's going to be very efficient though... Thanks in advance for any suggestions, r o b | Robert Gordon | The Article 19 Group Inc. | phone: 514.938.8512 | email: [EMAIL PROTECTED] | http://www.article19.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Re: how to hide your AS 2.0 from flash leech software
You can protect your AS code from decompilers by using an obfuscator. Anyone know of any for use on a Mac? David ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] anyway to attach our sample on this forum?
just wonder does this mailing list allow attachment. Cos at time we can best explain our problem but attaching some sample can make a lots difference. cheers jess ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] init() createChildren() onLoad
I have a component that places UI components on the stage during createchildren. I am trying to find out what method I should add event handlers to these input fields. So far onLoad is the only thing that allows the event handles to work. Should I not be able to place that in init? Any reason that I should not use onLoad other than the whole thing is a mess and should be in the constructor? Wade ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Invalid gateway URL
I was wondering if there is a way to capture the error that happens when you do not have a proper gateway URL for flash remoting. Flash just traces out that it can not open the url. Is there a way to do this or should I try and use getURL before I run the remoting service? Thanks; Wade ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] LoadVars - sending an array
Hello, I'm working on a flash game sending data to an Apache module through the LoadVars.sendAndLoad() (i.e. I use neither XML, nor AMF, but send the application/x-www-form-urlencoded strings around). I wonder, how do the other folks send arrays, since you unfortunately can't send a key more than once: var resp_lv:LoadVars = new LoadVars(); resp_lv.decode('my_array=1my_array=2'); for (var key in resp_lv) { trace('key=' + key + ', val=' + resp_lv[key]); } this will print only the last one: key=my_array, val=2 So what do you guys use? Do you glue array elements together using %0A or %00 or is there smth. better? Regards Alex -- http://preferans.de ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] tweening multiple properties simultaneously
I did some tests here with one rectangle and I think it is related to the mc origin point When one tween scales it, it grows from its left upper corner but the another tween doesn´t know about the changes and make the movement based on the original position. So you have to use onMotionChanged to get each ._width after each scale and then center at the same time João Carlos function moveAndScaling (activeState:MovieClip) { // move it to the center of the stage. var myTweenX:Tween = new Tween (activeState, _xscale, Regular.easeOut, activeState._xscale, 200, 2, true); var myTweenY:Tween = new Tween (activeState, _yscale, Regular.easeOut, activeState._yscale, 200, 2, true); // myTweenX.onMotionChanged = function () { var nX:Number = (Stage.width / 2) - activeState._width / 2; var nY:Number = (Stage.height / 2) - activeState._height / 2; activeState._x = nX; activeState._y = nY; }; } - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, August 02, 2006 12:09 PM Subject: RE: [Flashcoders] tweening multiple properties simultaneously Haven't followed the thread close, but maybe wrap it up in a static class like this - call your custom function which has all the tweens combined. This is what I do, works for me. Something like this: //file Animate.as in actionscriptclasspath/com/boa/effects/ import mx.transitions.Tween; import mx.transitions.easing.*; class com.boa.effects.Animate{ public static function myFade(clip:MovieClip, time:Number, xscale:Number, yscale:Number):Array{ var a:Object = new Tween(clip, _alpha, Regular.easeIn, 0, 100, time, true); var b:Object = new Tween(clip, _xscale, Regular.easeIn, xscale, 100, time, true); var c:Object = new Tween(clip, _yscale, Regular.easeIn, yscale, 100, time, true); //returnArray is just an array of the tweens //so you can check to see if they are done: var returnArray:Array = new Array(a,b,c) return returnArray; } } //.fla and/or other class usage: import.com.boa.effects.Animate; Animate.myFade(myClip, .5, 50, 50) Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Fw: grab a bitmap region?
Does anyone has some links or directions about : How to mark an region over loading an image into a bitmapData on the stage and copy parts of it ? At the same time I´ve tryed the simplest example from FL 8 reference manual and I didn´t get just to load the image on the stage In the manual ... import flash.display.BitmapData; var linkageId:String = libraryBitmap; var myBitmapData:BitmapData = BitmapData.loadBitmap(linkageId); var mc:MovieClip = this.createEmptyMovieClip(mc, this.getNextHighestDepth()); mc.attachBitmap(myBitmapData, this.getNextHighestDepth()); .. as loadBitmap is a static method I must have inside a class so I did import flash.display.BitmapData; class LoadBitmap { private var _myBitmap:BitmapData ; function LoadBitmap (holder:MovieClip,linkageID:String) { trace( LoadBitmap constructor + holder ++ linkageID); // it works //_myBitmap = new BitmapData(100, 80, true, 0x); // it does not works and I get undefined to _myBitmap //_myBitmap= BitmapData.loadBitmap (linkageID); trace ( _myBitmap ) ; var mc:MovieClip = holder.createEmptyMovieClip (mc, holder.getNextHighestDepth()); mc._x = 0; mc._y = 0; mc.attachBitmap ( _myBitmap, 0); } } and instantiate it in the main timeline var loadBitmap:LoadBitmap = new LoadBitmap(this, myPhoto); Nothing happens What am I doing wrong? in time: myPhoto is there in the Library Thanks in advance João Carlos ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Possible Challenge: AS 3.0 Compiler :)
Why on earth would you want to? On 8/2/06, John Giotta [EMAIL PROTECTED] wrote: It maybe too soon for anyone to have a full grasp on AMF or SWF specs of an AS3.0 SWF but I wonder if its possible to create a crude compiler from AS3.0. AS3.0 ouroboros of sorts. ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- [EMAIL PROTECTED] ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Security Violation with FLV loading using NetConnection
oh, forgot to mention the FUN part: works if A.swf is publish in HTML (browser) but fails if A.swf is published as executable :-) all together: laugh, please laugh! netConnect.connect(null) is considered a link :D nice code! *** Security Violation *** Connection interrupted with null - forbidden operation from www.mydomain.com/dir/B.swf -- distant SWF files don't have access to local files. cedric A.swf: (local, on HD) loads in B.swf (remote, on www.mydomain.com/dir/B.swf) using a MovieClipLoader B.swf starts a NetConnection to stream a FLV (from same domain, www.mydomain.com/dir/files/movies/any.flv) This works nicely if I compile B.swf and test (I see the FLV being played) now, if I upload B.swf on 'www.mydomain.com/dir/B.swf' and launch A.swf from the local drive, this just fails with the following DUMB message: *** Security Violation *** Connection interrupted with null - forbidden operation from www.mydomain.com/dir/B.swf -- distant SWF files don't have access to local files. I am in a localTrusted sandbox, and using MovieClipLoader + allowDomain always went fine for me. here is all the code in B.swf: var netConn = new NetConnection(); netConn.connect(null); var netStream = new NetStream(netConn); var link = http://www.mydomain.com/dir/files/movies/any.flv;; netStream.onStatus = function(info) { } this.video_player.attachVideo(netStream); this.video_player.smoothing = true; netStream.setBufferTime(5); netStream.play(link); (nb: this is the basic code for loading FLVs by creating a local stream) How can I deal with 'null' ? null is required for streaming FLV files without connecting to a FMS (ex FCS) server (see live docs) netConn.connect(null) but then it fails the whole thing of course, I did System.security.allowDomain(*); What SHOULD I consider now ? I am suspecting the connect method to pass the argument whatever it is ... by passing 'null' Flash still tries to establish a connection, hence my problem. I was thinking someone did hack the NetConnection class (but I couldn't find any hacked NetConnection), what else ? thanks in advance, Cedric ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Checkbox component in a movie
Hi All, When you duplicate a movieclip that has a checkbox component in it, you can no longer reach to that checkbox in the duplicate movieclip via script. Any solutions?Alpay BUL _ Be one of the first to try Windows Live Mail. http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] grab a bitmap region?
From http://livedocs.macromedia.com/flash/8/main/1959.html * Juise said on Feb 22, 2006 at 1:34 AM : * Seems that symbol has to be bitmap - loadBitmap cannot get movieclip´s bitmap data. Charles P On 8/3/06, jcarlos [EMAIL PROTECTED] wrote: Does anyone has some links or directions about How to mark an region over loading an image into a bitmapData on the stage and copy parts of it ? I´ve tryed the simplest example from FL 8 reference manual and I didn´t get just to load the image on the stage In the manual ... import flash.display.BitmapData; var linkageId:String = libraryBitmap; var myBitmapData:BitmapData = BitmapData.loadBitmap(linkageId); var mc:MovieClip = this.createEmptyMovieClip(mc, this.getNextHighestDepth()); mc.attachBitmap(myBitmapData, this.getNextHighestDepth()); .. as loadBitmap is a static method so I must have inside a class so I did import flash.display.BitmapData; class LoadBitmap { private var _myBitmap:BitmapData ; function LoadBitmap (holder:MovieClip,linkageID:String) { trace( LoadBitmap constructor + holder ++ linkageID); // it works //_myBitmap = new BitmapData(100, 80, true, 0x); // it does not works and I get undefined to _myBitmap //_myBitmap= BitmapData.loadBitmap (linkageID); trace ( _myBitmap ) ; var mc:MovieClip = holder.createEmptyMovieClip (mc, holder.getNextHighestDepth()); mc._x = 0; mc._y = 0; mc.attachBitmap ( _myBitmap, 0); } } and instantiate it in the main timeline var loadBitmap:LoadBitmap = new LoadBitmap(this, myPhoto); Nothing happens What am I doing wrong? in time: myPhoto is there in the Library João Carlos ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] anyway to attach our sample on this forum?
just wonder does this mailing list allow attachment. Cos at time we can best explain our problem but attaching some sample can make a lots difference. Sorry, no. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] XPathAPI problems with wildcard searches
I suspect you're expecting similar results to using XSLT where you xsl:template match=blah statement bearing in mind this only works when you use the xsl:apply-templates /, which crawls the tree applying the xpath statements. Remember all you statements are relative to the root node that you pass in (in your example is xml) To my knowledge the XPathAPI wont support what you want, you're need to do some kind of recursion May be worth looking at the other XPath library, cant remember where it is, but a quick google will point you in the right direction i'm sure... On 8/1/06, Lori Hutchek [EMAIL PROTECTED] wrote: The reason I am trying to do the wildcard search is because I have nodes of the same name at different levels and I need them all. So giving a specific path wouldn't give me all of the nodes I need. Here's an expert... xml node nodid=cue14 /node node nodid=cue15 closecaptioning![CDATA[]]/closecaptioning actions action type=evt_post data type=reply order=1 videofile=debate1.flv length=55666 slides node nodid=cue1 order=13 index=true slidefile= printfile=slide1.jpg thumbfile=slide1.jpg type=slide closecaptioning![CDATA[]]/closecaptioning actions / /node /slides /action /actions /node /xml Yes * and / are mathematical operators but in the context of a xpath search they are used as you expect if you were doing a regex search... which also supports the * and / What I am attempting to do is get all the node nodes by doing r = XPathAPI.selectNodeList(myXML,/*/node); If anyone else has experienced the same trouble and know a way around it or know what I'm doing wrong that would be great! Thanks! Lori- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ryanm Sent: Tuesday, August 01, 2006 2:42 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] XPathAPI problems with wildcard searches r = XPathAPI.selectNodeList(x,/*/item); The problem is that / and * are both node operators and math operators, so your statement is ambiguous. The obvious answer, based on your example XML, is to use ./items/item, but I don't know if your real XML is more complex or not. If it is, you just need to make your select statement more explicit. ryanm ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- [EMAIL PROTECTED] ___ 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 Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com