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




Switching Between Tabs... Question



i have 5 different tabs (like files) in 5 different layers that i would like to make buttons so when they are clicked they move to the front of the layers everytime they are clicked

i hope that makes sense... i'm starting to lose myself explaining it lol...



FlashKit > Flash Help > Flash MX
Posted on: 04-07-2003, 03:44 PM


View Complete Forum Thread with Replies

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

Switching Firefox Tabs With AS
I am wondering if it's possible to switch FF tabs (or IE opened windows) from actionscript? Or is there a way to open a new tab but without changing focus (so user would stay on website containing swf)?

Papervision Reinitiates After Switching Browser Tabs
anyone had that happen? is that a render management feature or something?

I have a scene and when i open a new tab or go to another instance of the browser and then come back to the papervision scene it Reanimates in .. the whole camera moves or the viewport.. I have nothing in the code that does this..

anyone know if i can disable that?

Switching Scenes And Switching Back
I have a main flash movie with another scene. The second scene is called upon by an on press command. The second scene then loads an external .swf file. I'd like to have an on press command that then will take me back to scene 1 of the original flash movie.

I'm lost...

thanks.

Alt Tabs
I am looking in the future on trying to turn my hand to flash. BUT as my web site is based at people with disabilities i need to provide alt tabs for images etc is this possible with flash? As i have heard it isnt.

Tabs Are Gone
Newbie somehow lost the tabs at the bottom and right side of workspace that minimize properties and right side windows. Tried everything I can think of with no luck. I'd appreciate any help you can provide. TIA.

Tabs
In Flash 8, is there a way to set Tab points to format text like you can in AI?
I have some tables to display... any easy way of doing this other than creating multiple 'skinny' text boxes?

Tabs
Ok, so i was looking at flash tutorials and stumbled upon one about creating tabs in flash and decided it would make a great navigation system for a new project i'm doing. The address to the tutorial is
Here
I decided to add next tab/ prev tab buttons. They have an instance name of "next" and "prev". Can anybody help me with the AS on this one?

Cheers in advance,
Cus.

CS3: Where Are The Tabs?
Save my sanity. In Preferences, there should be an option for "Open files in new tab," and in the Window menu, there should be an option for "Combine as Tabs" just below Cascade and Tile. My CS3 has neither -- is it me or CS3?

Tabs
Ok, so i was looking at flash tutorials and stumbled upon one about creating tabs in flash and decided it would make a great navigation system for a new project i'm doing. The address to the tutorial is
Here
I decided to add next tab/ prev tab buttons. They have an instance name of "next" and "prev". Can anybody help me with the AS on this one?

Cheers in advance,
Cus.

Tabs ?
I would like to create a dynamic tab system in Flash but don't know where to begin. Does anyone have an idea how should I begin?

Thanks.

TABS & LEVELS
HEY ALL.

I have 3 input fields that tab fine in the _root level but when I load it to any other level than the _root it doesn't tab. Yes, I change the location from _root to Level"whatever" and it still seems not to work.

Has anyone else had this problem or know if there is a fix?

I even keeped it simple by having just 3 text fields and nothing else and it doesn't work.

Thanks
Take Care

Using Tabs In Flash
Hello,
I have another question! I am having multiple text fields and I want the user to use the tab key to jump to the next field. But when I try using the tab it jumps to any random field not going the linear way! Kindly help on this issue.

nixthinx

Tabs In A Form
Is there any way to specify the order of tabs in a flash file? I've got a form which I'd like to be able to tab through - but the tab formula takes me to a button off in the top right. Much obliged for any help from you know it all gurus.

Tabs In Textfield
why do tabs not appear in my dynamic textfield like I edited them in my text-file?

Any solution?

Imitating Tabs
Hello all,

I'm quite new to flash, and would like some help implementing some designs in my flash movie... basically, i would like to have 3 pages on top of each other in the clip, that are accessed by pressin a button on the tab of the page to be displayed... my question is:

How do i get the chosen page to appear at the top AND change colour, and get the "de-chosen" page's tab to change colour back? e.g. if the top page is meant to be white, then get the chosen page to turn white as it comes to the forefront, and the previous page's tab to turn black as it goes to the background...

