[Flashcoders] Synchronized game timing

2007-08-08 Thread Mick G
I'm after a little theory here from people who have created multi-player games before. I have a java socket-server in place and all the functionality of the game working fine. I just need a way to synchronize the game (as best as I can). What I'm trying to do is restart a new game every 3 minutes

Re: [Flashcoders] Synchronized game timing

2007-08-08 Thread Mick G
that none of the projector apps offer, so > basically, if you want to do anything real-time, do it > in C++, or Java. > > --- Mick G <[EMAIL PROTECTED]> wrote: > > > I'm after a little theory here from people who have > > created multi-player > > games b

[Flashcoders] encrypt string (fast)

2007-08-16 Thread Mick G
I need a way to encrypt a LARGE string (up to 100k of text) - my data is mostly xy coordinates so 90% numbers. I've tried a few AS encryption classes that I've found online and considering I have such a large string, they're all too slow. It doesn't need to be too secure - decryption speed is more

Re: [Flashcoders] encrypt string (fast)

2007-08-16 Thread Mick G
[EMAIL PROTECTED]> wrote: > > Why do you need to encrypt it? If you just need it unreadable, then why > not > kill two birds with one stone and compress it? > > > http://www.razorberry.com/blog/archives/2004/08/22/lzw-compression-methods-in-as2/ > > On 8/16/07, Mick

[Flashcoders] build text one char at a time with random

2005-12-11 Thread Mick G
I'm looking for a proto or function to display a string of text one character at a time, cycling through random characters one at a time until the string is built. I've had a look in the usual places and can only find inefficient ways it's been done by attaching some movieclips one letter at a tim

Re: [Flashcoders] getURL

2005-12-12 Thread Mick G
This is a new security setting in Flash 8 - drives me crazy. I rolled back to Flash 7 in one of my browsers. If you have Flash 8, there are workarounds. http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager.html The settings manager being an online app is so weird.

Re: [Flashcoders] Is Adobe settings manager usable ?

2005-12-22 Thread Mick G
Most of us that develop flash content I'm sure work in an environment where we work with clients with some level of client approval required. Often this means emailing SWF's forward and back to clients for testing purposes on their local computers. I'm in advertising and the security settings are c

Re: [Flashcoders] Re: AMFPHP for commercial projects

2006-01-26 Thread Mick G
I'm curious why Macromedia (oops, adobe) don't pick up PHP as a remoting technology. It's a huge audience and they support PHP in their other products (ie. dreamweaver). On 1/27/06, Miles Thompson <[EMAIL PROTECTED]> wrote: > > > But exactly what *is* the legal issue? That AMFPHP reverse-enginee

Re: [Flashcoders] the tool used to make this presentation

2006-01-29 Thread Mick G
It's not very compelling, but it's audience is probably business/marketing/investor folk that like to sit back and listening to mindless blabber and not think too much ;) On 1/30/06, GregoryN <[EMAIL PROTECTED]> wrote: > > > I'd say "by hand"... Maybe you think it's too boring to be made > manual

Re: [Flashcoders] getURL not working

2006-03-07 Thread Mick G
seems obvious, but you are adding a GET or POST to the getURL? On 3/8/06, Bob Leisle <[EMAIL PROTECTED]> wrote: > > getURL() is the wrong way to go for sending data. The Flash XML object > has methods specifically for sending and receiving data. Read up on the > XML.load(), XML.send() and XML.send

[Flashcoders] Web service call not working on network

2006-03-14 Thread Mick G
Does anyone have any tips why a site i'm using that is connecting to Web Services works fine in the IDE, and works fine outside my work network but not from my work network. At first I thought perhaps the port number was blocked at work but it is working within the Flash IDE and when I view the swf

Re: [Flashcoders] Web service call not working on network

2006-03-14 Thread Mick G
a request for a crossdomain.xml file > > On 3/12/06, Mick G <[EMAIL PROTECTED]> wrote: > > > > Does anyone have any tips why a site i'm using that is connecting to Web > > Services works fine in the IDE, and works fine outside my work network > but > > no

Re: [Flashcoders] Loading several images with one progressbar?

