[Flashcoders] LocalConnection and Media Components?

2006-10-17 Thread Martin Scott Goldberg
Hey all, I'm trying to use LocalConnection to allow communication between two flash movies on the same page. One movie is a basic media player and the other one is a simple button that is being used to trigger the player (which will be expanded to actually send the location of the file). I

Re: [Flashcoders] LocalConnection and Media Components?

2006-10-18 Thread Martin Scott Goldberg
Hi Andy, I started with a working player, meaning I had a working flash movie that played the local mp3 in the web browser window. So the locality shouldn't be an issue. I then tried extending it with the LocalConnection material. I've been trying to do some things to check out what's being

Re: [Flashcoders] LocalConnection and Media Components?

2006-10-26 Thread Martin Scott Goldberg
Martin, Sorry I'm just getting back to you, was out of town for a wedding. You have things a bit in a weird order in the receiving swf. Also, receiving_lc outside and inside the initialize function are 2 differenct variables/instances. receiving_lc in the initialize function is local to the

Re: [Flashcoders] LocalConnection and Media Components?

2006-10-28 Thread Martin Scott Goldberg
/downloads/localconn/localconn.zip regards, Muzak - Original Message - From: Martin Scott Goldberg [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Saturday, October 28, 2006 5:57 AM Subject: Re: [Flashcoders] LocalConnection and Media Components? Hi Ray, that didn't work

[Flashcoders] hitDetect and levels?

2006-10-31 Thread Martin Scott Goldberg
Working on another side project (Breakout clone), and am having an interesting problem with hitDetect. The paddle and ball are detecting hits with each other just fine, but the same code isn't working for the bricks. The ball, paddle, and brick are all attached dynamically. Here's the

Re: [Flashcoders] hitDetect and levels?

2006-10-31 Thread Martin Scott Goldberg
Never mind, stupid me forgot to put = function() at ball.checkBricks. Works fine now. Marty ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] hitDetect and levels?

2006-10-31 Thread Martin Scott Goldberg
Just a general comment, eval is not widely used any more, although it will work when it's on the right hand side of an equation, it won't on the left. But you can use the square bracket notation : _root[brick+row+_+col]; I'll try changing over to that notation when I get everything finished,

[Flashcoders] Mouse stage border issue?

2007-01-21 Thread Martin Scott Goldberg
Question, is there any way to control the mouse that it doesn't go out of the stage as quick? I have a simple pong game that people I have test it find they go outside of the stage window too often and lose control of the paddle. I.e. they exit the stage to quick with a broad stroke of the

[Flashcoders] Simple clip stop problem?

2007-02-01 Thread Martin Scott Goldberg
Hey all, I'm having what should be a simple thing turn in to a problem. Have a ship sprite for my game, that's a movie clip. I designed it with two layers (one for the images, one for actionscript). The clip contains three sections - 1) Plain ship (1 keyframe), 2) Ship with engine on (1

[Flashcoders] Asteroids sluggishness, optimization?

2007-02-05 Thread Martin Scott Goldberg
Heya guys, writing a repro of Asteroids and was getting an issue with frame rates. The frustrating thing is that on my pc it works flawlessly, as well as a few other people I had play test it. On others though they're saying its chugging or starts chugging when the saucer appears. Its been about

[Flashcoders] AS2 to AS3 migration issues?

2007-02-15 Thread Martin Scott Goldberg
Just wondering if anyone else had this problem. I decided to migrate by asteroids code to AS3, and found most of the commands I used were either completely removed or redefined. It looks like I'm going to have to rewrite the entire program rather thans simply change a few things. Really, really

Re: [Flashcoders] AS2 to AS3 migration issues?

2007-02-15 Thread Martin Scott Goldberg
To say it's disheartening to find out technology changes and things are not compatible, is, no disrespect, to not understand the nature and history of technology. A Actually, I understand that quite well. One of my paid jobs is actually a historian (in gaming and computing). Adobe did a

[Flashcoders] Screensaver creator?

2007-02-22 Thread Martin Scott Goldberg
Can anyone recommend a decent app to turn a flash animation in to a screensaver that doesn't cost an arm and a leg? Marty ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Embedded video playback problem?

2007-03-26 Thread Martin Scott Goldberg
Having an issue with video playback in AS2/Flash 8 I'm hoping someone can help with. I created an .swf that's just for playing back an .flv that's stored on my website. The content path in the FLVPlayback component was provided in the form of a url to the location on my web server. The issue is:

Re: [Flashcoders] Embedded video playback problem?

2007-03-26 Thread Martin Scott Goldberg
I should also add, in the browser (FireFox) info bar at the bottom, it states: Read www.atarihq.com and just sits there like that. Marty Having an issue with video playback in AS2/Flash 8 I'm hoping someone can help with. I created an .swf that's just for playing back an .flv that's stored on

Re: [Flashcoders] Embedded video playback problem?

2007-03-26 Thread Martin Scott Goldberg
That's the step that was missing, thanks a million. Marty Upload the skin swf that should be in the same directory as the compiled swf. Something like: SteelExternalAll.swf regards, Muzak - Original Message - From: Martin Scott Goldberg [EMAIL PROTECTED] To: flashcoders

[Flashcoders] AS3 Mouse suggestions?

2007-05-17 Thread Martin Scott Goldberg
Hey all, back again. I'm doing a remake of centipede, and am looking for suggestion on the mouse tracking routine (in as3). The enivronment: The player is of course at the bottom of the screen, and can only move up a specific distance. He may be blocked by mushrooms in this area as well.

Re: [Flashcoders] Using Vista, Flash doesn't reload in FF or IE

2007-06-09 Thread Martin Scott Goldberg
I was just presenting some of my work at a conference tonight where the laptop available was a Dell vista laptop. Absolutely terrible. Everything crawled or was very choppy frame rate wise. Even PONG. I had downloaded and installed the latest plugin on there myself, so I know it wasn't an

[Flashcoders] Key repeating in AS3?

2007-08-06 Thread Martin Scott Goldberg
Has anyone noticed a change in key repeating rate (i.e. when the key is held down) between as3 and as2? I just transfered some game code over to as3 for controlling a ship. I.E. left arrow to turn left, right arrow to turn right. In as2 the key starts repeating really quick when held down. In

Re: [Flashcoders] Key repeating in AS3?

2007-08-07 Thread Martin Scott Goldberg
Ricky, thanks for the response but I don't see how a boolean variable would help. I don't want to ignore key repeats, I want the pause after the initial key press to go away and just start right in to the repeats. In AS2 there was no pause, and in AS3 there there is. Marty Martin Scott

Re: [Flashcoders] Key repeating in AS3?

2007-08-07 Thread Martin Scott Goldberg
Ricky - you were 100% correct and I bow to your insight. ;) Thanks for the help, worked out a version based on your example. Marty You shouldn't rely on the interval of the KEY_DOWN to drive your game logic. It's not reliable, as you are seeing. If you track the state of the keys, you

[Flashcoders] Tracking end of movie clip stored in class?

2007-08-08 Thread Martin Scott Goldberg
Ok, have another quandry. I have an explosion class that, among other things creates and stores an instance of an explosion clip that runs for 5 frames. Each instance of the explosion class created is in turn attached to an array (shotExplosions[]). Explosions are added to the playfield clip

[Flashcoders] AS3 - loading external classes?

2007-09-05 Thread Martin Scott Goldberg
I'm wondering if anyone can help. I have an application I'm writing where, depending on user response, I need it to load an externally stored class and then be able to access that class from within the calling swf. I.e., I have a standard interface that I want to use to load various game classes