i'm guessin that'll need actionscript to say: "if button is pressed, change the page to "white" and other pages to "black" "... but i don't have a clue how to code that...!

I hope this makes sense... and thanks for your help...

Haider

Using Tabs In A Textfield...
Hi,

I have a multiline input textfield. Now, is it possible to use tabs in this field. Because when I hit the tab-key the focus will go to another field. But that's not want I want, I need a tab!

Thanks in advance!

Order Of Tabs
I have created a form in flash and I wanted to know how to set the order of tabs so that when you are tabbing through the fields you can direct which field to go to next. Can this be done in flash? if so how?

Thank you

Tabs And Forms
Hi

I have a simple form in flash. When I tab through, the cursor not only jumps through my form fields but also through my buttons - pretty anoying.

Any ideas anybody? Thanks a lot to whatever idea...

Uwe

Someone Must Know - Menu Tabs?
Good Evening,

I have posted a similar thing before in another forum but to no avail. I am playing around with creating my own menu tabs using the template that comes with Flash MX. So I found out how to edit the text, text font, color and size of the buttons, but somewhere in all this I could not get the dynamic text to be centered on the buttons anymore. What should I do to go about and fix them? I am checking the XML file but I don't think there's any problems there.

The new tabs for the menu are bigger now and so is the text, but I'm not certain how the text positioning works with menus - is it something to do directly with the text size/font or is there something i physically need to change in my button animation or placing on the screen somehow? Basically the text is running off of the mid point vertically down the button and off the button length to the right so the letters end up overlaying the next button's text...

Or do I stay away from the templates and try to create everything from scratch? I'm hoping some kind individual out there can help me. Thank you!

Folder Tabs?
Hey Everyone:

I am building a new website and want to make a top story section on the home page. I would like it to have folder tabs. Say one tab says "Top Story." Another says "Photos," etc... For example, check out the Philadelphia Eagles website... www.philadelphiaeagles.com. Something to that effect? Can anyone help?

Chris

Tabs Go Up But Dont Go Down
I have a five "page" flash site that have five tabs/links. all of these five are their own movieclip. When you hover over one tab the tab runs some script

Quote:




on (rollOver, dragOver) {
gotoAndPlay(2);}
on (rollOut, dragOut) {
//if (_root.jim == 1){
//stop();
//}else{
gotoAndPlay(10);}
//}


on (release) {
_root.link = 1;
_root.play();
//_root.jim = 1;
//_root.jimm = 1;
}

///////and on the second tab\\
on (rollOver, dragOver) {
gotoAndPlay(2);}
on (rollOut, dragOut) {
//if (_root.jimm == 2){
//stop();
//}else{
gotoAndPlay(10);}
//}
on (release) {
_root.link = 2;
_root.play();
//_root.jim = "2";
//_root.jimm = "2";

}




Understand what I am trying to do here? hopefully. I am not very AS experienced and this is probably easier than my mess but in the mean time...

See attachment for movieclip timeline

lines without comment dashes are how it runs normal. tab pops up when you roll onto it and then drops down when rolled off. with the code non commented the tab will stay up when clicked. This is great, what I want. However when I click the second tab, it stays up but so does the first tab. However, if you roll over the first tab it will go down. Therefore it is like the first tab movieclip is not getting refreshed until I rollover it again so it can see that the variable has changed. Get what I am talking about.

Question
So my question is how can I make it when I click another tab the previous one goes down? The code just needs to be refreshed really, but I dont know how?

Problems With Tabs
I was wondering if anyone could point me in the right direction for this issue?
I have a tabbed menu that loads a different swf movie on mouse over it works fine going left to right but will load the default movie when going right to left unless I come completely off the tab.

Thanks