2006-03-14 Thread Mick G
If your images are generally similar file sizes and you have 5 images, just make each one equal to 20% and do it that way. It won't be perfect but how perfect does a progress bar have to be? It's an indication of how much has / is loaded. On 3/12/06, Sascha Balkau <[EMAIL PROTECTED]> wrote: > >

Re: [Flashcoders] percent loaded?

2006-03-16 Thread Mick G
In your publish settings try export your classes in frame 2 (with your preloader on frame 1) - has worked for me when using some beefy components before. On 3/17/06, Weyert de Boer <[EMAIL PROTECTED]> wrote: > > It's probably the AS2 classes you import these are loaded before first > frame one, me

Re: [Flashcoders] Re: swfdraw2jpg database table settings

2006-03-17 Thread Mick G
t; image, but the user data does not get inserted into the database. > > > > > > Did you get yours working? If yes, can you pls send me your sql file, > so > > > that I can replicate it on my server. I need to see how you've set > your > > > table up. >

Re: [Flashcoders] Enourmous data Transfer by Flash.

2006-03-25 Thread Mick G
Sounds like a job for Flex! :) Or if you're not flexible enough yet, you'd have to be confortable with some form or remoting. In my opinion, why use flash? With resume's in particular, lots of people do copying and pasting of text - and for future growth you may want people to upload word docs of

Re: [Flashcoders] Convert swf to exe

2006-03-31 Thread Mick G
If you open the SWF in the Flash Player (version on your computer, not browser), just go File > Create Projector from the menu in the player. I'm not familiar with MTASC to know what it will effect. On 4/1/06, David Rorex <[EMAIL PROTECTED]> wrote: > > On 3/31/06, Lieven Cardoen <[EMAIL PROTECTED]

Re: [Flashcoders] yet another screwing from micrsoft

2006-04-01 Thread Mick G
The discussion on this seems to be broken into 3 groups 1. "Microsoft - how could they do this to us" 2. "Look at all the money you can make charging clients to implement the fix" 3. "Such a nightmare to implement - panic stations!" My thoughts/responses... 1. Microsoft didn't WANT this to happe

Re: [Flashcoders] Active X and Microsoft IE ...

