?
Solved

Flash combo box items disappear

Posted on 2009-04-19
2
Medium Priority
?
364 Views
Last Modified: 2013-11-11
I have a SlideShow Pro player on this page but this is a problem unrelated to SSP. I also have a combo box that is filled with items from the id's in the images.xml The layer for the combo is at the very top under Actions. Under that I have a FAQ button that, when clicked we go to frame 10 showing a help menu. Clicking the "x" (close) image in the help menu shoots back to frame 1. This is where the problem begins. As soon as we go back to frame 1, the combo box loses all items. The demo site is here: http://semanasantaphotos.com/gallery.html

Frame 1 carries most all Actionscript but the button scripts are on the buttons themselves.

I am not well versed in AS. The code is pieced in.
//FRAME ONE:
//Fill combo box with  xml albums
var albums = new Array();
var dataListener:Object = new Object();
dataListener.onGalleryData = function(eventObject):Void {
   for (i=0;i<eventObject.data.length;i++) {
      albums.addItem({label: eventObject.data[i][0].title, data: eventObject.data[i][0].id});
   }
}
my_ssp.addEventListener("onGalleryData", dataListener);
nav_cb.dataProvider = albums;
 
var changeListener:Object = new Object();
changeListener.change = function(eventObject){
   my_ssp.loadAlbum(eventObject.target.selectedItem.data);
}
nav_cb.addEventListener("change", changeListener);
-----------------------------------------------------------
// HELP BUTTON SCRIPT:
 on (release) {
	gotoAndPlay(10);
}
-----------------------------------------------------------
CLOSE BUTTON SCRIPT
 on (release) {
	gotoAndPlay(1);
}

Open in new window

Demo.jpg
0
Comment
Question by:teelions920
  • 2
2 Comments
 

Accepted Solution

by:
teelions920 earned 0 total points
ID: 24184280
Found an answer. Please delete.
0
 

Author Comment

by:teelions920
ID: 24184294
The answer was that I went back to frame 2 instead. That seemed to work.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to how to record live broadcast.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question