Flash And IE7 Tabs
Hello, I am working on a site and to keep it simple I decided to make it both flash and regular html...
So the flash section has a main flash movie which loads a intro then goes onto "Scene 1" and fades the websites header in and loads the main pages movie,... then when you click around the site the main flash movie just loads various page movies... so what I wanted to do is be able to load any page on demand without running through the intro and the first page then having to click the link within flash to get to the page I wanted to goto.
So i setup the movie to accept a variable "thePage" and if that variable is defined it skips to Scene 1 and frame 45(after header has been faded in)... then it loads the swf file that i have sent with the variable.
So that works fine on IE7 but when I right click the link and click "open as new tab" it doesnt skip the intro nor loads the movie.
Anyone have this problem before?

Building Tabs ...
Ok .. the skinny:

I have 3 tabs and a mainBox. I would like whatever the active tab is, to be on top of the mainBox, and the rest underneath.

Here's what I got:


Code:
tabSpacing = 3;
tabBegin = 518.5;
tabDent = 6;

tabX = 0;
tabY = 0;

var tabs:Array = new Array();
////////////////////////////////
tabs[0] = "Tab 1";
tabs[1] = "Tab 2";
tabs[2] = "Tab 3";
////////////////////////////////
startTab = 1;
////////////////////////////////

for (var i = 0; i<tabs.length; i++) {
chatTab = this.attachMovie("tab", "chatTab" + i, i);
tabW = chatTab._width - 7.4;
chatTab._x = tabBegin - (tabW + tabSpacing)*i;
chatTab._y = 6;

if(startTab == i) {
chatTab._y = 0;
}else {
chatBox.swapDepths(chatTab);
}

}
I'm not too sure what I'm doing wrong here ... and I haven't even got into clicking the tabs to make them active and on top! hmmm ...

Navigation Using Tabs
Hot on the heels of my previous thread (my brain really is mush today and i need quite a bit of help!)

I have a book with flipping pages, which also has 2 tabs.
i want the tabs to navigate to a specific print in the book. eg. the user is looking at print1, clicks on the tab and is taken to print5. Any ideas?

Any help would be greatly appreciated.

Thanks in advance

Heres the fla

Flash IE7 Tabs
When opening a new window with JavaScript, if the user is using IE7 and has it configured to open a new window in a tab, after the tab is createdit will gain focus. There is no way around this behavior using JavaScript.

However I have noticed that some ads that use Flash will create a new tab and not come into focus. (ie. NYTImes.com WashingtionPost.com). The page that opened the new tab stays in focus and the ad tab is created behind it.

Can anyone describe how this is accomplished?

Thanks in advance for your time.































Edited: 10/25/2007 at 05:46:32 PM by NYFlash101

Sliding Tabs
I'm having difficulties trying to create a special type of sidebar style navigation. I'm wanting to have each pages info on a tab(page) that's laid out like a folder system in a file cabinet. When a user clicks on the tab on the left, it pulls out to the right to expose the content. When the user clicks either on the tab again or another tab in the navigation, the existing tab(page) returns smoothly back to it's position and the newly selected tab pulls to the right to expose the next content selected. I'd prefer to do this with actionscript to keep the file size small. Any ideas?





























Edited: 09/11/2007 at 03:52:44 PM by split67

Bouncing Tabs
I have a panel that has tabs that pop up, eventually they will represent buttons, I have the tabs popping up through tweening, but I want to have the tabs bounce up like an elastic effect. I think is done with ActionScript.

I have attached my file.

Any ideas?

Missing Tabs? Help
As you can see one the picture, the tabs is missing on all the panels???
ANYONE KNOWS HOW TO GET EM BACK!?

thanks in advance

Firefox Tabs
i use the middle-click method of opening and closing tabs in firefox but it doesn't work for links in flash apps. is it possible to add this functionality to flash apps using actionscript? of course, this would only apply to getUrl links.

How Do I Make These Tabs?
Check it out! http://www.foodtv.com/

Sliding Tabs Nav
Hi everyone,

There's similar posts out there but none have been able to solve my problem.

I'm trying to create a sliding tabs nav. For an example go to

www.howster.com/work/cytest

Click on the orange section and then try rolling over the nav on left hand side. It's supposed to grow and push the other buttons aside. Once you click on that section, the transition to that section will occur and that particular button will STAY expanded until you click on another section. Does anyone know of any tutorials for this? Or can anyone lead me in the right direction for the concept? Thanks guys!

