Link Combo Box To Different Frames?
Jan 12, 2010I know how to link a combo box to url's but i need to be able to link the data to different frames in my project.
View 7 RepliesI know how to link a combo box to url's but i need to be able to link the data to different frames in my project.
View 7 RepliesI'm using a combobox to jump to different frame lables. Nothing is working. Here is my code:
menuCombo.addItem("Home", "Home")
menuCombo.addItem("About Us", "About Us")
menuCombo.addItem("Products", "Products")
[Code]....
It might be something simple I'm doing wrong.I have an array populated by XML in a function by doing the following inside the function:
first_special.addItem({label: xmlMenuFile.item.headers[i],data:
xmlMenuFile.item.descriptions[i],data2: xmlMenuFile.item.hints[i]});
The problem I'm having is trying to figure out a way so that the "data2" will fill the text field "hint_txt" on ROLL_OVER of that items name in the list.I've tried to placing an event listener into the function that populates the combo box .this populates the combo box label and data with the Loaded XML File. This works
function changeHandler(ev:Event):void
{
menuText_mc.heading1_txt.text = ev.currentTarget.selectedItem.label;[code]......
I've got a Flash page that has links as Movie Clips (Link1-8). The links are to different services, but right now they link to an external website. I'd like to make these link to different frames of another Movie Clip on the same page (Scrolling_Page).I'm not sure how to go about doing this, as all advice I've gotten hasn't worked thus far. It still just opens up a browser window and says it can't display "undefined".I've included the .fla in case no one can understand my gibberish.
View 3 RepliesI have two combo boxes. The first combo box's data is added through an XMLConnector object, the second combo box, I would like to populate through an on (change) event in the first combo box. The items in the second combo box would relate to the selection made in the first combo box.
I have attempted the following within the Actions for the first combo box:
on(change) {
switch(this.value) {
case "value1":
comboBox2.addItem({Label:"Label",Data:"Data"});
break;
} // end switch
} // end event
which is not working.
should an event be dispatched by comboBox1 and a listener be attached to comboBox2? I can't find any examples of this on the internet.. but i might be using the wrong search terms.
Im making an "intro" for a website.. first some picture come in and when you click one of them all picture goes to bottom of the flash.. My problem is: I need it to Frist. gotoAndPlay "the frames" THEN link.. the "movie" takes about 3 secounds.. Is there some sort of code i can use to "tell it to wait" and then link? this is what i got so far. (i know its wrong hehe)
knap.onPress = function()
{
gotoAndPlay(42);
}
if(knap._currentframe < 84) {
trace(lala);
} else {
getURL("/1_profil-.htm","_self");
I want to create a preloader that plays a certain amount of frames as it loads the rest of the frames. So, I have labels on the frames basically and need a preloader to play the "loading" frames as it is loading the "content" frames. Does that make sense? I have no idea how to even start this one... p.s. I am using AS 2.0, but if it can be done in 3.0 easier, I can switch over its no biggie
View 4 Repliesthere seems to be no accepted method of playing multiple flv using buttons. My latest attempt has me putting multiple instances of the flvPlayback component in different frames and using buttons to navigate to those frames. It works but nothing anyone has posted anywhere will result in removing the flv when you go to a different frame and instance. This was simple in AS2. Load movie to a traget and each time you load a new movie the other one goes away. REALLY goes away.
View 7 Repliesbasically im making a quiz on my main timeline ive got my questions and answers and on the last frame i want it to say how many answers the user got right. ive made a movie clip on this last frame. in the movie clip ive got 11 frames with the posible totals so frame one would be 0/10 frame 2 would be 1/10 etc what i want to do is when the user clicks the correct answer on the other frames i want flash to make the frames within the movie clip to go 1 step forward.
View 2 RepliesI have a function that counts days and some other variables and displays the values via dynamic text.
[Code]...
I have to place the incrementCount(): function every 12 frames so that it increments the values. Seems like it would be easier to simply modify the script to count "every 12 frames" but I can't find anything that tells me how to "count frames" in flash. Seems to be this is probably basic but I've searched unsuccessfully....so how do you do this. How do I get my script to work so it's frame based so I don't have to put incrementCount() every 12 frames?
Is it possible to have an movieclip of about 50 frames and navigate between these 50 frames? As if u put a marker on frame 10 and one at frame 30 and if u use a button it plays to frame 10 and stops and use another button to go from frame 10 to frame 30 and stop... and reverse if u use the earlier button.
View 5 RepliesI want to preload all of the voiceover swf files before a lesson starts so that they are instantly available when each frame / page that incorporates a voiceover is first visited.
View 4 RepliesHow to change a link inside the flash element? I have SWF file with set a link inside and I want to change to mine on the website. This thing I need to control the advertisment system.Trying this, but not working:
<style>
#content {
position: absolute;
z-index:2;
[code]....
But you need everytime to put top, left, margin-bottom parameters. Can someone modify it to make working correct without pointing top, left, margin-bottom parameters?
i made a video player with the xml playlist , it's a video channel indeed, it's embed swf in html. but my boss would like me to put a link on the web, when user click the link, it would directly play the specific video inside the video channel. is it possible to do it without server side script but javascript?
View 1 RepliesI am new to Flash. I bought a template online a couple weeks ago, and for the most part have made all the changes to personalize the page. The page is for wedding videography, and came with a Videos section. However, I do not like the template video player, and would like to have the Videos link on the menu bar go straight to my youtube channel rather than to the flash player. Primarily all changes to the template have been made in a text.txt file, rather than the flash file itself. My question is, how could I change the link on the main page to route to my youtube channel? Here's what it looks like in the text file:
[Code]....
I am literally at the end of my wick with this one! Here's the skinny, so to speak:
home.swf
products.swf
button line mc
[code]........
I have a datagrid with different types of columns, like I have checkboxes, combo boxes and text Inputs as the column types. Now I want one of the column type to a link, with the label "view". All the rows in that column are link with the same label "View" and on clicking it, I want a Pop up window to be opened?
This is my code:
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%">
<mx:Script>
<![CDATA[
[code]....
I didn't know how to bring a link in the datagrid. So used the Text control to display the "View" label. Now If I click this item, "View" in the datagrid, I want the Pop up function, i.e.,defectCommentsPopUp() to be called.
i have created a flash animation for my homepage, i want to make part of that flash animation a "enter" button so when clicked would go to my page 2 on my website.
i have never done any script before and only used dreamweaver on a mac. is there an easy way to create this button to link to my next page and to stop my file to stop looping?
I've created a flash naviagation menu and currenlly my links will open a pop up window. I don't want this. I want it to open the link in the same window. Here is the code for one of the links:
var home:URLRequest = new URLRequest("index.html");
function homeDown(event:MouseEvent):void { navigateToURL(home,"_self");}
button_home.addEventListener(MouseEvent.CLICK,homeDown);
I have created a small application which takes it's information from an xml file and displayes it in a news ticker which is a flash Flash AS2 application. tell me the correct way to format the link tag in the xml if there is a standard when wanting to state a target for the link? The xml file currently looks like:
<newsTicker>
<item>
<header>Test Message 1</header>[code]....
So what I want to do is to be able to open the link in a taget=_blank window however adding that to the end of the url does not currently work.I have added a comma and also tried using a space, space and encompassing in quotes but none are working.
i created my subMenu buttons fine, however i only know how to link them to a picture/url address, my goal is to have the user click the subMenu button and open the image or page right below the menu bar in the "stage" area of flash. I read about IFrames but i'd rather create the whole site in flash .Here is the code for my subMenu...
btn_34th.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("images/34th.jpg"));
trace("I'm Clicked!");
Again, this works fine, i just want to have the image take up the "white" space on the stage area, very similar to an IFrame.
I connected the flash with php framework, click the menu button while the other has always been a double-link examples:[code]
View 3 RepliesI have a combo box in swf B which I load in swf A.1: If I test swf B the combo box fills ok and expands ok. If I test swf A which loads swf B the combo box appears with data in it. But it does not expand.
View 2 RepliesI am new to Flash and I can find out how to make something happen when a selection is made in a combo box. All I want to do is go to the next frame when a selection is made, but I can't use on(release), because I keep getting "this is not a button" errors.
View 1 Replies What script can reset a combobox ? After the user submitted the form all the information needs to go. I found how to do it for the field text and the checkboxes but not how to reset the combobox.
e.g. working;
txtfirst.text = "";
workshop1_box.selected = false;
combobox = ???
Im looking to have a combobox dropdown with the name of an operating system along side its logo ie Image -> Red Hat 5 This is my code so far
[Code]....
ok I am having an issue with a combo box being inside a MC.
when I click to have it show the list everything shows up fine. but when I select the item the combobox shows blank but the item is still showing as selected via actionscript checking it.
I currently have a combo box in my movie. The selections are 1, 2, 3, and 4. I would like to generate another X combo boxes of the same structure based on that number. I.e. Someone choose 2 in ComboBoxA. So 2 of ComboxB's are generated below that.
View 1 RepliesI need to pass items through script. or taking from xml
View 1 RepliesI have read several posting on this site and others. I can't seem to find the right solution to get my combo box to work. I am publishing for Flash player 10 and AS 2. The final file will be imported into a Articulate/PPT file.
I am simulating a form that my audience needs to fill out. For 2 text fields, I am using a combo box to allow them to select the proper input. If they leave the form screen, I need to save their answers so they do not have to start from the beginning. I am using global variables.
My problem occurs, when I try to populate the combo box using the audience's previously selected response. I have tried using setSelectedIndex. It works to the extent that the choice indicated highlights in the combo box, but the actual selection is not appearing in the text area. Do I need to set Combobox.text = selection?