2006-04-10 Thread Mick G
I don't know if this falls in line with the whole law suit or not, but it just seems so obvious to me that MS should implement a checkbox next to the dialog when you're allow ActiveX content that says "[x] Always allow this Active X type" or "[x] Always allow flash content" (the same way you get th

[Flashcoders] optimize lineTo algorithm

2006-04-13 Thread Mick G
Does anyone know of any way to optimize a whole bunch of lineTo points? Say I have 500 points all fairly close that I'd like to reduce to fewer points. I guess what I'm really after is an algorithm similar to the "Modify > Shape > Optimize" command in the Flash API. Has anyone seen what type of ma

[Flashcoders] Pushing content from DB to Flash widget

2006-04-23 Thread Mick G
Does anyone know if it's possible to push content from a database to a list of flash clients (or widgets running on a desktop). I can have a flash app that checks every X seconds for new content from a database, but wondering if there's a way to do it in the other direction and push the content fr

Re: [Flashcoders] General question about placement of code

2006-04-26 Thread Mick G
If your button has been removed from the stage at any point on the timeline or there is a new instance name of the button then you will need to re-apply the button actions. If your button is moving around or you need to assign it actions several times you may be better creating a function to assig

Re: [Flashcoders] ads inside a SWF

2006-05-07 Thread Mick G
You're supposed to use the google supplied code for google ads. Not modified in any way. The things people do for an extra few cents ;) On 5/8/06, Peter Hall <[EMAIL PROTECTED]> wrote: I think the bare fact of rendering the ads in Flash is not a legal concern (though I am no lawyer either). Bu

Re: [Flashcoders] Fitting squares into an area

2006-05-09 Thread Mick G
Handy TILE component... http://chq.emehmedovic.com/?id=2 On 5/9/06, Bernard Poulin <[EMAIL PROTECTED]> wrote: Wow! I just tried your algorithm with my previous example numbers and it does output the correct square size (100) - also, internally it has the right number of columns/lines: e.g. 3x

Re: [Flashcoders] Fitting squares into an area

2006-05-09 Thread Mick G
Sorry wrong link, I'm sure there is a component on the site somewhere that does what you need (I think) ;) On 5/9/06, Mick G <[EMAIL PROTECTED]> wrote: Handy TILE component... http://chq.emehmedovic.com/?id=2 On 5/9/06, Bernard Poulin < [EMAIL PROTECTED]> wrote: > &

Re: [Flashcoders] \r

2006-05-15 Thread Mick G
You could always wrap CDATA around it. On 5/16/06, Fumio Nonaka <[EMAIL PROTECTED]> wrote: Even if you manipulate newline only with string, you might get annoying result: // Frame action var my_str:String = newline; my_str += ""+newline; // [Debug] > [List Variables]: Variable _level0.my_str

Re: [Flashcoders] load data from txt file above root directory

2006-05-17 Thread Mick G
"../" should give you the parent relative directory. If needed, you may like to try using the BASE attribute in your object/embed tag... http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_04157 On 5/18/06, Flashgrrl <[EMAIL PROTECTED]> wrote: Hi Flashcoders! I am attempting to load d

Re: [Flashcoders] CD ROM dimensions?

2006-05-18 Thread Mick G
I think target audience is more about the type of users (eg. some corporations still have a % of 800x600, or older age groups). On stats of a few sites I run, there is still a 15% 800x600 audience (one of these sites is a gaming site). On the flipside - the new yahoo.com is by default 1024x768 (bu

[Flashcoders] Test CPU/performance/rendering

2006-05-24 Thread Mick G
I'm building a fairly demanding site that has a fair bit of animation and rather than aiming for an average performance level of animation for my users, I'd like to turn off/on some features of the site depending on rendering capabilities of the users computer. Does anyone have any recommendation

Re: [Flashcoders] Test CPU/performance/rendering

2006-05-24 Thread Mick G
EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mick G Sent: Thursday, 25 May 2006 9:27 AM To: Flashcoders mailing list Subject: [Flashcoders] Test CPU/performance/rendering I'm building a fairly demanding site that has a fair bit of animation and rather than aiming for an average performa

Re: [Flashcoders] Disable all buttons

2006-05-26 Thread Mick G
One dirty way is to place a one blank button over all your other buttons - set the btn to usehandCursor to false. This may or may not suit your needs. On 5/27/06, Éric Thibault <[EMAIL PROTECTED]> wrote: Hi all Is there a rapid way to disable all the buttons present in my movie at once or do I

Re: [Flashcoders] geturl:javascript is causing images to not display on IE

2006-05-28 Thread Mick G
You sure this isn't a security issue thing? Have you tried uploading it to a server and testing it? Javascript calls from your local drive from Flash 8 player can cause problems. On 5/29/06, Phil Glatz <[EMAIL PROTECTED]> wrote: I've been experiencing an intermittent problem with a getURL call

Re: [Flashcoders] wheel on curve game engine

2006-05-28 Thread Mick G
Help vampire messages are more of a waste of *everything* than the original posters - <> http://www.cove.org/flade/ if a flash physics engine that might help you. On 5/29/06, Byron Canfield <[EMAIL PROTECTED]> wrote: Review the archives for the thread entitled: Are you a help vampire? -- B

Re: [Flashcoders] OT: Anyone got a good CSS book to recommend?

2006-06-01 Thread Mick G
http://www.amazon.com/gp/product/0321346939/002-5233719-8129618?v=glance&n=283155 It's probably the worst title for the type of book it is, but an excellent front to back book. It speaks plain english and leads by example with real world case study scenarios rather than trying the explain each CS

[Flashcoders] Performance of Flash 8 filters

2006-06-01 Thread Mick G
Just curious if many of you have done performance test on the Flash 8 filters and if they're much of a hit on the CPU or strain on rendering in anyway... eg. - A MC doing _x++; with and without a blur filter (much difference in performance?) - 50 instances of above? - FIlter values changing while

Re: [Flashcoders] Performance of Flash 8 filters

2006-06-01 Thread Mick G
en dupe the same source object to different clips. Just a thought :) a On 6/1/06 11:33 PM, "Mick G" <[EMAIL PROTECTED]> wrote: > Just curious if many of you have done performance test on the Flash 8 > filters and if they're much of a hit on the CPU or strain on rendering

Re: [Flashcoders] onResize (when done)

2006-06-05 Thread Mick G
My question is two-fold: Is it possible to determine if the stage is resizing larger? smaller? only height? only width? If you don't want to use onEnterFrame, just do the same process by checking the Stage.width and Stage.height with a setInterval and compare the current values with the last.

[Flashcoders] convert FLA to mx2004 utility

2006-06-06 Thread Mick G
Does anyone know if there is any batch utility out there to convert/downsave Flash 8 FLAs to Flash MX2004. This is for someone without Flash 8. I googled and had a look on the Adobe site with no luck. ___ Flashcoders@chattyfig.figleaf.com To change your

Re: [Flashcoders] convert FLA to mx2004 utility

2006-06-06 Thread Mick G
king for. regards tom - Original Message - From: "Mick G" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, June 07, 2006 2:36 AM Subject: [Flashcoders] convert FLA to mx2004 utility > Does anyone know if there is any batch utility out there t

Re: [Flashcoders] convert FLA to mx2004 utility

2006-06-06 Thread Mick G
I have options of using Flash 8 - just thought someone might have built a util. I have about 20 files to convert, not a huge amount but It's just something I get asked to do regularly and it would be handy to point clients to it that don't have Flash 8. On 6/7/06, Marc Hoffman <[EMAIL PROTECTED

Re: [Flashcoders] tabIndex on embedded swf

2006-06-07 Thread Mick G
I havn't tried this but you could try adding a _lockroot to the swf. On 6/8/06, Ryan Sabir <[EMAIL PROTECTED]> wrote: Heya, I have an swf with form components on it, that is embedded inside another swf. I want to be able to tab between the form elements, but when I hit tab, the focus jumps to

Re: [Flashcoders] Is it possible to change Stage background color at runtime?

2006-06-07 Thread Mick G
You could also set your "wmode" to transparent in the object/embed tag and use javascript to change the background of a containing DIV (Not that this is elegant but should work). On 6/8/06, Fernando Castillo <[EMAIL PROTECTED]> wrote: I would like to know if I can change the stage background co

Re: [Flashcoders] Is it possible to change Stage background color atruntime?

2006-06-07 Thread Mick G
Doh! If you're having trouble managing the size of the MC you're using as a 'fake' background, you could always just use a manageable size and use: MC._width = Stage.width; MC._width = Stage.height; Make sure you run that onResize if you're allowing people to resize the window of the projector.

Re: [Flashcoders] Text link on hover

2006-06-08 Thread Mick G
Yes, you'll need to set up style in Flash... A:hover is supported in Flash. http://www.actionscript.org/tutorials/beginner/css_in_flash/index.shtml On 6/9/06, elibol <[EMAIL PROTECTED]> wrote: Does anyone know if it's possible to trigger an event with a text link hover state? ___

Re: [Flashcoders] > color tracking w/webcam

2006-06-09 Thread Mick G
http://www.adobe.com/devnet/flash/articles/webcam_motion.html On 6/9/06, Ian Tilley <[EMAIL PROTECTED]> wrote: Hi Weyert I did something a year or so ago using webcamxtra Xtra for Director and Flash 7. I'd like to do it again in Flash 8 at some point as I think bitmap caching would improve

Re: [Flashcoders] Stretching Designs - Coded?

2006-06-11 Thread Mick G
"How is that kind of thing done? I know you can achieve some interestin gthings with scaleMode and Stage.align but I'm guessing something more complex is going on here." No - that's about it really. Just make sure your flash is embedded with 100% width so the stage does actually change size with

Re: [Flashcoders] cake decorating app

2006-06-21 Thread Mick G
www.ratemydrawings.com might give you a good example of some of the things that can be done with the flash drawing API. On 6/22/06, David Rorex <[EMAIL PROTECTED]> wrote: On 6/21/06, Weldon MacDonald <[EMAIL PROTECTED]> wrote: > > A cake decorater is asking about a web based app for designing c

Re: [Flashcoders] won't render

2006-06-22 Thread Mick G
The Bold and Italic versions of the fonts will need to be embedded. This is usually the problem I forget :) On 6/22/06, Mike Mountain <[EMAIL PROTECTED]> wrote: OK this sounds really daft and I'm sure you've probably checked - but your text field isn't set to single line is it? Or no wrapping?

Re: [Flashcoders] won't render

2006-06-22 Thread Mick G
My answer was so very off subject ;) sorry. The only way I can replicate that problem is if the textfield is single line instead of double - otherwise your first code works fine for me. On 6/22/06, Lee McColl-Sylvester <[EMAIL PROTECTED]> wrote: Why not use tags to keep things consistent? Le