Building Some Tabs ...
Ok .. the skinny:

I have 3 tabs and a mainBox. I would like whatever the active tab is, to be on top of the mainBox, and the rest underneath.

Here's what I got:


Code:
tabSpacing = 3;
tabBegin = 518.5;
tabDent = 6;

tabX = 0;
tabY = 0;

var tabs:Array = new Array();
////////////////////////////////
tabs[0] = "Tab 1";
tabs[1] = "Tab 2";
tabs[2] = "Tab 3";
////////////////////////////////
startTab = 1;
////////////////////////////////

for (var i = 0; i<tabs.length; i++) {
chatTab = this.attachMovie("tab", "chatTab" + i, i);
tabW = chatTab._width - 7.4;
chatTab._x = tabBegin - (tabW + tabSpacing)*i;
chatTab._y = 6;

if(startTab == i) {
chatTab._y = 0;
}else {
chatBox.swapDepths(chatTab);
}

}
I'm not too sure what I'm doing wrong here ... I feel like I'm pretty close though ...

Disabling Tabs In MX 2K4
Is there a way I can disable tabs (and replace it with 4 spaces) in flash MX 2k4? I'm working on a project that requires us to use spaces instead of tabs - and I kind of hate Flash Develop and Sepy

XML Linebreaks & Tabs
hi,

when sending a var to be writen down on a xml doc. (using php) how can i get it well with the linebreaks and tabs between each node?

like this:


Code:
<?xml version="1.0" encoding="iso-8859-1" ?>
<xml>
<setChar char="c" pos="0" />
<setChar char="o" pos="1" />
<setChar char="m" pos="2" />
</xml>
insted of this:


Code:
<?xml version="1.0" encoding="iso-8859-1" ?><xml><setChar char="c" pos="0" /><setChar char="o" pos="1" /><setChar char="m" pos="2" /></xml>


(..long time from my last post )

Menu Tabs
I have created a menu tab from one of the templated that come comes with flash.

How do I place this menu tab into dreamweaver?

I have published and published it as html, swf and a windows exe, but that didint work.

What do i need to do?

Thankyou

Bouncing Tabs
I have a panel that has tabs that pop up, eventually they will represent buttons, I have the tabs popping up through tweening, but I want to have the tabs bounce up like an elastic effect. I think is done with ActionScript.

I have attached my file.

Any ideas?

Missing Tabs? Help
As you can see one the picture, the tabs is missing on all the panels???
ANYONE KNOWS HOW TO GET EM BACK!?

thanks in advance

Firefox Tabs
i use the middle-click method of opening and closing tabs in firefox but it doesn't work for links in flash apps. is it possible to add this functionality to flash apps using actionscript? of course, this would only apply to getUrl links.

Issues With Tabs?
I have a question related to Flash and tabbed browsing:

Some web browsers will begin playing a flash animation before the tab it is loaded in becomes active.

How do you ensure a flash animation will not begin playing until the tab in which it is loaded becomes active?

Thank you.

Tabs In Flash 8
Hello,
Can anyone have any suggestions....
I made a form in Flash 8 and when the user wants to move on the form using the tab ( from the keyboard) the sequence is not the proper one..
So, my question  :
Is there a way (in Flash 8) to set the order of which the tab should moves around my form?
Thank you.
Paola

Problem With Tabs
How do I set the tab ordering in buttons. I know this is possible but Im not yet familiar with actionscripting. Can you give me some examples.
thanks in advanced!!!

Tabs In An Array...
I have tabs on the stage and have added each to an array.

Then I assign a function to the RollOver state to stack the tabs so that the one the mouse is on would be on top and the rest would 'fan' back on either side.

But it's all wonky!!!

Here's the code: (It should work in theory :P)
Code:

stop();
var home:MovieClip = this;
var tabs:Array = new Array();
tabs.push(aBtn);
tabs.push(pBtn);
tabs.push(dBtn);
tabs.push(cBtn);
var number = 0;
var mNum = 0;
for (var tb in tabs) {
   home.attachMovie("masker", "msk"+mNum, home.getNextHighestDepth()+10, {_x:88, _y:42});
   tabs[tb].setMask(home["msk"+mNum]);
   tabs[tb].order = number;
   tabs[tb].onRollOver = function() {
      home.topper(this.order);
   };
   number++;
   mNum++;
}
function topper(num) {
   dp = 750;
   dp2 = 760;
   for (var j in tabs) {
      tabs[j].swapDepths(dp2+tabs[j].order);
   }
   ddp = 0;
   for (i=num+1; i<tabs.length; i++) {
      tabs[i].swapDepths(dp-ddp);
      ddp++;
   }
   for (i=num-1; i>0; i--) {
      tabs[i].swapDepths(dp-ddp);
      ddp++;
   }
}


Here's the FLA: http://www.resistdesign.com/media/menu.fla

Pleasum you helps me :shock: :shock: :shock: :shock: :lol:

Custom Tabs
Hi All..
I'm trying to create components.
I have almost created all the components.
I have also created the vertical tab.
But When I'm using vertical tab component with all the other component in a same application then this vertical tab creates problem.
Problem in the sense the text is not able to set.
Any one can Help.

It's the last component..

Dynamic Tabs
Hi

Is it possible to create a dynamic tabs in flash? Like it will create tabs depending on how many you set them...like creating an array of tabs, so that whenever you need 3 tabs or more it will automatically create its own including the text for each tab.

Please help hope someone can provide me a tutorial on this or a walkthrough.

Thanks

Help With Auto Tabs.
How can I make a form style page auto tab to the next indexed input box after the max characters has been entered in the previous? I have set up the tab index but would like to make it more user friendly so there is no need to hit the tab btn between fields. thanks for any help.

Tabs Style Menu
I'm sure it is really easy to do but I just can't figure out how to go about doing a tab style navigation menu like at:

http://launch.yahoo.com

http://www.pczone.co.uk

Any help would be appreciated. Thanks.

Tabs In An Xml Text Node?
Hi everyone,

I am trying to load an external xml file that contains the following..

<TEXTFORMAT TABSTOPS='30'><text>this is some text the tab should start here this text should be tab over</text></TEXTFORMAT>

When I load this into flash for some stupid reason flash puts an extra "" in front of the tab " "?

This then causes the tab not to work, and I end up with a " " appearing in the middle of my dynamic text field when the text

should infact be tabbed over?

Does anyone have any ideas of how to get " " tabs in xml text nodes into flash?

Any help would be much appreciated

thanks,

grandmasterC

Sliding Tabs Menu
hey all,
I am stuck - I am building a sliding tabs/drawer type menu. Nav from array, and each nav item slides the main tab (tab0.submenu0) menu out to reveal the sub menu ["submenu"+i] belonging to each nav item . The sub menus slide in and out depending on which nav you click.... my problem is... I want the main tab ie. submenu0 to slide back in and out again with each sub nav...and I can't seem to make this happen... ANYBODY?
I can slide submenu0 back in from a button by placing the code
_root.selectSubMenu(0);
_root.menu1.tab0.submenu0.targX = 0;
but how do I do it from the array nav?

I may be missing something basic here!?!
much thanks for any help!

function selectSubMenu(navChoice) {
subMenu = _root.navsection.length;
trace("nav has fired subnav "+navChoice);
_root.currentSection = navChoice;
for (i=1; i<=_root.subMenu; i++) {
_root.menu1.tab0.submenu0["submenu"+i].targX = _root["submenu"+i].homeX-250;
//_root.menu1.tab0.submenu0.targX = _root.submenu0.homeX;
_root.menu1.tab0.submenu0["submenu"+i].onEnterFrame = _root.moveMe;
}
_root.menu1.tab0.submenu0["submenu"+navChoice].targX = -50;
_root.menu1.tab0.submenu0.targX = 80;
_root.menu1.tab0.submenu0["submenu"+navChoice].onEnterFrame = _root.moveMe;
_root.menu1.tab0.submenu0.onEnterFrame = _root.moveMe;
}

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