RE: [Flashcoders] scrolling dynamic movie clip

2007-01-10 Thread David Brunswick
Actually, I went with this solution that I suggested earlier which works

< If not I will just make the scroll buttons invisible until a specific
button is selected.> 
So I was thinking logical .. but also exploring all avenues  its called
thinking out of the box  ;-)~


David Brunswick
Senior Multimedia Developer/OLP Administrator
FedEx Customer Information Services
Customer Service Organizational Learning
901-434-6605
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Wednesday, January 10, 2007 1:23 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] scrolling dynamic movie clip

OK so what would the code look like?

David Brunswick
Senior Multimedia Developer/OLP Administrator
FedEx Customer Information Services
Customer Service Organizational Learning
901-434-6605
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks
| BLITZ
Sent: Wednesday, January 10, 2007 1:12 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] scrolling dynamic movie clip

> I really want the scroll buttons in the loaded library item.

You should rethink the way you're doing this.  Putting a scrollbar
inside the clip that is being scrolled is illogical.  If you want them
to appear together as one clip, put the scrolling content in one
movieclip in the library clip and the scrollbar in another movieclip on
the same level in the clip.  Every movieclip has a timeline and layers
and you should put them to good use.  :)
___
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] scrolling dynamic movie clip

2007-01-10 Thread Steven Sacks | BLITZ
I posted scrollbar code awhile back on Flashcoders.  Google search the
archives for my name and "scroll" and you should find it pretty quickly.


BLITZ | Steven Sacks - 310-551-0200 x208
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of David Brunswick
> Sent: Wednesday, January 10, 2007 11:23 AM
> To: 'Flashcoders mailing list'
> Subject: RE: [Flashcoders] scrolling dynamic movie clip
> 
> OK so what would the code look like?
> 
> David Brunswick
> Senior Multimedia Developer/OLP Administrator FedEx Customer 
> Information Services Customer Service Organizational Learning
> 901-434-6605
>  
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Steven Sacks
> | BLITZ
> Sent: Wednesday, January 10, 2007 1:12 PM
> To: Flashcoders mailing list
> Subject: RE: [Flashcoders] scrolling dynamic movie clip
> 
> > I really want the scroll buttons in the loaded library item.
> 
> You should rethink the way you're doing this.  Putting a 
> scrollbar inside the clip that is being scrolled is 
> illogical.  If you want them to appear together as one clip, 
> put the scrolling content in one movieclip in the library 
> clip and the scrollbar in another movieclip on the same level 
> in the clip.  Every movieclip has a timeline and layers and 
> you should put them to good use.  :) 
> ___
> 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] scrolling dynamic movie clip

2007-01-10 Thread David Brunswick
OK so what would the code look like?

David Brunswick
Senior Multimedia Developer/OLP Administrator
FedEx Customer Information Services
Customer Service Organizational Learning
901-434-6605
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks
| BLITZ
Sent: Wednesday, January 10, 2007 1:12 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] scrolling dynamic movie clip

> I really want the scroll buttons in the loaded library item.

You should rethink the way you're doing this.  Putting a scrollbar
inside the clip that is being scrolled is illogical.  If you want them
to appear together as one clip, put the scrolling content in one
movieclip in the library clip and the scrollbar in another movieclip on
the same level in the clip.  Every movieclip has a timeline and layers
and you should put them to good use.  :)
___
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] scrolling dynamic movie clip

2007-01-10 Thread Steven Sacks | BLITZ
> I really want the scroll buttons in the loaded library item.

You should rethink the way you're doing this.  Putting a scrollbar
inside the clip that is being scrolled is illogical.  If you want them
to appear together as one clip, put the scrolling content in one
movieclip in the library clip and the scrollbar in another movieclip on
the same level in the clip.  Every movieclip has a timeline and layers
and you should put them to good use.  :)
___
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] scrolling dynamic movie clip

2007-01-10 Thread Jim Robson
Oops - typos in the code!

The first two lines in scrollMe() should be:
var nudge:Number = 20*dir;
this._y += nudge;

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Robson
Sent: Wednesday, January 10, 2007 1:53 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] scrolling dynamic movie clip

If you want the buttons in the movie clip, you just need to scroll the clip
and the buttons at the same time. Something like this:

btnUp.onPress = function(){
scrollMe(-1);
}
btnDown.onPress = function(){
scrollMe(1);
}
function scrollMe(dir:Number){
var nudge:Number = 20*dir);
this.-_y += nudge;
btnUp._y -= nudge;
btnDown._y -= nudge;
} 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Wednesday, January 10, 2007 1:37 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] scrolling dynamic movie clip

