[Flashcoders] automated response

2007-02-09 Thread Jessica Hensley
I will be out of the office from 02/09-02/15, however I will be checking email 
on a regular basis. If this an urgent matter I will respond to you shortly.
___
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] LocalConnection, Trying Again

2006-08-01 Thread Jessica Hensley
I posted a fairly involved question last week about a problem I'm having
with a localconnection working the same across different browsers and
Mac versus PC. I haven't had much luck finding an answer, so I thought I
would try one last time to just see if anyone has experienced anything
like this and could provide any insight. Any thoughts are greatly
appreciated! Thanks!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] LocalConnection, Trying Again

2006-08-01 Thread Jessica Hensley
I do know about the 40K limit and I do believe that is part of the
problem, when I am able to get things to work properly at all. The gist
of my project is that I have an HTML page that loads two flash files,
the first file loads a series of secondary movieclips and when each one
of those loads, the localconnection sends a cookie to the second flash
file to go to a certain frame. The first file includes a series of two
arrays with 6 items each (one array for the movie clips and one array
for the frames for the second movie). Once it runs through the array, it
loops again.

The problem I'm running into is that in the testing environment,
everything loads properly at the right time, but when I go live it only
works on Firefox or Explorer on PC properly and doesn't work on Mac. The
frames in the second movie are loading out of sync on the Mac. I've
rewritten the code a couple of times to try to fix for one browser or
another and I inevitably lose the one it worked on originally. However,
I've never seem to had any luck getting it to work on the Mac browsers.
I'm not an expert AS programmer by any means, so I realize that it could
be something I've written improperly. However the fact that I have had
it functioning on certain browsers leads me to believe that it may be a
browser/system issue as well.

Here's the primary part of the code in the first movie that involves the
localconnection:

var frames:Array = new Array(2,62,122,182,242,302);
var clips:Array = new Array(images/bars/bar1.swf,
images/bars/bar2.swf, images/bars/bar3.swf, images/bars/bar4.swf,
images/bars/bar1.swf, images/bars/bar2.swf);

loadNextImage = function () {

onBottom.loadMovie(clips[imageCount=(imageCount+1)%clips.length]);
//send the next frame number
function sendFrameNumber(bnum){
outgoing_lc = new LocalConnection();
outgoing_lc.send(lc_test, testme, bnum);
delete outgoing_lc;
}
var bnum =
(frames[frameCount=(frameCount+1)%frames.length]);
sendFrameNumber(bnum);
trace(bnum);
//fade the images
onEnterFrame = function() {
if (onBottom._width0) {
crossFade(onTop,onBottom);
onEnterFrame = null;
}
}
}

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Grden
Sent: Tuesday, August 01, 2006 11:01 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] LocalConnection, Trying Again


Hey Jessica, I don't know if I caught your first email - what's the
problem specifically?

Do you know about the 40k limit?  if so, what are you doing to
accomodate that?

JPG

On 8/1/06, Jessica Hensley [EMAIL PROTECTED] wrote:

 I posted a fairly involved question last week about a problem I'm 
 having with a localconnection working the same across different 
 browsers and Mac versus PC. I haven't had much luck finding an answer,

 so I thought I would try one last time to just see if anyone has 
 experienced anything like this and could provide any insight. Any 
 thoughts are greatly appreciated! Thanks! 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive: 
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com




-- 
John Grden
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
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] LocalConnection Problem

2006-07-26 Thread Jessica Hensley
Is anyone aware of problems using a localConnection on different
browsers and on Mac versus PC? I'm working on a project in which I have
two Flash files running on an HTML page and the first file sends a
cookie to the second file using a localConnection. The complication is
that the first file loops a series of secondary Flash movies in and out
and when each of those movies switches, it needs to send a new frame
number to the second movie. I've been working on this for several weeks
and have gone through several versions of the files, some of which work
on Firefox/PC, some work on IE/PC, some have occasionally worked on the
Mac browsers. Code in the sending file is below. Also below is a link to
the HTML page that is holding the two movies.

Not an expect AS programmer, so I won't be insulted by any major
critiques of the code. Any help is greatly appreciated!

http://www.h2xmultimedia.com/clients/_select/index.html

Sending File Code:

var frames:Array = new Array(2,62,122,182,242,302);
var clips:Array = new Array(images/bars/bar1.swf,
images/bars/bar2.swf, images/bars/bar3.swf, images/bars/bar4.swf,
images/bars/bar1.swf, images/bars/bar2.swf);

waitDelay = 7.5; //in seconds

imageCount = -1;
frameCount = -1;
onTop = createEmptyMovieClip('holder_1', 1);
onBottom = createEmptyMovieClip('holder_2', 2);
onTop._alpha = 100;
onBottom._alpha = 0;
holder_1._lockroot = true;
holder_2._lockroot = true;

loadNextImage = function () {

onBottom.loadMovie(clips[imageCount=(imageCount+1)%clips.length]);

//send the next frame number - WORKS PERFECTLY IN
TESTING ENVIRONMENT BUT NOT IN BROWSERS
function sendFrameNumber(bnum){
outgoing_lc = new LocalConnection();
outgoing_lc.send(lc_test, testme, bnum);
delete outgoing_lc;
}

sendFrameNumber(frames[frameCount=(frameCount+1)%frames.length]);

//fade the images
onEnterFrame = function() {
if (onBottom._width0) {
crossFade(onTop,onBottom);
onEnterFrame = null;
}
}
}


waitTime = function (seconds) {
waitId = setInterval(function() { 
loadNextImage();clearInterval(waitId);}, seconds*1000);
};
loadNextImage();

function crossFade(clip1,clip2) {
cross = function (clip1, clip2) {
clip1._alpha -= 5;
clip2._alpha += 5;
if (clip2._alpha = 100) {
temp = onTop;
onTop = onBottom;
onBottom = temp;
clip1.swapDepths(clip2);
waitTime(waitDelay);
clearInterval(fadeId);
}
updateAfterEvent();
};
fadeId = setInterval(cross, 2, clip1, clip2);
}

___
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