Re: [Flashcoders] Best Flash data access way opinions

2006-06-22 Thread Mick G
"Macromedia doesn't support free technologies that are in direct competition with their technologies. Why would they? " I always wondered why MM support PHP in Dreamweaver but refuse to do so for Flash with a PHP remoting. You can build a fully blown database driven site in Dreamweaver (allbeit

Re: [Flashcoders] Export frame option disabled

2006-06-23 Thread Mick G
This is one of the reasons I avoid MM components unless I totally have to. Most of the components will only work if you export in first frame so the only option I''ve found is: - Put your content in an external SWF (which also causes problems because of a bug with the components needing an instan

Re: [Flashcoders] Best Flash data access way opinions

2006-06-23 Thread Mick G
Hey no laughing - my point was that they support PHP, nothing more :P On 6/23/06, Michael Stuhr <[EMAIL PROTECTED]> wrote: Mick G schrieb: > You can build a fully blown database driven site in Dreamweaver (allbeit not > perfec

Re: [Flashcoders] Flash for forums

2006-06-26 Thread Mick G
The highly important and common feature for Forums is the ability to paste HTML, perform clean and efficient searches, insert images from other sites/URLs, embed flash animations, right-click to open links posted links in new tabs/windows, paste code, harcore forum users even cherish their custom

Re: [Flashcoders] optimizing an animation?

2006-06-26 Thread Mick G
I've seen this mostly when the MC being tweened either has a lot of vector information or large (physically) bitmaps. - If it's all vector being zoomed, either optimize and cut down on the vectors or, create a new frame in the MC with 'some elements' only, goto that frame while zooming, do a call

Re: [Flashcoders] Panning and Sliding, using Tweens possible?

2006-06-27 Thread Mick G
MC Tween has a panTo command which does what you need (along with all the other standard tweens)... http://hosted.zeh.com.br/mctween/doc_panto.html On 6/27/06, Weyert de Boer <[EMAIL PROTECTED]> wrote: Yes, I have looked a bit at the Tween-classes, but I have some bad days in Flash at the mom

Re: [Flashcoders] Panning and Sliding, using Tweens possible?

2006-06-27 Thread Mick G
Sorry - wrong one ;) One of the tween classes has a "pan" feature... will post if I find it. On 6/27/06, Mick G <[EMAIL PROTECTED]> wrote: MC Tween has a panTo command which does what you need (along with all the other standard tweens)... http://hosted.zeh.com.br/mctween/doc_p

Re: [Flashcoders] very basic question: Help?

2006-06-30 Thread Mick G
This is the perfect scenario for using any of the many tweening classes... It might seem a bit confusing at first, but once you get familiar with them you'll wonder how you ever lived without them. I like... http://hosted.zeh.com.br/mctween/ (has filter tweens which are nice, and I like the way t

Re: [Flashcoders] Progressivelly download (and show) a jpg image

2006-07-02 Thread Mick G
You can 'fake' something by downloading a very small version of the image (like 3K) and scale it to the final size, once that has loaded, display, then start loading the full size version. I've done this before with very large file sized images. You could even use a PHP script using the GD library

Re: [Flashcoders] Issue with reapeat test publish

2006-07-02 Thread Mick G
I've had this problem before Joseph - ignore the ego's on here that like to asume everyone else is a newbie ;) I've found this problem usually when components are involved and it's not a preloding issue. I even did a Flash dev class once and it was happening to people in the class, I asked the te

Re: [Flashcoders] Php Host

2006-07-12 Thread Mick G
Usually all the mediatemple fans come running out for this one ;) I'd recommend MediaTemple if you have high traffic or high demand site. I've had 2 sites that other various hosting companies complained I was using too much of their shared server resources - Media Temple server specs are VERY good

<    1   2