Good catch I overlooked that, although I had to move the scroll buttons to
the main timeline. I really want the scroll buttons in the loaded library
item. If someone has a suggestion for that great. If not I will just make
the scroll buttons invisible until a specific button is selected.

thanks 

David Brunswick
Senior Multimedia Developer/OLP Administrator FedEx Customer Information
Services Customer Service Organizational Learning
901-434-6605
 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Robson
Sent: Wednesday, January 10, 2007 11:41 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] scrolling dynamic movie clip

David,

Looks like you're trying to change the y-value of your library object
(class) rather than the instance on your stage.

Where you now have:
this.backgroundvalue._y+=20;

I think you want:
this.backgroundvalue_mc._y+=20;

HTH
-Jim


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Wednesday, January 10, 2007 12:36 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] scrolling dynamic movie clip

Hello List, I am creating an empty movie clip container dynamically at
runtime. Then when the user selects a specific button a movie clip is loaded
into that container from the library. My issue is getting the loaded movie
clip to scroll.

 

Here is a sample of the code

 

stop();

theClip.createEmptyMovieClip("empty_mc", 1);

 

this.start_btn.onRelease = function() {

attachMovie("backgroundvalue","backgroundvalue_mc", 1);

backgroundvalue _mc._y = .9;

backgroundvalue _mc._x = 0;

 

}

 

 

Then for the movie clip backgroundvalue scroll buttons I have this

Up btn

 

on(press, release, keyPress "")

{

this.backgroundvalue._y+=20;

}

 

Down btn

on(press, release, keyPress "")

{

this.backgroundvalue._y -=20;

}

 

This logic works with a movie clip in a frame on the main timeline. I need
to work with a dynamically loaded MC.

 

Any suggestions?

 

David Brunswick

Senior Multimedia Developer/OLP Administrator

FedEx Customer Information Services

Customer Service Organizational Learning

901-434-6605

 

 

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

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

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

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

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

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

___
Flashcoders@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] scrolling dynamic movie clip

2007-01-10 Thread Jim Robson
If you want the buttons in the movie clip, you just need to scroll the clip
and the buttons at the same time. Something like this:

btnUp.onPress = function(){
scrollMe(-1);
}
btnDown.onPress = function(){
scrollMe(1);
}
function scrollMe(dir:Number){
var nudge:Number = 20*dir);
this.-_y += nudge;
btnUp._y -= nudge;
btnDown._y -= nudge;
} 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Wednesday, January 10, 2007 1:37 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] scrolling dynamic movie clip

Good catch I overlooked that, although I had to move the scroll buttons to
the main timeline. I really want the scroll buttons in the loaded library
item. If someone has a suggestion for that great. If not I will just make
the scroll buttons invisible until a specific button is selected.

thanks 

David Brunswick
Senior Multimedia Developer/OLP Administrator FedEx Customer Information
Services Customer Service Organizational Learning
901-434-6605
 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Robson
Sent: Wednesday, January 10, 2007 11:41 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] scrolling dynamic movie clip

David,

Looks like you're trying to change the y-value of your library object
(class) rather than the instance on your stage.

Where you now have:
this.backgroundvalue._y+=20;

I think you want:
this.backgroundvalue_mc._y+=20;

HTH
-Jim


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Wednesday, January 10, 2007 12:36 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] scrolling dynamic movie clip

Hello List, I am creating an empty movie clip container dynamically at
runtime. Then when the user selects a specific button a movie clip is loaded
into that container from the library. My issue is getting the loaded movie
clip to scroll.

 

Here is a sample of the code

 

stop();

theClip.createEmptyMovieClip("empty_mc", 1);

 

this.start_btn.onRelease = function() {

attachMovie("backgroundvalue","backgroundvalue_mc", 1);

backgroundvalue _mc._y = .9;

backgroundvalue _mc._x = 0;

 

}

 

 

Then for the movie clip backgroundvalue scroll buttons I have this

Up btn

 

on(press, release, keyPress "")

{

this.backgroundvalue._y+=20;

}

 

Down btn

on(press, release, keyPress "")

{

this.backgroundvalue._y -=20;

}

 

This logic works with a movie clip in a frame on the main timeline. I need
to work with a dynamically loaded MC.

 

Any suggestions?

 

David Brunswick

Senior Multimedia Developer/OLP Administrator

FedEx Customer Information Services

Customer Service Organizational Learning

901-434-6605

 

 

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

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

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

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

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

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

___
Flashcoders@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] scrolling dynamic movie clip

