Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Custom Buttons And MC



Hi there!

I experience a slight problem. I have a movieclip and 4 customized SimpleButtons that have EventListeners that fire the movieclip. The movieclip and the 4 button are in the same layer, but changing it doesn't make any difference.
The problem is that when I start the SWF and I wanna click on some of the buttons so that I play the animation, the animation doesnt start at all. It seems that the buttons are unclickable or smth like this. When I click once on the surface of the movieclip (where there is no button over it) and then click on a button again the animation starts normally. I find the problem a bit strage. I will appreciate your help.

Thanks



ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0
Posted on: 06-19-2008, 06:25 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Replacing UI-component Buttons With Custom Buttons
Hi all!
I don't have that Flash or AS skills, so i'm using the Quiz-Template to build a little test.
However, i woluld like to use my own custom buttons, instead of the provided "reset" and "control" buttons.
Could anybody kindly help me out and give me a hint, how to aplly the (for example "reset"-)functions to them?

For example: This is the Reset-function AS-Code from the Drag&Drop Quiz-Template (right?!):
// 1-2: Handles reset button clicks

function onDDReset(){

var router = _parent.SessionArray[_parent.session];
var len = router.drag_objects.length;


for(var i=0; i < len; i++){
if (_parent[router.drag_objects] != undefined){
with(_parent[router.drag_objects]){
swapDepths(startDepth);
_x = startX;
_y = startY;
dropValue = undefined;
dropZone = false;
finished = false;
}
}
}

router.resetFlag = false;
router.setFeedback(0);
router.setComponentLabel(router.Assets.ControlButton, router.label_state);
router.setComponentState(router.Assets.ControlButton, false);
//router.setComponentState(router.Assets.ResetButton, false);
}

Now, how can i apply the reset-function to my custom button??

Thanks a lot for any kind of help! :-)

Custom Buttons
Can someone point me to a good tutorial on how to make custom button components? I'm kinda new to flash and actionscript. I read somewhere that I should be making movieclip buttons?

Thanks!

Custom Back Buttons
Does anyone know where I can find a working tutorial on making custom Back and Forward buttons. I found one here buy someone named Simon. It all works except for the forward button. His . Fla's are no help because he left out some of the code for the page buttons. I'm not a veery strong coder and would appreciate any help on this.


Thanx

Custom Buttons Problem
I have a movie clip w/ a dynamic text field in it. It will be used as a master clip for duplication. This, theoretically, will allow me to dynamically create custom buttons. But...

If the master clip's textfield starts w/ the text "Dummy" whatever width that ends up being is all I can see when running the movie *in a browser*, even if I set the text to be "Antidisestablismentarianism." IOW, all I can see would be "Anitdi".

It should be noted this is not necessarily a problem w/i Flash, ie. while testing the movie. I see the same behavior, but I also have a symbol in the movie clip with the text field. It matches the background color of the movie. I can change it's _width property. This does two things for me. It mimics the Hit frame of a button so that the movie clip gets events whenever the mouse in in the bounds of the movie clip and not just when it passes over text pixels. It also fixes the problem mentioned above...but only when testing the movie in Flash.

I've tried setting the _width of the text movie clip, but all that does is strecth out "Antidi."

Is there a way to have the movie clip refresh it's properites to reflect the width of the movie clip and its new text string? Has anyone found a workaround to this or have I set something up wrong?

Here is the heirarchy I have, if it helps some. It is the buttonMovieClip that gets duplicated.

_root
..buttonMovieClip
....TextMovieClip
......textfield
......pseudoHitFrame

-Sean
[Edited by s007767 on 01-29-2002 at 08:37 PM]

Custom Scrollbar Buttons
I guess I must have missed it when I was learning about Flash MX, bu I need to know how to make custom scrollbars that can scroll text.

Any help would be appreciated,
Brendan

Custom Cursor That Changes Over Buttons?
Hi,

I need to create a custom cursor in Flash MX that not only appears as my chosen image on one part of the stage, but changes to another image when rolled over certain areas.

For example, you could have a finger pointing upwards in the centre of the movie, a finger pointing to the right when the cursor nears the right side of the stage and the same (pointing left) when over towards the left side.

I keep finding tutorials that show how to make a single-image custom cursor, but none that change!!!

Any ideas on what the best way to do this is? Do I use invisible buttons, and if so is the script to change the image in the button or the mouseHide script?

