Re: [Flashcoders] MDM Zinc, 2.5, minor 15, 16, exit() error?
http://www.multidmedia.com/support/ http://www.mdmforum.com/forum/ - Original Message - From: Martin Weiser [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, June 19, 2006 7:16 AM Subject: [Flashcoders] MDM Zinc, 2.5, minor 15, 16, exit() error? Hello, anybody using Zinc? i got terrible hassel, mdm.Application.exit() doesnt work, it causes flash to stop, and you cannto close the Window also, only by closing the process i tried the mdm.Application.exit() even in an empty swf, with no other code... Got anybody some help, please... 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] MDM Zinc, 2.5, minor 15, 16, exit() error?
well, thanks, i need it very fast, will try the supprot, but it will take some time... M - Original Message - From: Muzak [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, June 19, 2006 8:35 AM Subject: Re: [Flashcoders] MDM Zinc, 2.5, minor 15, 16, exit() error? http://www.multidmedia.com/support/ http://www.mdmforum.com/forum/ - Original Message - From: Martin Weiser [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, June 19, 2006 7:16 AM Subject: [Flashcoders] MDM Zinc, 2.5, minor 15, 16, exit() error? Hello, anybody using Zinc? i got terrible hassel, mdm.Application.exit() doesnt work, it causes flash to stop, and you cannto close the Window also, only by closing the process i tried the mdm.Application.exit() even in an empty swf, with no other code... Got anybody some help, please... 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 ___ 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] MDM Zinc, 2.5, minor 15, 16, exit() error?
Martin, I'd suggest thinking about rolling back to an earlier Zinc version. It may fix the problem. It seems to work okay in version 14, if that helps. We have terrible trouble with Zinc's new releases. Each new release seems to introduce a new bug, breaking old features which have been working fine up to this point. For example, versions 15 and 16 stop Mouse.hide() working, whereas up to this point it's worked fine. Their quality assurance is extremely poor, to say the least; this is the third time I've had something like this happen. I really should migrate to some other product; but unfortunately busy time schedules mean that I haven't had the time to investigate the others in any depth. As an aside, does anyone know offhand (and preferably has anyone tested) if any of the other swf2exes support the following: 1) DirectX resolution setting of the screen mode on PC 2) Execution of external files and return of the textual output Thanks, Ian On 6/19/06, Martin Weiser [EMAIL PROTECTED] wrote: well, thanks, i need it very fast, will try the supprot, but it will take some time... M ___ 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] AMF .net
AMF.NET seems quite young atm when compared to Fluorine. Personally, I've had nothing but great results from Fluorine and would recommend it to anyone. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Sent: 18 June 2006 14:23 To: 'Flashcoders mailing list' Subject: [Flashcoders] AMF .net Hi All, Is anybody using the ( http://amfnet.openmymind.net/ http://amfnet.openmymind.net/) amf solution in .net? I was wondering how well it is working in the field and how it compares to fluorine ( http://fluorine.thesilentgroup.com/fluorine/ http://fluorine.thesilentgroup.com/fluorine/). Anyone any recommendations in this field? Cheers, Ben ___ 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] Unable to create button greater than stage size
Hi All, Please check following code... I am trying to make a button whose size is greater than stage size then in that case button is not created. Please help. Thanks in advance. Stage.scaleMode = showAll; _root.createEmptyMovieClip(rootButton, 100); var rootBtn = _root.rootButton; rootBtn.onPress = function() {trace(Mouse Pressed);}; with (rootBtn) { var topLeft = -5000; var bottomRight = 1; beginFill(#FF000, 100); moveTo(topLeft, topLeft); lineTo(topLeft, bottomRight); lineTo( bottomRight, bottomRight); lineTo(bottomRight, topLeft); lineTo(topLeft,topLeft); endFill(); } Regards: Gaurav ___ 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] dot matrix gameboy style
Been playing around recently with upscaling lowres bitmapdata to make large-pixel graphics, eventually for a game engine of some sort, but the pixels tend to be blurred around the edges when scaled up. Anyone know of a fix to sharpen their look? In addition, anyone know of any techniques for pixel graphics in flash using the bitmapdata object? In particular i'm curious about drawing and animating sprites in them. My games are already code/graphics independent, so the ish for me now is finding a good bridge of sorts. Cheers, - Andreas SJ ___ 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] dot matrix gameboy style
You need to essentially code your own BitmapDataSprite class, but it's not a very big deal. I have a fairly speedy library for BitmapData-only animations with multiple autonomous Sprites manipulating/existing-within a Bitmapdata Stage class. Writing your own event stack to create the various control loops is key here. There's a Boolean prop to the BitmapData which controls the smoothing. Can't remember the name off the top of my head, check the docs... also making sure the Bitmap is located on an integer X,Y loc is a good idea. Placing it at _x=11.5;_y=20.1; will blur it a bit. Cheers t -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning Sent: 19. juni 2006 11:04 To: Flashcoders mailing list Subject: [Flashcoders] dot matrix gameboy style Been playing around recently with upscaling lowres bitmapdata to make large-pixel graphics, eventually for a game engine of some sort, but the pixels tend to be blurred around the edges when scaled up. Anyone know of a fix to sharpen their look? In addition, anyone know of any techniques for pixel graphics in flash using the bitmapdata object? In particular i'm curious about drawing and animating sprites in them. My games are already code/graphics independent, so the ish for me now is finding a good bridge of sorts. Cheers, - Andreas SJ ___ 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] Any Lists Specific to Flash Game Development?
http://board.flashkit.com/board/forumdisplay.php?f=5 Enjoy! :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Hamer Sent: Sunday, June 18, 2006 9:45 PM To: Flashcoders mailing list Subject: [Flashcoders] Any Lists Specific to Flash Game Development? Anyone know it there are any lists specifically targeted at Flash game development? ___ 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] Any Lists Specific to Flash Game Development?
http://board.flashkit.com/board/forumdisplay.php?f=5 Enjoy! :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Hamer Sent: Sunday, June 18, 2006 9:45 PM To: Flashcoders mailing list Subject: [Flashcoders] Any Lists Specific to Flash Game Development? Anyone know it there are any lists specifically targeted at Flash game development? Dirgames-L (http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames-l) is officially for Director and Flash development, although it's mostly populated by Director people. Personally I think more crossover would be a good thing there, so anyone wanting to share might like to take a look. Danny ___ 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] MDM Zinc, 2.5, minor 15, 16, exit() error?
1) DirectX resolution setting of the screen mode on PC 2) Execution of external files and return of the textual output SWf Studio (www.northcode.com) can do this: ssCore.Desktop.changeResolution() (if you ment by using DirectDraw) and ssCore.Shell.execute() -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Monday, June 19, 2006 9:52 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] MDM Zinc, 2.5, minor 15, 16, exit() error? Martin, I'd suggest thinking about rolling back to an earlier Zinc version. It may fix the problem. It seems to work okay in version 14, if that helps. We have terrible trouble with Zinc's new releases. Each new release seems to introduce a new bug, breaking old features which have been working fine up to this point. For example, versions 15 and 16 stop Mouse.hide() working, whereas up to this point it's worked fine. Their quality assurance is extremely poor, to say the least; this is the third time I've had something like this happen. I really should migrate to some other product; but unfortunately busy time schedules mean that I haven't had the time to investigate the others in any depth. As an aside, does anyone know offhand (and preferably has anyone tested) if any of the other swf2exes support the following: 1) DirectX resolution setting of the screen mode on PC 2) Execution of external files and return of the textual output Thanks, Ian On 6/19/06, Martin Weiser [EMAIL PROTECTED] wrote: well, thanks, i need it very fast, will try the supprot, but it will take some time... M ___ 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] Any Lists Specific to Flash Game Development?
- http://www.flashgamecoders.com/ Also has a mailing list, but it's pretty dead. Mike The Helmsman wrote: http://board.flashkit.com/board/forumdisplay.php?f=5 Enjoy! :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Hamer Sent: Sunday, June 18, 2006 9:45 PM To: Flashcoders mailing list Subject: [Flashcoders] Any Lists Specific to Flash Game Development? Anyone know it there are any lists specifically targeted at Flash game development? ___ 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 -- - Mike Cobb Creative Director HMC Interactive - Tel: + 44 (0)845 20 11 462 Mob: + 44 (0)785 52 54 743 Web: http://www.hmcinteractive.co.uk - Grosvenor House, Belgrave Lane, Plymouth, PL4 7DA, UK. - ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] AMF .net
Tx, good to hear it. I tried Fluorine also today and although it is a bit more work to set it up at first, it does indeed seem to have more functionality (custom classes) and a larger user base. Tnx for the info, Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lee McColl-Sylvester Sent: maandag 19 juni 2006 10:45 To: Flashcoders mailing list Subject: RE: [Flashcoders] AMF .net AMF.NET seems quite young atm when compared to Fluorine. Personally, I've had nothing but great results from Fluorine and would recommend it to anyone. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Sent: 18 June 2006 14:23 To: 'Flashcoders mailing list' Subject: [Flashcoders] AMF .net Hi All, Is anybody using the ( http://amfnet.openmymind.net/ http://amfnet.openmymind.net/) amf solution in .net? I was wondering how well it is working in the field and how it compares to fluorine ( http://fluorine.thesilentgroup.com/fluorine/ http://fluorine.thesilentgroup.com/fluorine/). Anyone any recommendations in this field? Cheers, Ben ___ 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] AMF .net
Does any of you guys or gals know some good documentatioon about AMF? I am planning to make a message protocol using AMF for ROSDK. I already got something similar for AS3 using binary sockets working, but I would like to try out AMF too. Anyone? Yours, Weyert de Boer ___ 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] Problem parsing mxml(Flex2.0B3)
Hi all, I'm new to Flex. I may have to develop some RIA application using Flex2.0. I'm using Weblogic as my application server. When try to locate my index.mxml(http://localhost:7001/index.mxml), i'm getting following error. 22 Errors found. Error /index.mxml:2 Unknown attribute 'layout' on mx.core.Application Error /index.mxml:3 Don't know how to parse element http://www.adobe.com/2006/mxml:Style;. It is not a known type or a property of mx.core.Application. I've configured name space in my flex-config.xml in the following way namespaces namespace uri=http://www.adobe.com/2006/mxml; manifest/WEB-INF/flex/mxml-manifest.xml/manifest /namespace namespace uri=http://www.macromedia.com/2003/mxml; manifest/WEB-INF/flex/mxml-manifest.xml/manifest /namespace /namespaces I've got Flex 1.5 jars(flex-bootstrap.jar). do i need to update any jars for flex 2.0? if so where can i get new jar files. I've installed flex2.0 builder on my system. I'll be thankful for the help on this. Thanks in advance. -silpa __ 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
Re: [Flashcoders] AMF .net
Lee McColl-Sylvester wrote: Talk to the Red5 team. They've constructed their own AMF documentation. Okay! Also, beware of reading anything provided my Adobe as their licenses will bind you by just reading it. LOL ___ 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] MDM Zinc, 2.5, minor 15, 16, exit() error?
Have you actually bothered looking at the mdm forums? http://www.mdmforum.com/forum/index.php?showtopic=13810 http://www.mdmforum.com/forum/index.php?showtopic=12577hl=mdm\.application\.exit took me 2 min. to find that.. - Original Message - From: Martin Weiser [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, June 19, 2006 7:16 AM Subject: [Flashcoders] MDM Zinc, 2.5, minor 15, 16, exit() error? Hello, anybody using Zinc? i got terrible hassel, mdm.Application.exit() doesnt work, it causes flash to stop, and you cannto close the Window also, only by closing the process i tried the mdm.Application.exit() even in an empty swf, with no other code... Got anybody some help, please... 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] Problem parsing mxml(Flex2.0B3)
You ebtter join Flexcoders http://www.flexcoders.org/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of silpa s Sent: Monday, June 19, 2006 12:43 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Problem parsing mxml(Flex2.0B3) Hi all, I'm new to Flex. I may have to develop some RIA application using Flex2.0. I'm using Weblogic as my application server. When try to locate my index.mxml(http://localhost:7001/index.mxml), i'm getting following error. 22 Errors found. Error /index.mxml:2 Unknown attribute 'layout' on mx.core.Application Error /index.mxml:3 Don't know how to parse element http://www.adobe.com/2006/mxml:Style;. It is not a known type or a property of mx.core.Application. I've configured name space in my flex-config.xml in the following way namespaces namespace uri=http://www.adobe.com/2006/mxml; manifest/WEB-INF/flex/mxml-manifest.xml/manifest /namespace namespace uri=http://www.macromedia.com/2003/mxml; manifest/WEB-INF/flex/mxml-manifest.xml/manifest /namespace /namespaces I've got Flex 1.5 jars(flex-bootstrap.jar). do i need to update any jars for flex 2.0? if so where can i get new jar files. I've installed flex2.0 builder on my system. I'll be thankful for the help on this. Thanks in advance. -silpa __ 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@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] AMF .net
[snip] Also, beware of reading anything provided my Adobe as their licenses will bind you by just reading it. LOL Well, there's not much to laugh about. Probably by reading their documentation, you are not allowed to participate in any open source project that deals with AMF matters. If you do, any project you participate on has legal issue problems. -m ___ 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] Problem parsing mxml(Flex2.0B3)
try the flexcoders mailing list: http://groups.yahoo.com/group/flexcoders/ But it seems like you're trying to mix Flex 1.5 and Flex 2.0, which won't work. Flex 2.0 is a whole new ballgame. You need to compile your mxml to swf from Flex Builder 2 and put the generated files on your server (or compile to server directly if local). Check the tutorials and docs that comes with Flex Builder 2. regards, Muzak - Original Message - From: silpa s [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Monday, June 19, 2006 12:43 PM Subject: [Flashcoders] Problem parsing mxml(Flex2.0B3) Hi all, I'm new to Flex. I may have to develop some RIA application using Flex2.0. I'm using Weblogic as my application server. When try to locate my index.mxml(http://localhost:7001/index.mxml), i'm getting following error. 22 Errors found. Error /index.mxml:2 Unknown attribute 'layout' on mx.core.Application Error /index.mxml:3 Don't know how to parse element http://www.adobe.com/2006/mxml:Style;. It is not a known type or a property of mx.core.Application. I've configured name space in my flex-config.xml in the following way namespaces namespace uri=http://www.adobe.com/2006/mxml; manifest/WEB-INF/flex/mxml-manifest.xml/manifest /namespace namespace uri=http://www.macromedia.com/2003/mxml; manifest/WEB-INF/flex/mxml-manifest.xml/manifest /namespace /namespaces I've got Flex 1.5 jars(flex-bootstrap.jar). do i need to update any jars for flex 2.0? if so where can i get new jar files. I've installed flex2.0 builder on my system. I'll be thankful for the help on this. Thanks in advance. -silpa ___ 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] Problem parsing mxml(Flex2.0B3)
Thanks Muzak, But mxmlc genarates swf html's to access swf. but i want server to comple when mxml file requested by the user using http://host/index.mxml not http://host/index.html. Thanks -Silpa --- Muzak [EMAIL PROTECTED] wrote: try the flexcoders mailing list: http://groups.yahoo.com/group/flexcoders/ But it seems like you're trying to mix Flex 1.5 and Flex 2.0, which won't work. Flex 2.0 is a whole new ballgame. You need to compile your mxml to swf from Flex Builder 2 and put the generated files on your server (or compile to server directly if local). Check the tutorials and docs that comes with Flex Builder 2. regards, Muzak - Original Message - From: silpa s [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Monday, June 19, 2006 12:43 PM Subject: [Flashcoders] Problem parsing mxml(Flex2.0B3) Hi all, I'm new to Flex. I may have to develop some RIA application using Flex2.0. I'm using Weblogic as my application server. When try to locate my index.mxml(http://localhost:7001/index.mxml), i'm getting following error. 22 Errors found. Error /index.mxml:2 Unknown attribute 'layout' on mx.core.Application Error /index.mxml:3 Don't know how to parse element http://www.adobe.com/2006/mxml:Style;. It is not a known type or a property of mx.core.Application. I've configured name space in my flex-config.xml in the following way namespaces namespace uri=http://www.adobe.com/2006/mxml; manifest/WEB-INF/flex/mxml-manifest.xml/manifest /namespace namespace uri=http://www.macromedia.com/2003/mxml; manifest/WEB-INF/flex/mxml-manifest.xml/manifest /namespace /namespaces I've got Flex 1.5 jars(flex-bootstrap.jar). do i need to update any jars for flex 2.0? if so where can i get new jar files. I've installed flex2.0 builder on my system. I'll be thankful for the help on this. Thanks in advance. -silpa ___ 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 __ 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
Re: [Flashcoders] AMF .net
Well, there's not much to laugh about. Probably by reading their documentation, you are not allowed to participate in any open source project that deals with AMF matters. If you do, any project you participate on has legal issue problems. Ever read their documentation g I mean the help functionality sucks balls in Flash. ___ 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] AMF .net
Yeah, it's like someone forgot that it's supposed to be a help feature. :-) Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: 19 June 2006 12:28 To: Flashcoders mailing list Subject: Re: [Flashcoders] AMF .net Well, there's not much to laugh about. Probably by reading their documentation, you are not allowed to participate in any open source project that deals with AMF matters. If you do, any project you participate on has legal issue problems. Ever read their documentation g I mean the help functionality sucks balls in Flash. ___ 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] XML named node values
AS3 will do this when it's available. It's in the new ECMA specs. Besides Xpath, you can also download other third party classes other people have created which will convert your XML object to an Actionscript object you can traverse with dot syntax: JimsName = myXMLdoc.people[2].name Personally, right now I like Xpath. Jason Merrill Bank of America Learning Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Ron Wheeler Sent: Saturday, June 17, 2006 9:43 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] XML named node values If the chNames do not have any key or ids, with what are you trying to stay in sych? If you are trying to use the node value as a key, then that is what you have to check. This is an XML fact of life - nothing to do with Flash or Actionscript. XPATH will simplify the problem of finding specific nodes but traversing the tree will work pretty easily as well. Ron D_C wrote: hi list - Q on flash and XML. is there a way to read named values from XML without using attributes? eg using atrribute names, a flash XML object can read named values, like associative arrays. channel chName='stocks' / xmlData.attributes[chName] but what if i want to use text nodes, like channel chNamestocks/chName then it seems the only way to access the data is: xmlData.firstChild.nodeValue but then if i change the order of the nodes, the app loses sync with its data. are there some other methods to the XML object that I am missing? Or do i have to write functions to loop thru the whole tree and check against nodeName (eg with a search function)? I guess there are probably some XPath libraries out there, but this would seem a basic functionality... Thanks! /dc ___ David DC Collier [EMAIL PROTECTED] skype: callto://d3ntaku http://www.pikkle.com +81 (0)80 6521 9559 http://charajam.com 【★キャラ♪ジャム★】 人気キャラとJ-POP最新ヒット曲を自分で組み合わせて 待受Flashや着Flashを作っちゃおう! ___ ___ 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] Creating a drawing RIA
So you got a textInput componet and a combobox component and you want to resize the textinput based on the values of the combobox? If this is correct you could set up a handler for the cb.change event that grabs the selected value and performs some logic like if selected value equals 14 then textInput height equals 24 I guess? If your give me a better description I'll help Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of T. van Zantvoort Sent: Monday, 19 June 2006 10:10 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] Creating a drawing RIA Hi guys, Is there anybody who can point me in the right direction on how to manipulate a textbox pulled onto a drawingboard and then let it be resized by dragging or change the font by an pulldownlist etc. Etc. I have tried several things, but it just won't work at certain points. met vriendelijke groeten, T. van Zantvoort MonTay WebArchitects T: +31 (0)40-2300898 F: +31 (0)40-2954071 E: [EMAIL PROTECTED] W: www.montay.nl Hardware: www.mlife.nl E-shop: www.vsnet.nl Own Site: www.1site2start.nl ___ 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] Creating a drawing RIA
I would think you can just wrap the textfield in a movieclip and use the DraggableMovieClip class. Maybe you can continue on this example by Mario? http://www.quasimondo.com/archives/000620.php#000620 ___ 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] Cross Domain and ExternalInterface
Let me explain the setup first. I have a SWF application and the JavaScript file on one domain. I'm displaying the SWF and loading the JavaScript file on another domain. The SWF registers callbacks to JavaScript methods, but when I try to call the ActionScript methods from JavaScript it fails. I receive a strange error from Firefox: Error: uncaught exception: Error calling method on NPObject! [plugin exception: Error in Actionscript. Use a try/catch block to find error.]. I also receive this sandbox security violation: *** Security Sandbox Violation *** SecurityDomain 'http://wiki.domain.com/bin/view/IMDDocs/FLVDevShed' tried to access incompatible context 'http://cfdev.domain.com/Staff/jgiotta/mgmediaplayer/mgmediaplayer.swf' Is there any security issues I need to be aware of in order for this to work? ___ 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] file reference
hello all, I want to know the path of the file on the local hard drive which is been browsed by the user. How can I achieve this ? flash 8 provides flash.net.FileReference package which we can achieve browse and upload. But I could not find the solution to my problem. Any idea how can I do this ? Any work around ? do I need to use any server side scripting for this .. Please give some suggestion Thanks in advance Mayur ___ 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] Unable to create button greater than stage size
I read somewhere that assets on the stage can't be larger then 2880 pixels in either direction. Maybe you should split up that button of yours. (I don't wanna know why you'd need such a big button) 2006/6/19, Dhiraj Girdhar [EMAIL PROTECTED]: Hi All, Please check following code... I am trying to make a button whose size is greater than stage size then in that case button is not created. Please help. Thanks in advance. Stage.scaleMode = showAll; _root.createEmptyMovieClip(rootButton, 100); var rootBtn = _root.rootButton; rootBtn.onPress = function() {trace(Mouse Pressed);}; with (rootBtn) { var topLeft = -5000; var bottomRight = 1; beginFill(#FF000, 100); moveTo(topLeft, topLeft); lineTo(topLeft, bottomRight); lineTo( bottomRight, bottomRight); lineTo(bottomRight, topLeft); lineTo(topLeft,topLeft); endFill(); } Regards: Gaurav ___ 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] xml question
thanks On 6/17/06, Paul Evans [EMAIL PROTECTED] wrote: On 16 Jun 2006, at 22:28, Flash guru wrote: I'm restricted to asp, but I'm a php native that is blind to the ways of asp I'm trying to leave the way of ASP behind - the following notes might be useful to you... A good quick ASP reference :- http://www.devguru.com/ In ActionScript, when you create/build the XML object, don't bother setting the XMLObject.contentType as you would for PHP. The (unusual) default was intended for communicating with ASP. On the server, asp VBScript code I have used previously to process XML sent from flash... % dim xmlObj Set xmlObj = Server.CreateObject( Microsoft.XMLDOM ) xmlObj.async = false xmlObj.load( Request.BinaryRead( Request.TotalBytes ) ) if xmlObj.parseError.errorCode 0 then 'there-was-a-parse-error else 'do-something end if % In your case the do-something is probably to just a call to the xmlObj save method? e.g. xmlObj.save( C:\path-to-target-file ) http://www.devguru.com/technologies/xml_dom/15813.asp You may also find reading up on the VBScript File System Object if you have other file type things to such as testing to see if the file already exists... http://www.devguru.com/technologies/vbscript/14048.asp And finally you may need to use Server.MapPath to find the path to your site-root folder... http://www.devguru.com/technologies/asp/9170.asp hth Paul -- [ http://www.creative-cognition.co.uk/ ] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf 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: Creating a drawing RIA
This is the part AS I am using but it just won't work. In the first place I used ._width and _ height in stead of _xscale and _yscale, I prefer this to use the _width but that just don't work. I use in combination with the nummerstepper component. var nstepListener:Object = new Object(); nstepListener.change = function(evt_obj:Object) { _level0.letterTypeWeergave_txt.autoSize = true; _level0.letterTypeWeergave_txt.multiline = false; var newTextSize:TextFormat = new TextFormat(); currentX = _level0.letterTypeWeergave_txt._x; currentY = _level0.letterTypeWeergave_txt._y; currentWidth = _level0.letterTypeWeergave_txt._width; currentHeight = _level0.letterTypeWeergave_txt._height; currentScale = currentWidth/currentHeight; trace(currentScale); //newTextSize.size = letterGrootte_nstep.value; letterBreedte_nstep.value = letterGrootte_nstep.value*currentScale; _level0.letterTypeWeergave_txt._yscale = letterGrootte_nstep.value; _level0.letterTypeWeergave_txt._xscale = letterBreedte_nstep.value; _level0.letterTypeWeergave_txt.setTextFormat(newTextSize); _level0.letterTypeWeergave_txt.grootte = letterGrootte_nstep.value; _level0.letterTypeWeergave_txt.breedte = letterBreedte_nstep.value; _level0.holder.menu_acc.resultaten.spContentHolder.resultGrootte_txt.text = _level0.letterTypeWeergave_txt.grootte; _level0.holder.menu_acc.resultaten.spContentHolder.resultBreedte_txt.text = _level0.letterTypeWeergave_txt.breedte; _level0.letterTypeWeergave_txt._x=currentX; _level0.letterTypeWeergave_txt._y=currentY; updateAfterEvent(); }; letterGrootte_nstep.addEventListener(change, nstepListener); var nstepListenerB:Object = new Object(); nstepListenerB.change = function(evt_obj:Object) { _level0.letterTypeWeergave_txt.autoSize = true; _level0.letterTypeWeergave_txt.multiline = false; var newTextSize:TextFormat = new TextFormat(); currentX = _level0.letterTypeWeergave_txt._x; currentY = _level0.letterTypeWeergave_txt._y; currentWidth = _level0.letterTypeWeergave_txt._width; currentHeight = _level0.letterTypeWeergave_txt._height; currentScale = currentWidth/currentHeight; trace(currentScale); //newTextSize.size = letterBreedte_nstep.value; letterGrootte_nstep.value = letterBreedte_nstep.value/currentScale; _level0.letterTypeWeergave_txt._xscale = letterBreedte_nstep.value; _level0.letterTypeWeergave_txt._yscale = letterGrootte_nstep.value; _level0.letterTypeWeergave_txt.setTextFormat(newTextSize); _level0.letterTypeWeergave_txt.breedte = letterBreedte_nstep.value; _level0.letterTypeWeergave_txt.grootte = letterGrootte_nstep.value; _level0.holder.menu_acc.resultaten.spContentHolder.resultGrootte_txt.text = _level0.letterTypeWeergave_txt.grootte; _level0.holder.menu_acc.resultaten.spContentHolder.resultBreedte_txt.text = _level0.letterTypeWeergave_txt.breedte; _level0.letterTypeWeergave_txt._x=currentX; _level0.letterTypeWeergave_txt._y=currentY; trace(_level0.letterTypeWeergave_txt._x); updateAfterEvent(); }; letterBreedte_nstep.addEventListener(change, nstepListenerB); met vriendelijke groeten, T. van Zantvoort MonTay WebArchitects T: +31 (0)40-2300898 F: +31 (0)40-2954071 E: [EMAIL PROTECTED] W: www.montay.nl http://www.montay.nl/ Hardware: www.mlife.nl http://www.mlife.nl/ E-shop: www.vsnet.nl http://www.vsnet.nl/ Own Site: www.1site2start.nl http://www.1site2start.nl/ Supplies: www.inktsuper.nl http://www.inktsuper.nl/ ___ 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] FLVPlayback progress event listener
I have a feeling I'm missing something incredibly stupid... I'm having problems with my FLVPlayback progress event listener - everytime I test it, it pauses, then the the event is called once, and my FLV starts playing. My code is as follows: var listenerObject:Object = new Object(); listenerObject.progress = function(eventObject:Object):Void { trace('progress'); var percent = introflv.bytesLoaded/introflv.bytesTotal; trace(percent); }; introflv.addEventListener(progress, listenerObject); Shouldn't it be calling progress more than once? The docs say it's called every .25 seconds. Thanks, Sarah ___ 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] Can't reach boolean?
Hi list... I have a path to a mc like so: _root.collective.table1.p5 On the root of the clip named p5, there is this line of code: var isPiece:Boolean = true; Why am I not able to reach that boolean through code? trace(_root.collective.table1.p5.isPiece) is always undefined. Thanks, - Michael M. ___ 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] file reference
This was asked not too long ago (last week !) Search for the following : ³FileReference and Getting File Path² with the cool new tool that Muzak has provided us http://muzakdeezign.com/flashcoders/ From: Mayur Bais [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Date: Mon, 19 Jun 2006 19:01:16 +0530 To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] file reference hello all, I want to know the path of the file on the local hard drive which is been browsed by the user. How can I achieve this ? flash 8 provides flash.net.FileReference package which we can achieve browse and upload. But I could not find the solution to my problem. Any idea how can I do this ? Any work around ? do I need to use any server side scripting for this .. Please give some suggestion Thanks in advance Mayur ___ 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] Language Supported in Flash?
Hi All, Can any one let me know whether Flash has the support for the following languages? Spanish (Latin American) Portuguese (Brazilian) Regards, Suhas ___ 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] Can't reach boolean?
Hi Danny... Thanks for responding. The value is just a constant true, on the timeline of _root.collective.table1.p5. If I trace(root.collective.table1.p5), I get the clip's path in the output window, no problem. But if I go and trace a variable within that mc, I get nothing. What's the value of _root.collective.table1.p5? And is the var in the correct scope? Just two obvious things to ask, sorry! ___ 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] FLVPlayback progress event listener
Are you using streaming video or progressive download? Please explain the context of this code... How is your flash movie setup and where exactly is this code located? Is this code perhaps getting executed repeatedly or going out of scope? -Steve --- Date: Mon, 19 Jun 2006 10:48:06 -0400 From: Sarah Plowright [EMAIL PROTECTED] Subject: [Flashcoders] FLVPlayback progress event listener I have a feeling I'm missing something incredibly stupid... I'm having problems with my FLVPlayback progress event listener - everytime I test it, it pauses, then the the event is called once, and my FLV starts playing. My code is as follows: var listenerObject:Object = new Object(); listenerObject.progress = function(eventObject:Object):Void { trace('progress'); var percent = introflv.bytesLoaded/introflv.bytesTotal; trace(percent); }; introflv.addEventListener(progress, listenerObject); Shouldn't it be calling progress more than once? The docs say it's called every .25 seconds. Thanks, Sarah ___ 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] Can't reach boolean?
Michael, When are you tracing this? Have you given everything enough time for the variables to be properly set up? Try leaving a frame at the beginning before doing so. HTH, Ian On 6/19/06, Mendelsohn, Michael [EMAIL PROTECTED] wrote: Hi Danny... Thanks for responding. The value is just a constant true, on the timeline of _root.collective.table1.p5. If I trace(root.collective.table1.p5), I get the clip's path in the output window, no problem. But if I go and trace a variable within that mc, I get nothing. ___ 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] Can't reach boolean?
If I trace(root.collective.table1.p5), I get the clip's path in the output window, no problem. But if I go and trace a variable within that mc, I get nothing. Sounds weird. Case sensitivity issue? Or has the mc not loaded at the moment you look for the value? What happens if you trace the value from within the mc? Danny ___ 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] Can't reach boolean?
Are you loading a SWF or using attachMovie? If you are using attachMovie, the value isn't ready until a frame later. Use onEnterFrame or some other mechanism to cause a delay to read the value. If you are loading the movie, make sure to use the onLoadInit event of MovieClipLoader so that the code within the first frame of the movie has enough time to run, setting up the value. If you are loading it is it coming from a domain other than that of the main SWF? Let me know, the questions branch out if this is the case. Derek Vadneau - Original Message - From: Mendelsohn, Michael [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, June 19, 2006 11:25 AM Subject: RE: [Flashcoders] Can't reach boolean? Hi Danny... Thanks for responding. The value is just a constant true, on the timeline of _root.collective.table1.p5. If I trace(root.collective.table1.p5), I get the clip's path in the output window, no problem. But if I go and trace a variable within that mc, I get nothing. ___ 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] FLVPlayback progress event listener
I am really just starting to do video stuff, so i'm a little clueless.. I believe it's a progressive download. And the code doesn't seem to be being executed repeatedly, as the other flv events are behaving themselves. The FLVPlayback component is sitting on the timeline, and the actionscript is on the timeline as well, on the same frame# The full code I have is: stop(); skipintro._visible = false; introflv._visible = false; var listenerObject:Object = new Object(); listenerObject.complete = function(eventObject:Object):Void { gotoAndPlay('main'); }; listenerObject.ready = function(eventObject:Object):Void { introflv._visible = true; preloader._visible = false; skipintro._visible = true; introflv.play(); }; listenerObject.progress = function(eventObject:Object):Void { trace('progress'); var percent = introflv.bytesLoaded/introflv.bytesTotal; trace(percent); preloader.progressbar._xscale = percent * 100; }; introflv.addEventListener(complete, listenerObject); introflv.addEventListener(ready, listenerObject); introflv.addEventListener(progress, listenerObject); introflv.load(DRIVERSPLASHLg.flv); The events ready and complete are behaving as expected, progress is the only one that's misbehaving. autoplay is set to false, buffer time is set to 20 sec. Is there anything else that could be affecting it? Thanks, Sarah On 6/19/06, Steve Krichten [EMAIL PROTECTED] wrote: Are you using streaming video or progressive download? Please explain the context of this code... How is your flash movie setup and where exactly is this code located? Is this code perhaps getting executed repeatedly or going out of scope? -Steve --- Date: Mon, 19 Jun 2006 10:48:06 -0400 From: Sarah Plowright [EMAIL PROTECTED] Subject: [Flashcoders] FLVPlayback progress event listener I have a feeling I'm missing something incredibly stupid... I'm having problems with my FLVPlayback progress event listener - everytime I test it, it pauses, then the the event is called once, and my FLV starts playing. My code is as follows: var listenerObject:Object = new Object(); listenerObject.progress = function(eventObject:Object):Void { trace('progress'); var percent = introflv.bytesLoaded/introflv.bytesTotal; trace(percent); }; introflv.addEventListener(progress, listenerObject); Shouldn't it be calling progress more than once? The docs say it's called every .25 seconds. Thanks, Sarah ___ 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] Can't reach boolean?
Thanks everyone for your quick responses! It was indeed a case of the clip not fully loaded yet. I'm able to reach it now. - MM ___ 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] FLVPlayback progress event listener
From the help ... Event; dispatched at the frequency specified by the |progressInterval| property, *starting when the load begins and ending when all bytes are loaded* or there is a network error. Default is every .25 seconds. So my guess is that you are testing this locally... loading an FLV file that is on your computer. If so, what you are seeing is the expected behavior. Since the video file is already on your machine, it loads instantly and the progress event will not fire once the video is loaded. Try it with a file that is on a server somewhere and you will see what you are looking to see. -Steve From: Sarah Plowright [EMAIL PROTECTED] Subject: Re: [Flashcoders] FLVPlayback progress event listener To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed I am really just starting to do video stuff, so i'm a little clueless.. I believe it's a progressive download. And the code doesn't seem to be being executed repeatedly, as the other flv events are behaving themselves. ___ 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] FLVPlayback progress event listener
I am testing locally, although I assumed that since you can test other progress loaders locally this would work - now that it's uploaded - the progress bar is sort of working (at least it's called more than once), but the ready event isn't triggering properly... it'll show the first frame of the video, but it won't play for 30 seconds or so. On 6/19/06, Steve Krichten [EMAIL PROTECTED] wrote: From the help ... Event; dispatched at the frequency specified by the |progressInterval| property, *starting when the load begins and ending when all bytes are loaded* or there is a network error. Default is every .25 seconds. So my guess is that you are testing this locally... loading an FLV file that is on your computer. If so, what you are seeing is the expected behavior. Since the video file is already on your machine, it loads instantly and the progress event will not fire once the video is loaded. Try it with a file that is on a server somewhere and you will see what you are looking to see. -Steve From: Sarah Plowright [EMAIL PROTECTED] Subject: Re: [Flashcoders] FLVPlayback progress event listener To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed I am really just starting to do video stuff, so i'm a little clueless.. I believe it's a progressive download. And the code doesn't seem to be being executed repeatedly, as the other flv events are behaving themselves. ___ 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] Language Supported in Flash?
What do you mean by support? IDE in Portuguese and Spanish Ability to develop applications that display and process Portuguese and Spanish - yes. Suhas Kotkar wrote: Hi All, Can any one let me know whether Flash has the support for the following languages? Spanish (Latin American) Portuguese (Brazilian) Regards, Suhas ___ 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] Vars between game levels
Hi, I am developing a Flash Game of 4 levels (click to see level4http://www.heliospb.net/jogos/Game_Peste_Attack_Fase4.html - 180kb with no preloader). As each level will be in separate swf files, I have created a base swf that loads the levels in a holde mc, ok. The problems started when I lost performance when doing that, what forced me to find a new solution. I tried so, to use Shared Objects to keep the vars (points, level, energy), but it can´t be read by different swf. So, I tried using an empty swf, and use LocalConnection to send vars to it. It worked in sending the vars, but didn´t when I had to load those vars from other swf, I just had succes sending them, not loading. Any idea of how to solve this? Can be about what I tried or any new idea. I am worried cause I need to finish the game as far as friday, and couldnt solve this. Thanks! -- Helios Pregioni Bayma Macromedia Certified FlashMX Designer [EMAIL PROTECTED] | www.heliospb.net ___ 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] Vars between game levels
On 6/19/06, Helios Pregioni Bayma [EMAIL PROTECTED] wrote: I tried so, to use Shared Objects to keep the vars (points, level, energy), but it can´t be read by different swf. So, I tried using an empty swf, and use LocalConnection to send vars to it. It worked in sending the vars, but didn´t when I had to load those vars from other swf, I just had succes sending them, not loading. For a quick fix, you might try storing your values as _global variables, since those values do not get reset when loading additional swfs. For example, if you store the var _global.currentScore, and then do a loadMovie on the current SWF, you can have the incoming SWF check _global.currentScore and the var should still be there. -- andy makely ___ 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] Sort within an object
Hi list... Is there any way to sort within an object: Track[1][score] Track[2][score] Track[3][score] Track[4][score] Track[5][score] All the tracks have different score numeric values. What's the most efficient way of getting them in order? It seems sort and sortOn only work on arrays. Thanks, - Michael M. ___ 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] Sort within an object
How about a for loop combined with a temp array? function sortScores(dataArray:Array):Array{ var tempArr:Array = new Array(); for(var i=0; idataArray.length; i++){ tempArr.push(dataArray[i].score); } tempArr.sort() return tempArr; } var mySortedScores:Array = sortScores(Track); trace(mySortedScores); Jason Merrill Bank of America Learning Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: Monday, June 19, 2006 2:07 PM To: Flashcoders mailing list Subject: [Flashcoders] Sort within an object Hi list... Is there any way to sort within an object: Track[1][score] Track[2][score] Track[3][score] Track[4][score] Track[5][score] All the tracks have different score numeric values. What's the most efficient way of getting them in order? It seems sort and sortOn only work on arrays. Thanks, - Michael M. ___ 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] Sort within an object
Hello, is Track an array? Janosch Mendelsohn, Michael schrieb: Hi list... Is there any way to sort within an object: Track[1][score] Track[2][score] Track[3][score] Track[4][score] Track[5][score] All the tracks have different score numeric values. What's the most efficient way of getting them in order? It seems sort and sortOn only work on arrays. Thanks, - Michael M. ___ 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] Sort within an object
is Track an array? Track is an object. This is my work in progress... private function updateStandings():Void { // create list of scores and sort descending... var tempScores:Array = new Array(); for (var s = 1; s 9; s++) { tempScores.push(_root[t + s].pieces.text.substring(0, (_root[t + s].pieces.text.lastIndexOf( ; } tempScores.sort(2); // match scores to tables by going through tempScores and finding a table with that value, then throwing it out of tempTables... var tempTables:Array = new Array(1,2,3,4,5,6,7,8); var newStandings:Array = new Array(); for(var i=0;itempScores.length-1;i++){ for(var t=1;t9;t++){ if(_root.puz[track][table + t][score] == tempScores[i]){ trace(i + + t); } } } trace(tempScores); } ___ 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] Sort within an object
is Track an array? Track is an object. Why would it be an object? Unless I don't get what you're trying to do (which is possible) Track should instead be an array, containing objects, as in my example. AKA a named element array. Jason Merrill Bank of America Learning 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] Applying transformations to text?
Hi All: I'm bringing this question over from flash-newbie at the suggestion of the list. I'm looking for insight into applying transformations to text (or vectorized text) such as Adobe's warp functionality, where you can take an object and make it bulge, arc, squeeze, spherize, etc. in flash. Is it possible, or has anyone already done it? The goal would be to have an interface where a user could input a line of text and then apply one of several distortion effects to it. TIA, AK ___ 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] What's the status of working with asset libraries
I've been fiddling with using an external classes.swf in my workflow. I see the benefits and i don't expect any problems. But related to this, i would like to use an external libraryitems.swf too. I have something like this now, but it's using all sorts of 'linkage hacks'. Like the library has en exporter clip, which i import in the main.swf and then i can use attachMovie('linkageIDFromLibrary'...etc. I was awondering what the status was of these kind of setups. Is working with an external assets library swf still a pain in the * or are other solutions already being used? I am trying to stay clear of solutions like swfmill etc. Cheers, Ben ___ 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] Programmatically build a crossword puzzle board
Can anyone point me to any links or give me some pointers on building a programmatically built crossword puzzle board? I don't mean just building squares, but rather taking a word list and building intersecting words. I have already build a word search game which is similar but there are some additional rules which a cross word puzzle uses and is making it a much harder task than original thought. For instance words can only be placed in two directions rather than eight, In addition, words which are placed horizontally or vertically next to one another must also make words in the apposing direction. So, any help would be greatly appreciated! Charles P. ___ 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] List component (v2) setting the style of specific items?
Is it possible to set each individual items style in a v2 List Component? I have to imagine that it is possible but I am not finding the magic word in the docs. Charles P. ___ 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] Movie clip loader onLoadError not called in firefox
I've been doing some googling and found a lot of people complaining about the onLoadError method of your listener object passed to the MovieClipLoader does not get called when the movie cannot be loaded when run inside firefox. Before I go writing a timeout class to catch this, is there a simple work around? I need to support firefox users. thanks, Grant ___ 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] Sort within an object
There is some confusion here. These two different statements you have made don't add up. In your first post you sited the example: Track[1][score] Track[2][score] Track[3][score] Track[4][score] Track[5][score] These are nested arrays. But in the code listed here you have the line of code: if(_root.puz[track][table + t][score] == tempScores[i]) This code would trace out something like... // _root.puz.track.table1.score This is indeed an object tree. Since it looks like you actually are building object trees, I would suggest you look at using a Bubble sort. http://en.wikipedia.org/wiki/Bubble_sort The version sited here is a bit less elegant than the recursive version, but it works just the same. Charles P. On 6/19/06, Mendelsohn, Michael [EMAIL PROTECTED] wrote: is Track an array? Track is an object. This is my work in progress... private function updateStandings():Void { // create list of scores and sort descending... var tempScores:Array = new Array(); for (var s = 1; s 9; s++) { tempScores.push(_root[t + s].pieces.text.substring(0, (_root[t + s].pieces.text.lastIndexOf( ; } tempScores.sort(2); // match scores to tables by going through tempScores and finding a table with that value, then throwing it out of tempTables... var tempTables:Array = new Array(1,2,3,4,5,6,7,8); var newStandings:Array = new Array(); for(var i=0;itempScores.length-1;i++){ for(var t=1;t9;t++){ if(_root.puz[track][table + t][score] == tempScores[i]){ trace(i + + t); } } } trace(tempScores); } ___ 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] Sort within an object
Well, thanks everyone for the advice. I ended up solving the issue, and below is my final code. Sorry if I confused anyone. - MM private function updateStandings():Void { var tempStandings:Array = new Array(); // first, create list of scores and sort descending... var tempScores:Array = new Array(); for (var s = 1; s 9; s++) { tempScores.push(Number(_root[t + s].pieces.text.substring(0, (_root[t + s].pieces.text.lastIndexOf( ); } tempScores.sort(2); // next, match scores to tables by going through tempScores and finding a table with that value // then picking it out of tempTables... var tempTables:Array = new Array(1, 2, 3, 4, 5, 6, 7, 8); for (var h = 0; h tempScores.length; h++) { for (var t = 0; t tempTables.length; t++) { if (track[table + tempTables[t]][score] == tempScores[h]) { tempStandings.push(tempTables[t]); tempTables.splice(t, 1); } } } // now, sort the scorePanels vertically... for (var k = 0; k tempStandings.length; k++) { var theTable:MovieClip = _root[t + tempStandings[k]]; var newY:Number = track.standings.positions[k]; theTable._y = newY; } } ___ 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] Programmatically build a crossword puzzle board
Hi Charles, I don't know how others would take a swing at this, but this is what I would do: First, define your boundaries. You're making a crossword puzzle, so that would be a matrix with a specified width and height. Next up you'll want to add words. Grab your nearest dictionairy and pounce in those characters. It might be best to store those in a library-class of some sort. Or perhaps an external txt- or xml-file. Then comes the tricky part: write the algorithm. I guess the following steps should be implemented in the algorithm: 1. choose a word 2. set some variable to 'horizontal' or 'vertical', perhaps even 'diagonal' 3. try fit the characters in some empty place in the matrix. 4. if it fits (maybe overlapping an alrady placed word), hurray! - if not, continue until you've tried all spaces, then dump it and get another word. 5. goto 1 Now if you're not happy with the result, run the application a few hundred times. Either that or you might want to add a little more magic to the algorithm and shuffle/sort the words to spaces where the overlap other words the most. I hope this gives you some ideas. Good luck! Bart 2006/6/19, Charles Parcell [EMAIL PROTECTED]: Can anyone point me to any links or give me some pointers on building a programmatically built crossword puzzle board? I don't mean just building squares, but rather taking a word list and building intersecting words. I have already build a word search game which is similar but there are some additional rules which a cross word puzzle uses and is making it a much harder task than original thought. For instance words can only be placed in two directions rather than eight, In addition, words which are placed horizontally or vertically next to one another must also make words in the apposing direction. So, any help would be greatly appreciated! Charles P. ___ 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] Programmatically build a crossword puzzle board
Thanks for the reply Bart, Yes, I have indeed gone through the process you described in my Word Search game. But things are a little different for a cross word puzzle. 1) Words can only be placed either vertical (top to bottom) or horizontal (left to right). We are talking about English only words. 2) To make a proper crossword puzzle every word MUST cross at least one other word. To be even more specific all the words need to be tied together, meaning no floater group(s) of word(s). 3) ANY adjacent letters must build a word. The brute force method you have stated could potential break after only a few words. One idea I had was to do the following 1) Sort the word list by the longest to the shortest word (since longer words will be harder to place) 2) Select word to be placed 3) Enter the first word at a random location 4) Select the next word to be placed 5) Recurse backwards from the end of the word and do compares against letters the placed word and the next word. 6) If a match is found, try and place it. 7) If the word exceeds the bounds of the board then skip this matching location 8) If no matching location is found which allows the word to me placed, then skip it (actually goes to a holding array) 9) Go to 4 The interesting thing about this approach is if the recursion comes across another crossing word, it should run down that branch of the board as well. I am still mapping out the logic for this method, but was hoping that someone here had tangible knowledge or could point me to some. Again, any help is welcome. Charles P. On 6/19/06, Bart Wttewaall [EMAIL PROTECTED] wrote: Hi Charles, I don't know how others would take a swing at this, but this is what I would do: First, define your boundaries. You're making a crossword puzzle, so that would be a matrix with a specified width and height. Next up you'll want to add words. Grab your nearest dictionairy and pounce in those characters. It might be best to store those in a library-class of some sort. Or perhaps an external txt- or xml-file. Then comes the tricky part: write the algorithm. I guess the following steps should be implemented in the algorithm: 1. choose a word 2. set some variable to 'horizontal' or 'vertical', perhaps even 'diagonal' 3. try fit the characters in some empty place in the matrix. 4. if it fits (maybe overlapping an alrady placed word), hurray! - if not, continue until you've tried all spaces, then dump it and get another word. 5. goto 1 Now if you're not happy with the result, run the application a few hundred times. Either that or you might want to add a little more magic to the algorithm and shuffle/sort the words to spaces where the overlap other words the most. I hope this gives you some ideas. Good luck! Bart 2006/6/19, Charles Parcell [EMAIL PROTECTED]: Can anyone point me to any links or give me some pointers on building a programmatically built crossword puzzle board? I don't mean just building squares, but rather taking a word list and building intersecting words. I have already build a word search game which is similar but there are some additional rules which a cross word puzzle uses and is making it a much harder task than original thought. For instance words can only be placed in two directions rather than eight, In addition, words which are placed horizontally or vertically next to one another must also make words in the apposing direction. So, any help would be greatly appreciated! Charles P. ___ 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] Programmatically build a crossword puzzle board
Hi Charles, I once created a crossword in Flash about 2-3 years ago. http://www.electrotank.com/playGame.electro?gId=111 Building a randomly unique board from a list of words I found to be way too difficult. My gut feeling was that even if I found a way it would be too slow to generate. In my research I learned that there is a standarized format for crossword data. You can download and/or purchase crossword generating programs. Some of these export out to that standard format. That format contained mostly XML data. I had to open up the data file and just copy out the XML. I wrote a parsing routine in ActionScript that interpreted the data. The end result was 100 XML files for 100 unique crosswords. About 50 of them I purchased from a professional crossword guy that does them for the Baltimore Sun. About 20 of them my Grandma made by hand :) And the rest I generated with one of those programs I described. All-in-all the game works well, but its probably the least popular game on our site! Jobe Makar http://www.electrotank.com http://www.electro-server.com phone: 252-627-8026 mobile: 919-609-0408 fax: 919-341-8104 ___ 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] detect request from Flash Player?
I can use PHP ( echo($_SERVER[HTTP_USER_AGENT]); ) to detect a request from the Flash IDE or from Central. Both show a user agent of Shockwave Flash. However, when I open a standard Flash SWF in the web browser either embedded in an HTML page or just opening the SWF directly in the browser PHP sees the user agent as the browser. So is there a way to tell if a request to the server is coming from the Flash Player? __ 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
Re: [Flashcoders] detect request from Flash Player?
no, but you could fake it by appending something to your requests, like so: http://www.example.com/loadstuff.php?reqfrom=swf On Jun 19, 2006, at 5:55 PM, Mike Lyda wrote: I can use PHP ( echo($_SERVER[HTTP_USER_AGENT]); ) to detect a request from the Flash IDE or from Central. Both show a user agent of Shockwave Flash. However, when I open a standard Flash SWF in the web browser either embedded in an HTML page or just opening the SWF directly in the browser PHP sees the user agent as the browser. So is there a way to tell if a request to the server is coming from the Flash Player? __ 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@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] Vars between game levels
I don't see why using a holder clip would cause you to lose a significant amount of performance. Could it be there was some code in your holder clip that was causing the problem? On 6/19/06, Andy Makely [EMAIL PROTECTED] wrote: On 6/19/06, Helios Pregioni Bayma [EMAIL PROTECTED] wrote: I tried so, to use Shared Objects to keep the vars (points, level, energy), but it can´t be read by different swf. So, I tried using an empty swf, and use LocalConnection to send vars to it. It worked in sending the vars, but didn´t when I had to load those vars from other swf, I just had succes sending them, not loading. For a quick fix, you might try storing your values as _global variables, since those values do not get reset when loading additional swfs. For example, if you store the var _global.currentScore, and then do a loadMovie on the current SWF, you can have the incoming SWF check _global.currentScore and the var should still be there. -- andy makely ___ 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] UML + Actionscript
I have been trying to learn the basics of UML for the past couple days or so by assembling a class diagram for a hypothetical Contact Manager--although it may not stay hypothetical if I can learn this properly ;). Unfortunately I am experiencing a bit of confusion in regards to properly communicating class hierarchy between associated / aggregated classes. Here is the (very simple) diagram that I made thus-far: http://www.aerosdesign.com/jsorensen/store/uml/uml_diag_a.jpg Basically, I have three classes -- the Account class being a composition of the Contact and Address classes. (I think) Here is my question: When I say that class X is a composition of class Y and class Z, is this because X has properties that are defined AS _TYPE_ Y and Z? My logic to place the Contact class and the Address class as composing elements of the Account class is simply because the Contact class have defined properties OF TYPE Contact and Address. Is this correct? If this is the case, I will be glad to hear that I am doing things correctly. However, a new source of confusion then emerges for me; say, for instance that I wanted to have an Array of contacts for any given account as opposed to just one. I then replace accContact:Contact with accContacts:Array. Here is the updated diagram: http://www.aerosdesign.com/jsorensen/store/uml/uml_diag_b.jpg The relationship between the Contact class and the Account class is no longer explicit--but I still want to convey that the accContacts array will be populated with instances of Contact. How do I now communicate this relationship? Would this be an association now? See this diagram if you are confused: http://www.aerosdesign.com/jsorensen/store/uml/uml_diag_comment.jpg A sincere thank you to anyone who took the time to read and attempt to understand my post; I apologize if this is slightly outside the scope of normal list discussion. If this is not an appropriate place to ask this sort of question, I would be very happy to hear about an active UML mailing list or equivalent alternative. :) Thanks for any assistance, Joseph ___ 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] Best component set for Flash 8 / MTASC development?
I'm trying to locate a good component set for my application. I'm sure this topic has been discussed before, but I've searched the archives and haven't found what I'm looking for. My requirements: I don't mind paying for the component set, on a per-developer basis. I must come with sourcecode that I can compile with TASC. The component set should cover the basics: I need comboboxes, radio buttons, scrollbars, numeric steppers, scrollpanes, dialogs, and so on. I'd like one complete set of unified components, rather then getting a combobox here and a numeric stepper from somewhere else. They components *must* respond to keyboard control. For example a combobox should respond to up-arrow key when the list is pulled down. They need to support tabbing and should have an indicator that shows when they have focus. I have a tab controller, the component simply needs to accept focus and update itself visually. It needs to handle onKillFocus events. I'm targeting Flash Player 7, edit my .fla in Flash 8, and compile with MTASC. I've looked at several components sets: 1) The Macromedia V2 component set isn't working well for me. There are a number of undesirable behaviors I can't fix. I won't go into detail here, as I'm guessing folks know what I'm talking about. 2) Many people have recommended http://ghostwire.com on this list. The components are written in AS1.0, but apparently compile fine under MTASC. They don't seem to respond well to keyboard control. For example the combobox does respond to up arrow keys. From the FAQ, the components do not support tabbing (focus management). So unfortunately I don't think I can use these. 3) Folks have had lots of documenation and support problems with mCom (http://www.metaliq.com/mCOM/). I don't have time for that. 'nuff said. 4) I've been trying out http://www.xpcomponents.com/. They don't have an eval so I coughed up the money to buy them. They seem to have great keyboard control and autosizing features. They seem to work fine, but it has the feel of an abandoned project. There doesn't seem to be much of a user community, and there haven't been any updates in awhile. They sent version 3.0 when 3.1 is the most current version. Worst of all, I've been unable to get the sourcecode, so I can't compile under MTASC. Anyway, this might work out, but for now I'm actively looking for alternatives. 5) There are a lot of components at http://www.flashcomponents.net/. But I haven't found the comprehensive component set that I'm looking for. It seems most of the components on the site are from 2002-2003. So does anyone know of a component set that works well, and meets my requirements? - Todd Hivnor ___ 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] Sort within an object ....
I thought all objects were associative arrays ? Is this incorrect ? Stephen.___ 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] Sort within an object ....
Yes, objects are hashes. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Ford Sent: Monday, June 19, 2006 5:28 PM To: flashcoders Subject: [Flashcoders] Sort within an object I thought all objects were associative arrays ? Is this incorrect ? Stephen.___ 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] Vars between game levels
Thanks for the idea Andy, I´ll try that. Adam, I know it´s strange. What I do in the base file is to define the 4 vars I need, create the sound objects - one for each level plus one for the base screen, and the screens to be showed before entering and while exiting each level. It works online and the performance problem doesnt happen all the time, but only when I move the player. But this doesn´t happen when I am running it directly on it´s html. A strange fact is that it takes too much time to export the swf, what doesn happen even in the levels files. It´s a pitty, cause I don´t have time to keep looking for what´s wrong and using a base swf is perfect for this game. Thanks, Helios -- Helios Pregioni Bayma Macromedia Certified FlashMX Designer [EMAIL PROTECTED] | www.heliospb.net ___ 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] Sort within an object ....
Sorry. Yes to your first question. No to your second. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Monday, June 19, 2006 5:58 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Sort within an object Yes, objects are hashes. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Ford Sent: Monday, June 19, 2006 5:28 PM To: flashcoders Subject: [Flashcoders] Sort within an object I thought all objects were associative arrays ? Is this incorrect ? Stephen.___ 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] Programmatically build a crossword puzzle board
Jobe, Thanks for the e-mail. It was insightful. Crossword puzzles are all over the place and making them for game sites and the such is indeed not worth the effort. With that said, I work a e-learning government contractor. I am building a number of generic games that can be used to re-enforce learned information. The crossword puzzle is just one of many. Having it generate dynamic boards at runtime is critical to its use. I should probably note that I am looking at having a max of about 15-20 words on the board at any one time. Building a full board of words would indeed take a very long time. The boards I want to dynamically build can have a large chunk of dead space on the board. Think of it as a list of words learned in a chapter and the crossword puzzle is a re-enforcer for those words when you reach the end of the chapter. So, building compact boards is NOT a concern. Charles P. On 6/19/06, Jobe Makar [EMAIL PROTECTED] wrote: All-in-all the game works well, but its probably the least popular game on our site! ___ 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] Updated Flash Game Programming Book -- reviews
Hi everyone, I want to buy a flash game programming book and I might as well get an updated one. I searched Amazon and saw this: The Flash 8 Game Developing Handbook Amazon link: http://tinyurl.com/gq4ul I didn't find any reviews on it so I was wondering if any of you have used it and know it's a good book. Thanks, -- Ramon Miguel M. Tayag Managing Director Quirkworks ___ 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] [FREELANCE] Flash Developer Required, Sydney, Australia
Massive is currently looking for a Freelance Flash Developer to work on upcoming high-profile projects. This is not a beginner or intermediate position. We require a senior level Freelance Flash Developer who is fully versed in AS2 and OOP practices. You will work alongside our dynamic and highly experienced team of designers, developers and existing flash developers, working with Australia's most exciting brands across a range of Flash based interactive media. Requirements: Ability to create highly robust, dynamic, functional and useable Flash applications using AS2. Creative skill and understanding of design principles. Understanding the dynamics of motion design. Sound knowledge of web and interactive production. Proficiency in Illustrator and Photoshop. Attention to detail - willingness to develop and test in a rigorous cycle until a solution is achieved. Creative problem solving. YOU think of solutions to any given problem. Working onsite is preferable. Candidate must be located in Sydney. This is strictly a Freelance position and the start date is unknown at this time. Candidates must have a relevant portfolio of creative projects. For immediate and confidential consideration please email your resume and personal website/URL's to [EMAIL PROTECTED] Emails received without example work will not be accepted. No phone calls or agencies. dominic de lorenzo | designer/flash developer | massive p +61-2 9331 8400 | [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] | www.massive.com.au ___ 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] Any Lists Specific to Flash Game Development?
I would like to point people to this list as well. I is a very good source for talking about game development Flash and Director. This list covers both tools fairly. Not like some snobbish Flash lists I have run across. This comment is not meant to start a flame war or anything. I just want people to know it is an open minded list that covers both without bashing the other. Charles P. On 6/19/06, Danny Kodicek [EMAIL PROTECTED] wrote: Dirgames-L (http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames-l) is officially for Director and Flash development, although it's mostly populated by Director people. Personally I think more crossover would be a good thing there, so anyone wanting to share might like to take a look. ___ 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] file reference
Great tool! I could find my answer Thanks :) Regards, Mayur -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alain Rousseau Sent: Monday, June 19, 2006 8:36 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] file reference This was asked not too long ago (last week !) Search for the following : ³FileReference and Getting File Path² with the cool new tool that Muzak has provided us http://muzakdeezign.com/flashcoders/ From: Mayur Bais [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Date: Mon, 19 Jun 2006 19:01:16 +0530 To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] file reference hello all, I want to know the path of the file on the local hard drive which is been browsed by the user. How can I achieve this ? flash 8 provides flash.net.FileReference package which we can achieve browse and upload. But I could not find the solution to my problem. Any idea how can I do this ? Any work around ? do I need to use any server side scripting for this .. Please give some suggestion Thanks in advance Mayur ___ 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