2007-01-10 Thread David Brunswick
Good catch I overlooked that, although I had to move the scroll buttons to
the main timeline. I really want the scroll buttons in the loaded library
item. If someone has a suggestion for that great. If not I will just make
the scroll buttons invisible until a specific button is selected.

thanks 

David Brunswick
Senior Multimedia Developer/OLP Administrator
FedEx Customer Information Services
Customer Service Organizational Learning
901-434-6605
 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Robson
Sent: Wednesday, January 10, 2007 11:41 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] scrolling dynamic movie clip

David,

Looks like you're trying to change the y-value of your library object
(class) rather than the instance on your stage.

Where you now have:
this.backgroundvalue._y+=20;

I think you want:
this.backgroundvalue_mc._y+=20;

HTH
-Jim


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Wednesday, January 10, 2007 12:36 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] scrolling dynamic movie clip

Hello List, I am creating an empty movie clip container dynamically at
runtime. Then when the user selects a specific button a movie clip is loaded
into that container from the library. My issue is getting the loaded movie
clip to scroll.

 

Here is a sample of the code

 

stop();

theClip.createEmptyMovieClip("empty_mc", 1);

 

this.start_btn.onRelease = function() {

attachMovie("backgroundvalue","backgroundvalue_mc", 1);

backgroundvalue _mc._y = .9;

backgroundvalue _mc._x = 0;

 

}

 

 

Then for the movie clip backgroundvalue scroll buttons I have this

Up btn

 

on(press, release, keyPress "")

{

this.backgroundvalue._y+=20;

}

 

Down btn

on(press, release, keyPress "")

{

this.backgroundvalue._y -=20;

}

 

This logic works with a movie clip in a frame on the main timeline. I need
to work with a dynamically loaded MC.

 

Any suggestions?

 

David Brunswick

Senior Multimedia Developer/OLP Administrator

FedEx Customer Information Services

Customer Service Organizational Learning

901-434-6605

 

 

___
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] scrolling dynamic movie clip

2007-01-10 Thread Jim Robson
David,

Looks like you're trying to change the y-value of your library object
(class) rather than the instance on your stage.

Where you now have:
this.backgroundvalue._y+=20;

I think you want:
this.backgroundvalue_mc._y+=20;

HTH
-Jim


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Wednesday, January 10, 2007 12:36 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] scrolling dynamic movie clip

Hello List, I am creating an empty movie clip container dynamically at
runtime. Then when the user selects a specific button a movie clip is loaded
into that container from the library. My issue is getting the loaded movie
clip to scroll.

 

Here is a sample of the code

 

stop();

theClip.createEmptyMovieClip("empty_mc", 1);

 

this.start_btn.onRelease = function() {

attachMovie("backgroundvalue","backgroundvalue_mc", 1);

backgroundvalue _mc._y = .9;

backgroundvalue _mc._x = 0;

 

}

 

 

Then for the movie clip backgroundvalue scroll buttons I have this

Up btn

 

on(press, release, keyPress "")

{

this.backgroundvalue._y+=20;

}

 

Down btn

on(press, release, keyPress "")

{

this.backgroundvalue._y -=20;

}

 

This logic works with a movie clip in a frame on the main timeline. I need
to work with a dynamically loaded MC.

 

Any suggestions?

 

David Brunswick

Senior Multimedia Developer/OLP Administrator

FedEx Customer Information Services

Customer Service Organizational Learning

901-434-6605

 

 

___
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] scrolling dynamic movie clip

2007-01-10 Thread David Brunswick
Hello List, I am creating an empty movie clip container dynamically at
runtime. Then when the user selects a specific button a movie clip is loaded
into that container from the library. My issue is getting the loaded movie
clip to scroll.

 

Here is a sample of the code

 

stop();

theClip.createEmptyMovieClip("empty_mc", 1);

 

this.start_btn.onRelease = function() {

attachMovie("backgroundvalue","backgroundvalue_mc", 1);

backgroundvalue _mc._y = .9;

backgroundvalue _mc._x = 0;

 

}

 

 

Then for the movie clip backgroundvalue scroll buttons I have this

Up btn

 

on(press, release, keyPress "")

{

this.backgroundvalue._y+=20;

}

 

Down btn

on(press, release, keyPress "")

{

this.backgroundvalue._y -=20;

}

 

This logic works with a movie clip in a frame on the main timeline. I need
to work with a dynamically loaded MC.

 

Any suggestions?

 

David Brunswick

Senior Multimedia Developer/OLP Administrator

FedEx Customer Information Services

Customer Service Organizational Learning

901-434-6605

 

 

___
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