Any Help greatly appreciated!

Cheers, Skratch

Buttons And Custom Classes
Hey everyone!

I'm a new member to the forums with an annoying Flash MX 2004 problem. I was wondering if you people could help me out?

Basically I'm trying to get a button to change color via a Custom class written in ActionScript. I have built and attached an example to show you all what I'm trying to achieve. The code works perfectly with a MovieClip, but when I try to apply it to a Button, it falls flat (can't even find the reference to the button it seems).

On my stage are two objects:
1. A Movie Clip
2. A Button

These are both set to "Export for ActionScript", and have an attached class called 'ColorClass'. ColorClass is basically what does all the work (makes a Color object, and has set and get methods). I also have an action layer where all my other code is contained.

I'm fairly new to ActionScript, but come from a Java background, so know a bit about code :P Hopefully this is a simple problem where I just overlooked something obvious!

Thanks in advance,
Damask

Custom Scroll Buttons
Hi, ok so here is my site, and what i want to do is to create the two triangular buttons and make them scroll the text up and down. Now i could use masks and all that but its dynamic text and i just wandered if there was anything a bit nicer to use than masks, as they can get quite messy.

http://nighthawkgraphics.deviantart....sign-100841332

Add Buttons In Custom Treeitemrenderer
hi all,
i want to add buttons in a custom treeitemrenderer so a button is displayed next to each node. I can do it with a checkbox but using the same technique for button simple does not work.
any ideas please?

thanks

Custom Scroll Buttons And More
If I have a flash movie with 4 buttons and each button loads an external text file into a dynamic text box with a scrollbar. I get all that to work fine.
My question; Instead of the scrollbar component I make two buttons with scroll up and scroll down capability (they work fine on their own if I just type a message into the text box) but I can't get them to work properly with the external loaded documents.

Also; are there any tutorials on how to create a flash mx expanding, folding menu tree. Vetical or horizontal.

Thank you

Custom Flash Buttons
i was following the tutorial here Text
im making a submit button that sends the persons email to me to receive updates, but the part im stuck is with the actions
and what actions do i enter to recieve the email, and maybe allow a pop up window to verify confirmation.
any ideas anyone? thanks

Custom Flash Buttons
i was following the tutorial here custom flash buttons tutorial
im making a submit button that sends the persons email to me to receive updates, but the part im stuck is with the actions
and what actions do i enter to recieve the email, and maybe allow a pop up window to verify confirmation.
any ideas anyone? thanks

FLVPlayback Custom Buttons
I'm trying to add a fullscreen button to an FLVPlayback skin for AS 2.0 use. I know it's built into the AS 3.0 FLVPlayback component, but I need to do this in AS 2.0. So I added my button and was planning on custom coding it (since I don't think I can assign it to a function of the FLVPlayback like I can the other buttons) but I'm getting errors on compile, saying:

**Error** Symbol=FullScreenDisabled, layer=Button, frame=1:Line 1: The class or interface 'fl.video.skin.FullScreenButtonOnDisabled' could not be loaded.

Does this mean I can't add any custom buttons that aren't in the "schematics" of FLVPlayback? I can only add buttons that FLVPlayback knows what to do with?

Custom Radio Buttons
In Flash 8, I can't figure out how I can create a row of radio buttons that look like real radio buttons (I'm building a radio) Is there any way, or hopefully some canned code somewhere that I could just link to my own icons? The radio buttons component would be great, but It's ugly. I tried to change the graphics on a button component, but it wouldn't test right, just flickered. I guess I need some step-by-step instructions. All I need is Up and Down states on the radio. Also, I have two different button arrays in the design, in case that complicates the solution any.

Custom Radio Buttons
How to make custom radio buttons/checkboxes?

[FMX] Buttons And Custom Classes
Hey everyone!

I'm a new member to the forums with an annoying Flash problem. I was wondering if you people could help me out?

Basically I'm trying to get a button to change color via a Custom class written in ActionScript. I have built and attached an example to show you all what I'm trying to achieve. The code works perfectly with a MovieClip, but when I try to apply it to a Button, it falls flat (can't even find the reference to the button it seems).

On my stage are two objects:
1. A Movie Clip
2. A Button

These are both set to "Export for ActionScript", and have an attached class called 'ColorClass'. ColorClass is basically what does all the work (makes a Color object, and has set and get methods). I also have an action layer where all my other code is contained.

I'm fairly new to ActionScript, but come from a Java background, so know a bit about code Hopefully this is a simple problem where I just overlooked something obvious!

Thanks in advance,
Damask

Custom Buttons For Flv Playback
Hi!
I've really looked all over the web for this one....

What should I do if I wanted to add custom video control buttons to my video player...

This code doesn't seem to work:

Code:
vid.fullScreenButton=fullscrn;
Here's the rest of my code:

Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
var vid:Video = new Video(160, 120);
vid.x=590;
vid.y=100;
this.addChild(vid);
vid.attachNetStream(ns);
ns.play("http://sjc-v178.sjc.youtube.com/get_...id=x7l-ff1DlrU");
ns.addEventListener(NetStatusEvent.NET_STATUS, netstat);
function netstat(stats:NetStatusEvent) {
//trace(stats.info.code);
}
var netClient:Object = new Object();
netClient.onMetaData = function(meta:Object) {
//trace(meta.duration);
};
ns.client = netClient;
Has it something to do with that I created my video player in AS instead of puting it directly on the stage??

Thanx!!

Flv Playback Custom Buttons
Hi I have an instance of flvplayback, I want to link my buttons. With or without the following code only the seekbar and volume bar work any ideas why?


flvPlayback.seekBar = mySeekBar;
flvPlayback.playButton = playbtn;
flvPlayback.backButton = backbtn;
flvPlayback.forwardButton = forbtn;
flvPlayback.volumeBar = volbar;

flvPlayback.play();

Importing Custom Buttons
Ok, let me say up front what this question is NOT about:

It's not about how to make a button....

It's not about how to insert a button into my document...

It IS about:

Making a custom button symbol in FIREWORKS and being able to use that symbol in FLASH as a button. Nowhere in my searches have I found anything that talks about custom button design in Fireworks, and then importing the sonofa***** into Flash and using it as if it were a native Flash button.

So... now that I've vented a little, can anyone point me in the right direction?

Here's what I've done so far:

Made the button in Fireworks and exported the symbol to a folder on my hard drive...

Opened the (supposed) symbol in Fireworks and attempted to work with it...

What comes out is a flat, unadorned bitmap that looks nothing like the custom graphic I made and does not display the usual 4-state button frames that normally pop up when you work with a native Flash button. My simple mind thinks, "Gosh, self, this ought to be a seamless integration between Flash and Fireworks, so I must be missing something really basic..." But I can find nothing on the web.

Just for those who may be wondering, I'm not designing the button in Flash because my MX2004 Education version of Flash doesn't have the rounded rectangle tool...

Scrollpane - Custom Buttons
Hi,

I've been scouring the net trying to find a solution to my problem.

I have a scrollpane with a clip in it that works fine.

I'd like to have another button that controls the scrolling of it.

It's horizontal - so just needs to scroll left and right.

There is an example on the sportsgirl.com.au site in the fashion / style me area. It scrolls based on cursor position which is cool. I'd llike to achieve that or to have a button on the left and right of the scroll pane to control it.

Does this need to be done with Action Script? Can anyone point me in the right direction?

Thanks.

Custom Scroll Bar With Buttons
Still trying to get a handle on Flash, but I'm want to create scroll bar and buttons to control a dynamic text box. I understand the AS of scroll +=1 to control the text through the buttons, but how do I have the scroll bar react to the scroll button activation as well as move the scroll bar to move the dynamic text.

I've searched all over and I want to avoid using the components as I'm trying to fit a certain design parameters.

And a seperate question - custom skinning the component, is that just changing global colors or can I replace them with custom graphics?

Thanks

Using Custom Buttons Instead Of Components
I'm working on a tutorial and trying to modify the actionscript so I can use my own next/previous buttons. I don't like the component buttons that are used in the tutorial. Here is the section of code I'm trying to edit:

function loadWhatever(act, increment) {
num = new Number(_parent.NumLow);
if(act == "Next") {
_parent.NumLow = num + increment;
} else if(act == "Previous") {
_parent.NumLow = num - increment;
} else {
_parent.NumLow = 0;

The actionscript on the next button is this:

on(click){
_parent._parent.read.loadEntries("Next", 1);
}

Any help would be greatly appreciated. Thank you in advance.

Freakin Custom Scroll Buttons
Hello Jake the Arab here:

Ok I need some help! On my website I have a virtual menu, and each button has it’s own MC called let’s say Main (for the main button) and in this MC when the buttons is clicked it slides down to the bottom of the page then over, when the buttons done moving a window fades in. the problem I have is my custom scroll buttons don’t scroll the text box that has imported text in it, in the window. Yet when I put the scroll buttons & text box in the _root. (Or main stage) it works fine. But when I move it into a MC of its own…. It doesn’t work at all. I change the action script to the right targets but still nothing.

So if anyone can help or give me and .fla file it would be greatly appreciated.

Thanks in advance.

-Jake

P.S.
For a better understanding of my site setup go here: Unoriginal Design
on the site that uploaded i just have default scroll bar. all i wanted to do was make my own. But can't. also the text is not imported from an External .txt file.

Custom Buttons, Problems With Code
I have made a Movie Clip that will act as a button. I need to use onRollOver, onRollOut and onRelease. I can get the rollover and rollout to work fine but release doesn't work. If I drop the onRollOver and onRollOut, the onRelease works fine. I'm not very good at actionscript. I have tried adding the code directly to the MC, as well as putting it on my top Actions layer. The Release is going to another scene named "Company". Can someone show me how to add all 3 actions to a Movie Clip?

My current code looks like this, but the release happens when I rollover and I don't know why.

on Actions layer I used:


Code:
this.company_button.onRelease = function() {
gotoAndPlay("Company", 1);
};
this.company_button.onRollOver = function() {
gotoAndPlay(2);
};
this.company_button.onRollOut = function() {
gotoAndPlay(6);
};


When attaching the code to the MC, I used:


Code:
on (release) {
gotoAndPlay("Company", 1);
}
on (rollOver) {
gotoAndPlay(2);
}
on (rollOut) {
gotoAndPlay(6);
}


Laugh at my code if you need to (I did), I know not what I am doing, hehe.

Any input is appreciated, and thanks in advance.

Custom Message Once All 3 Buttons Have Been Lcicked?
Hi All,

I need to create a movie that has 3 scenes that can be bounced to via button clicks. I need it to track where the person has been and tells them you have clicked on all three buttons click here to continue.

Well I have all my scenes set up and the buttons are working fine I'm just not sure how to make my movie track the buttons and deliver the message once all 3 buttons have been clicked.

(You've clicked all 3 now proceed here)

Anyone have any input???

[F8] Component MenuBar W/ Custom Buttons
I'm using actionscript 2.0 in Flash 8.

I have put a menuBar component on the Stage and added submenus to it using actionScript.

My problem then comes with my custom-made buttons.

I have created buttons out of a MovieClip and an On (press) command.
right now I have the button tracing "potatoes" when it is pressed.

The problem comes when I run my program and use the menuBar, the button no longer works as it should.

The button then only traces "potatoes" when I double-click or move the mouse before I click.

This boggles me because the component buttons in Flash work fine, and do not have any change in functionality when the subMenus of the menuBar are opened.

If there is anyone that knows how to get around this, or fix it... ideas, etc...
any help is welcome
Thanks a lot

Linking Custom Swf Buttons In Dreamweaver?
Hello,
I’m not sure if I should be asking this question in a flash forum.
I need to know if anybody knows how to link a custom made flash button in Dreamweaver. The button operates as normal, but I can’t find a way to link it to a page. After all, what good is button if you can’t link it anywhere?
I look forward to your comments.
60vette

Custom Dropdown Menu Buttons
Hi all,

I'm a hack programmer so please bear with me. I made a drop down menu using a movie and markers. I then made a function for each button in the menu on the root timeline. the first button works but the rest do not. All the instance names are right and the keyframe markers are correct too. I'm wondering if it is some logic structure that I fail to understand. I get no errors and the trace comments in buttons 2 and 3 don't show up.

You can download the fla here: http://www.gantnercreativemedia.com/dropdown_test.fla

here are the functions:

//Flyout menu functions;

//tracks the condition of the flyout menu 0 is open and 1 is closed
var flyoutStatus = 1

flyoutMovie.mainbut.onPress = function(){
if (flyoutStatus == 1){
flyoutMovie.gotoAndPlay(2);
flyoutStatus = 0
}else{
flyoutMovie.gotoAndPlay("close");
flyoutStatus = 1;
}
}


// flyout button functions


flyoutMovie.flyoutButton01.onPress = function(){
gotoAndStop("marker01");
flyoutMovie.sectionName_txt.text = "Introduction"; // places name in Section header
flyoutMovie.gotoAndPlay("close");
flyoutStatus = 1;
//debugging
trace (flyoutMovie.sectionName_txt.text);
trace (flyoutStatus)

}

flyoutMovie.flyoutButton02.onPress = function(){
gotoAndStop("marker02");
flyoutMovie.sectionName_txt.text = "History"; // places name in Section header
flyoutMovie.gotoAndPlay("close");
flyoutStatus = 1;
//debugging
trace (flyoutMovie.sectionName_txt.text);
trace (flyoutStatus)
}

flyoutMovie.flyoutButton03.onPress = function(){
gotoAndStop("marker03");
flyoutMovie.sectionName_txt.text = "Nomenclature"; // places name in Section header
flyoutMovie.gotoAndPlay("close");
flyoutStatus = 1;
//debugging
trace (flyoutMovie.sectionName_txt.text);
trace (flyoutStatus)
}

stop();


Thanks for any advice!

matt gantner

How Do I Make A Custom Scrollbar Using Buttons?
forgive the newbieness, but i've not been able to come up with an answer through searching. i'm using flash mx 2004 w/ 7.2 update.

i've got two situations in which i'd like to make a custom scrollbar:

1) using a regular text frield
2) in a textarea component that loaded external css formatted text

i just want to have two buttons, one of a triangle pointing up, another down, that can be used to scroll the text accordingly.

maybe the solution is the same for both situations, but does anyone have some direction for me here? an example file which uses buttons as scrollers i could look at?

Having Trouble With Custom Scroll Buttons
I made my own scroll buttons ( just up and down arrows ). Everything worked all nice until i put everything I made into a movieclip. Now the scroll buttons won't work. I've attached the .fla if anyone is interested in helping me.

http://www.clanunf.com/Testing.fla

Custom Buttons/MX Button Component
I'm sure custom buttons act differently than the mx button component, and that is why I'm having this problem...
I'm working on a project where the actionscript is all inclusive in its own file (I'm trying to be a good OOP programmer in flash here)
For this project I had a regular mx button within the fla, I gave it an instance name and properly linked it so within the .as, I was able to say:
[actionscript]
my_btn.addEventListener("click", myObject_eh);
[/actionscript]
you would click on the button and it would work.
However I do not want to use the regular mx button so I created my own button, same instance name and everything what is the proper syntax to get this to work in similar fashion
thanks in advance for your help.
-noble

Custom Buttons For Listbox Scroll
Hi Folks

I was trying to create 2 custom buttons for the Listbox component

The up button scrolls the list up and the Down button scrolls the list down by 1 visible list screen length

Any help would be appreciated

Thanks

RG

Buttons In Simple Custom Scrollbar
Hi.
I've gove trougth the simple custom scrollbar http://www.kirupa.com/developer/flash8/scrollbar.htm step by step. Ive got it working just fine.
Now I need to but a button in the scrollbar content, that easy, in MC content I inserted the button I need and the code.

on (release) {
trace("historia");
gotoAndStop("historia");
}

unfortunatly the button doesnt work, stangly not eaven trace code gets called.

Ive checked and the frame name instance "historia" is correct. Any sugestions?

Scrolling Graphics With Custom Buttons?
Hey guys, can anyone give me links to any good tutorials on how to create Scrolling Graphics with CUSTOM Up/Down buttons?

I can hardly find anything through a Google search or tutorials on this site. I've managed to create a scrolling Dynamic Text Field but haven't figured out how to do the same thing with a Graphic MC.

Also, any tips on adding "EASING" to scroll-code would be very much appreciated aswell.

Cheers.

[Flash CS3] Custom Buttons For Dreamweaver
Hi guys,

I have a solid understanding of AS2 and AS3 but have been racking my brains about how to create custom flash buttons for dreamweaver that can be easily integrated into the dreamweaver flash button library. Presumably they are ordinary .swf's with nothing but a button instance on stage and some actionscript coding that recieves a variable posted by the html which contains the link information that the flash buttons should navigate to.
My question is how to do this in a format that dreamweaver will interpret as just another flash button in it's library of pre-existing flash buttons. It is for a massive project where the same button will be used repeatedly in an html file.

Any help would be much appreciated.

Custom Buttons/MX Button Component
I'm sure custom buttons act differently than the mx button component, and that is why I'm having this problem...
I'm working on a project where the actionscript is all inclusive in its own file (I'm trying to be a good OOP programmer in flash here)
For this project I had a regular mx button within the fla, I gave it an instance name and properly linked it so within the .as, I was able to say:
[actionscript]
my_btn.addEventListener("click", myObject_eh);
[/actionscript]
you would click on the button and it would work.
However I do not want to use the regular mx button so I created my own button, same instance name and everything what is the proper syntax to get this to work in similar fashion
thanks in advance for your help.
-noble

Custom Scroll Plane & Buttons?
can someone please teach me how to do this? Thanks alot in advanced

Custom Buttons To Control ScrollPane Component
I have figured out how to use the scrollPane component to pull in an external swf file with text and how to make the border invisible. But I am trying to figure out how to make it scroll with buttons that I have created.

Anyone got any ideas?
or an example of this. Any help is appreciated.
Thank you.

Scrolling A Text Block With Custom Buttons
Would anyone happen to have the action script for this? I am just trying to scroll a dynamic text block and I am gonna make an up and down button for it.

Multiple Custom Radio Buttons In Flash
Hey all, I'm in the process of evaluating if this will be possible in flash for me to do.

The requirement is to create a survey type user interaction.

The user will have 7 pages of 5 items each page. Each can be answered by Yes or No (therefore the requirement of the radio buttons).

The user is not required to select a item so i don't need a check to see if it's selected or not but i need to tally up the items which have been selected 'yes' for each page and then have a total tally at the end.

I would like the custom radio button to have 3 graphic events / up (not selected) / over (light grey in the radio box) / selected (darker grey in radio box).

So thats pretty much it! Is this a major job and does it require some advanced coding? Any response will be appreciated.

thanks!

Switch Language Using Custom Buttons Vs Combobox
Hey Folks, I have to create a multilanguage site and I have all that code working now but I am using the combo box to toggle back and forth from English and French.

How do I change my code so that the user has to click on a btn for English and a btn for French.


Code:
import mx.lang.Locale;
Locale.setLoadCallback (localeListener);
lang_cb.dataProvider = Locale.languageCodeArray.sort ();
lang_cb.addEventListener ("change",langListener);
greeting_txt.autoSize = "left";
Locale.loadLanguageXML (lang_cb.value);

function langListener (eventObj:Object):Void
{
Locale.loadLanguageXML (eventObj.target.value);
}
function localeListener (success:Boolean):Void
{
if (success)
{
example.text = Locale.loadString ("IDS_HOME");
lanFrench.text = Locale.loadString ("IDS_FRENCH");
lanEnglish.text = Locale.loadString ("IDS_ENGLISH");
}
else
{
greeting_txt.text = "unable to load language XML file.";
}
}

// mouse events for languages
var numOfLanguageBtns = 2;
for (i = 0; i <= numOfLanguageBtns; i++)
{
this["lan" + i].onRollOver = overLanguages;
this["lan" + i].onRelease = goLanguages;
}
function overLanguages ():Void
{
audioGlobalBtn ();
}
function goLanguages ():Void
{
var lanBtnNum:Array = this._name.split ("n");
var lanNum:Number = lanBtnNum[1];
switch (lanNum)
{
case "1" :

break;
case "2" :

break;
}
}
// audio functions
function audioGlobalBtn ():Void
{
var mySoundOp:Sound = new Sound ();
mySoundOp.attachSound ("gblBtn");
mySoundOp.start ();
}

I Need A Custom Scroll Bar For An Image With Buttons Going To Specific Parts Of It
I want to make my own HORIZONTAL scrolling scrollbar for an image, with buttons to go to specific parts of the image. A scrollbar I am trying to emulate is on www.towardsthesky.com, click on any of the image porfolios to see an example of what I am trying to do. Can anyone tell me how to make my own or point me to a good tutorial for what I am describing? If anyone could tell me how they think the portfolios on that site where done I would appreciate it to. I have asked the guy who does the site and havn't gotten any response. Thanks.

I Need A Custom Scroll Bar For An Image With Buttons Going To Specific Parts Of It
I want to make my own HORIZONTAL scrolling scrollbar for an image, with buttons to go to specific parts of the image. A scrollbar I am trying to emulate is on www.towardsthesky.com click on any of the image porfolios to see an example of what I am trying to do. Can anyone tell me how to make my own or point me to a good tutorial for what I am describing? If anyone could tell me how they think the portfolios on that site where done I would appreciate it to. I have asked the guy who does the site and havn't gotten any response. Any help will be appreciated. Thanks.

I Need A Custom Scroll Bar For An Image With Buttons Going To Specific Parts Of It
I want to make my own HORIZONTAL scrolling scrollbar for an image, with buttons to go to specific parts of the image. A scrollbar I am trying to emulate is on www.towardsthesky.com click on any of the image porfolios to see an example of what I am trying to do. Can anyone tell me how to make my own or point me to a good tutorial for what I am describing? If anyone could tell me how they think the portfolios on that site where done I would appreciate it to. I have asked the guy who does the site and havn't gotten any response. Any help will be appreciated. Thanks.

I Need A Custom Scroll Bar For An Image With Buttons Going To Specific Parts Of It
I want to make my own HORIZONTAL scrolling scrollbar for an image, with buttons to go to specific parts of the image. A scrollbar I am trying to emulate is on www.towardthesky.com click on any of the image porfolios to see an example of what I am trying to do. Can anyone tell me how to make my own or point me to a good tutorial for what I am describing? If anyone could tell me how they think the portfolios on that site where done I would appreciate it to. I have asked the guy who does the site and havn't gotten any response. Any help will be appreciated. Thanks.

I Need A Custom Scroll Bar For An Image With Buttons Going To Specific Parts Of It
I want to make my own HORIZONTAL scrolling scrollbar for an image, with buttons to go to specific parts of the image. A scrollbar I am trying to emulate is on www.towardthesky.com click on any of the image porfolios to see an example of what I am trying to do. Can anyone tell me how to make my own or point me to a good tutorial for what I am describing? If anyone could tell me how they think the portfolios on that site where done I would appreciate it to. I have asked the guy who does the site and havn't gotten any response. Any help will be appreciated. Thanks.

I Need A Custom Scroll Bar For An Image With Buttons Going To Specific Parts Of It
I want to make my own HORIZONTAL scrolling scrollbar for an image, with buttons to go to specific parts of the image. A scrollbar I am trying to emulate is on www.towardthesky.com click on any of the image porfolios to see an example of what I am trying to do. Can anyone tell me how to make my own or point me to a good tutorial for what I am describing? If anyone could tell me how they think the portfolios on that site where done I would appreciate it to. I have asked the guy who does the site and havn't gotten any response. Any help will be appreciated. Thanks.

[CS3] Adding Custom Buttons.scripts In Display List
Hi all,
I'm trying to learn how to write Actionscript from scratch vs the reverse engineering I've been doing for a while. Is there a way to create custom buttons in the display list? I'd like to create buttons that will type popular lines like import flash.display.Sprite;

I'd love to just click or drag it over vs type it. I'm either being lazy or efficient, either way I'm just trying to speed up the coding process.
Thanks!

Adding Buttons With Instance Names Into A Custom Scroll
I have created a custom scroll to view a list of my portfolio pieces. the action script looks like this with scroller_mc being the instance name of the vertical scroller and printnames_mc the instance of the names of my pieces.

var scrollUpper:Number = 229;
var scrollLower:Number = 374;

var textLower:Number = 229;
var textUpper:Number = 187;

var scrollRange:Number = scrollLower - scrollUpper;
var textRange:Number = textLower -textUpper;

function scroll() {
var moved:Number = scroller_mc._y - scrollUpper;
var pctMoved:Number = moved/scrollRange;
var textMove:Number = pctMoved*textRange;
printnames_mc._y = textLower - textMove;
}

scroller_mc.onPress = function () {
startDrag(scroller_mc,false,this._x, scrollUpper,this._x,scrollLower);
this.onMouseMove = scroll;
}

scroller_mc.onRelease = scroller_mc.onReleaseOutside = function() {
this.stopDrag();
this.onMouseMove = null;
}

the problem with this is when I try to add buttons that use actionscript to load images into a main loader inside the printnames_mc object it does not work? is there a way to create a custom scroll that can scroll through buttons with instance names? Any help would be great!!!!!!!! thanks

Copyright © 2005-08 www.BigResource.com, All rights reserved