ActionScript 1/2 :: Chapter Selection With A Combobox?

May 27, 2010

I have made a flash player that get the movie from a seperate server. There are also some slideshows that depending on time in the movie chances so the pictures are relevant with what you are watching., this pictures chanses with the from a xml file. I would now also like a Combobox that works as a chapter selecter. I have "made" the combobox and the text that i have in the xml shows up however now i cant get the combobox to work

View 5 Replies


Similar Posts:


Flex :: 3 - Combobox With Multi Selection

Jun 15, 2010

I have a combobox with multi selection. when i click on add button, which ever data is selected in the Combobox, those data has to be displayed in the another comboBox.

[Code]...

View 1 Replies

ActionScript 2.0 :: Setting Selection Of A Combobox?

May 13, 2008

Is it possible to use AS2 to dynamically set the current state of a ComboBox?I'm loading variables from an external file, and I need the ComboBoxes to reflect the selection that comes in.

View 3 Replies

ActionScript 2.0 :: Combobox Won't Allow Selection Of 1st Item?

Oct 18, 2009

Like the title says I can't seem to get my combobox to allow the first item to be selected after loading.If I select any other item in the list it works fine and I can immediately come back and select the first.Seems like strange behavior but as this is my first project using the combobox I'm hoping it's something I've overlooked or just didn't realize I needed.Here is the code I'm using

Code:
comboBox.getFocus();
// Create Listener Object.

[code]......

View 1 Replies

ActionScript 2.0 :: Combobox Component - Each Selection With Own Value

Sep 13, 2003

I'm trying to make a simple drop down list where each selection has its own value. I have a combobox with the following parameters.
Editable = false
Labels = choice1, choice2
Data = 0,1
Row Count = 8
Change Handler = blank

I have an instance name of "type" on the component. Now I have a dynamic text field with a var of "price" and on the first frame of my movie I have this code
if (_root.type == 0) {
_root.price = 10;
}
if (_root.type == 1) {
_root.price = 20;
}
But its not showing these values in my text field when I select those choices.

View 11 Replies

Flex :: Combobox Selection Inside Datagrid?

Mar 1, 2011

I have a datagrid.In this datagrid I have a combobox item editor. This datagrid also has multiple columns where a user inputs numbers in each column. These numbers are then calculated by formula where the sum is posted in the "total" column. In this combobox there are two options for the user to choose from and each option has a different formula for calculating the inputted numbers. What I want is for when a user chooses "option 1" one formula is used to do the calculation, when "option 2" is chosen by the user then formula two is used to the calculation.Here's an example:

Combobox Option 1 (formula 1) is chosen by user = (Column2 - Column1) x column3 = "total" column
Combobox Option 2 (formula 2) is chosen by user = (Column1 - Column2) x column3 ="total" column

I realize you would use a conditional such as "if else" statement, but im just not sure how to do it. I've been trying to implement this for a while with no success.

View 2 Replies

Flex :: ComboBox Selection Doesn't Recognize

Apr 19, 2011

My code snipet looks like :

[Code]...

Do you have idea about the reason for that error and how to prevent it? N.B. The code that triggers this error is as a result for click handler. If before encountering this error change the selection on my yearsCb, everithing is fine. EDIT: I forget to specify that this error is thrown when it is a selected item in my ComboBox. It seem that after container that holds the ComboBox loses the focus, it doesn't recognize it's ComboBox child as having a selected item anyway (this problem arise only after the modal popup close.).

View 2 Replies

Actionscript 2.0 :: V2 ComboBox Not Showing Current Selection?

May 5, 2008

I am building a website for an online store in Flash 8. I needed to use a dropdown menu for selecting the size of a clothing item, so I just used the default ComboBox component. I thought it was working fine, until I came across a strange bug (with the component, or my own code) where the ComboBox was not showing the current selected item.

The dropdown's list works, and shows all the options, but if you click on one, it doesn't get displayed as the current selection in its TextBox. The weird thing is that it still works fine, and I can access the data ok. If I use myComboBox.text I can access the current selections text, even though Nothing is being displayed.

Has anyone come across this before, and has any suggestions for what I am doing wrong.

A few details: Here is the actual code I am using to load the options into the ComboBox: Code: Select allvar my_cb:ComboBox = this.pages.product.size_comboBox;
my_cb.removeAll();

var sizesList:Object = productData[categoryID][productID]["sizes"];
for(var s in sizesList){
my_cb.addItem({data:s, label:sizesList[s]});
}
my_cb.redraw();

There are a number of other things happening the same time as its adding the items to the comboBox, e.g. loading images, creating movieClips, etc. Could loading this be causing the comboBox to not function properly.

View 2 Replies

ActionScript 3.0 :: Submit Selection From Combobox To Database?

Jul 19, 2010

I have a flash component comboBox which populates elements from an XML file, and I want the selection to be submitted to a MySQL database using PHP.

View 2 Replies

ActionScript 3.0 :: ComboBox Selection To Update A DataGrid?

Nov 6, 2010

I'am trying to create a Flex Application where users can select courses from a combo box based on the department that offers the course. The combo box has an XML variable as its data provider and has the different departments listed. When a user selects the department from the combo box the courses offered for that department should automatically update (show up) in the data grid under their respective columns. What it needs to do is retrieve the XML for the selected department and then set the data provider for the srcgrid accordingly. I am having a lot of trouble with things displaying correctly in the data grid. The course should be under Course ID, course name under Name, etc...

HTML Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[

[Code]....

View 1 Replies

ActionScript 2.0 :: When A Selection Is Made In Combobox 2 A Link Will Appear For A Download?

Dec 5, 2007

We've all been to driver download pages where you select your model from one combobox list and then that choice populates the next combobox of choices and then that combobox choice spawns a link to the driver.Combobox 1 will display a list of 14 items. Each item in that list has a subset of 3-4 items that will appear in combobox 2 once a selection is made. Then when a selection is made in combobox 2 a link will appear for a download

View 1 Replies

ActionScript 3.0 :: Setting ComboBox Default Selection Using Data Field?

Jul 20, 2009

I've got a comboBox with defined data and label fields. On Event.CHANGE I capture the data field. I need the comboBox to default back to the user selection if they should navigate to another screen and then come back. Normally I've got an array of labels that I can use to just lookup the index: comboBox.selectedIndex = labelArray.indexOf(user selection); In this case I don't have labelArray. What I really want to do is something like this (only with real AS, not fake):
 
comboBox.selectedData = storedDataString or, if the data array is accessible: comboBox.selectedIndex = comboBox.data.indexOf(user selection); Is there an easy way to do this, or should I just suck it up and add yet another global label array?

View 2 Replies

Actionscript 3 :: Change Combobox Selection Based On Value In An Object In Flex?

Jun 14, 2010

how do i change the item selected in a combobox selection based on a selection of a datagrid object?

View 2 Replies

ActionScript 2.0 :: Populate A Combobox From A .php File And Return The Values Of The Selection?

Aug 16, 2004

I trying to populate a combobox from a .php file and return the values of the selection. I have the .php set up to where it outputs something like

&artists=anartist,anartist2,anartist3, etc..they have names..I already have the combobox set up to where it displays

anartist
anartist2
anartist3

after you click the dropdown arrow..How would I get it to return a the numerical value for the artist (ex: anartist would be "0" since it is first in the list) and put it into a variable so that when it is selected it could be placed into an eval() function to create a variable such as "albumcover0" to be loaded through a function. I have been reading tutorials for hours to no avail.I want a single function to produce the number from the selected artist and place it into a variable, then go through all of the loadImage(for the "album image") etc functions..they will be functions that I have made already previously and call all of them with the number in the called fuctions (ex: loadImage(0)) where "0" is the number derived from the variable out of the combo box.Ive tried tons of tutorials, I think that it has something to do with me using flash mx 2004, and as2 turned on.

View 9 Replies

Flex :: Flash Builder Show / Hide ComboBox Based Off Selection

Mar 29, 2012

Is it possible to show or hide a comboBox based off the selection made in another comboBox. I have been looking for documentation on this to no avail.

View 2 Replies

ActionScript 2.0 :: Combobox & List - Each Selection Triggers The Specific Xml File To Load Into The List Component?

May 10, 2007

I have a combobox and list component on the stage. The combobox has 3 selections. How do I get it so that each selection triggers the specific xml file to load into the list component? I can't get them to communicate to each other.

View 1 Replies

ActionScript 3.0 :: Chapter 19: Working With Motion Tweens

Mar 8, 2011

Though I find that chapter interesting and that I might have a legitimate use for it, it is a bit skimpy with details. I need to COPY MOTION TWEEN AS ACTIONSCRIPT on three different tweens (three different layers), but the tweens need to be perfectly synchronized.

View 4 Replies

ActionScript 3.0 :: Show Selected FLV Chapter Using Cue Points

Jan 18, 2012

I'm using the flvplayback component for my video player. i have additional buttons that seek to navigation cue points embedded in the video. all of it works, but i would also like to highlight the button of the current section of the video.i tried adding an event cue point just after the navigation cue points that triggered a movie clip to switch frames based on which event cue point it passes and that works as it should, but the problem is when a user clicks in the seek bar they can potentially skip the event cue point of that section, thus not triggering the movie clip to go to the appropriate frame. possible to put an event listener on the seek bar and then find the previous cue point?

View 3 Replies

ActionScript 2.0 :: LoadMovie - Skip To Next Chapter Within Level?

Feb 10, 2004

I have a main swf movie that loads other swfs into into level 1. The first is "intro.swf", next is "01.swf", "02.swf" and so forth... At the end of "introl.swf" the last frame says: [AS]loadMovieNum("01.swf", 1);[/AS] ... and it just goes through the rest of the loadable movies throughout playback... no problem. In my main swf, I have playback controls... I want to be able to control the swfs in a next chapter and previous chapter manner, so that I can skip to the next chapter at the press of a button....

Code:
on (release) {
if (_root._level1 == "intro.swf")
loadMovieNum("01.swf", 1);
else if (_root._level1 == "01.swf")
loadMovieNum("02.swf", 1);
[Code] .....

I am trying to basically skip to the next chapter within that level1 there.....

View 14 Replies

Professional :: Creating Chapter Marks In Flash File

Aug 2, 2010

In the past I have used PPro CS4 and Encore to create a DVD of clips which I show to clients. Each clip has a chapter mark so that I can jump quickly to the start of each clip. I now want to make a big Flash file of all the clips, with chapter marks which I can quickly jump to. But when I create the file from PPro, I get all the clips in one nice big file, but with no chapter marks. If I create it from Encore, it cuts the file into lots of little Flash files, the cutting points being the chapter marks. How can I create one big Flash file consisting of all the little clips, but with chapter marks which I can jump to?

View 3 Replies

IDE :: CS4 Jsfl - Fl.getDocumentDOM().selection Doesn't Retain The Selection Order

Nov 11, 2010

I never realized that fl.getDocumentDOM().selection doesn't retain the selection order... <sniff>. I was hoping to build relationships based on the order. I guess I took if for granted that tools like Maya and Max store the selection buffer in order of what was selected. I'm trying to avoid: Select Object, <Press 'Parent' Button>, Select Parent, <Press 'Parent' Button>

View 2 Replies

ActionScript 3.0 :: Create Installer For Flash App Where Content Is Distributed By Chapter?

Oct 6, 2011

I wanted to create an application installer (per chapter) like the one implemented on the product on this site:[url]...i have no problem creating flash apps but i'm so lost on making installers , like update installers for the same app.. the idea is that on first installation of my app, other contents are not available until the user downloads it from my site and install it on their pc. and that installer will just update the existing one with the new downloaded content.

View 1 Replies

ActionScript 2.0 :: Selection.setFocus Selection.getFocus Inputting From Mc?

Sep 6, 2007

i am attaching a number of _mc (my_mc) with a for loop. Inside each my_mc is an input textfield (my_txt)I want to click on my_mc.my_txt and select the textfield .the following code allow this and i can enter text from the keyboard however I want to add text from a _mc keybooard on screen (here called myBtn_mc).As soon as I click on myBtn_mc of course I lose focus ... i have tried to use a variable (select) to keep scope&focus

View 6 Replies

ActionScript 2.0 :: Flash MX Bible - Make A Multiplayer Flash-game In One Chapter?

Jan 12, 2003

Flash MX Actionscript Bible

1) Its supposed to make a multiplayer flash-game in one chapter. What kind of game is it?

2) Is the chapter on remoting any good? Can you btw use remoting with php, or is it only with servlets and net?

View 11 Replies

AS2 :: Create A Custom ComboBox - Test Movie - Combobox Has Become An Unclickable White Rectangle With No Label?

Aug 7, 2009

I'm using Flash CS3 and want to create a custom ComboBox. I've followed the steps outlined in "Editing component skins in a new document" (http:/[url]...), but every time I get to the step where I drag the ComboBox Assets folder from the HaloTheme.fla library into my library, if I test movie at that point my combobox has become an unclickable white rectangle with no label, button or anything.

View 2 Replies

Flex :: Setting A Custom ItemRenderer In A ComboBox On Specific List Items After Combobox Creation?

Nov 8, 2010

I'm trying to set a specific list item in a mx combobox to have a custom item renderer, the problem is that I cannot do this via mxml, it needs to be done via actionscript at a later stage, eg: combobox gets created, combobox gets populated, user does other tasks, combobox needs to set one or more items in the combobox to have icons (via item renderer)..

I can do this via the onChange event, but it only applies the icon when the combobox is opened and there is a slight delay so you can see the icon being added.

View 1 Replies

Validate Combobox In Flex Before Save Has To Select Some Item In A Combobox?

Mar 16, 2011

How can I validate there's a selected item in a ComboBox before saving? If there's no selected item, how can I set focus on the ComboBox?

View 2 Replies

IDE :: Warning - The Linkage Identifier 'ComboBox' Was Already Assigned To The Symbol 'ComboBox'

Dec 8, 2008

**Warning** The linkage identifier 'ComboBox' was already assigned to the symbol 'ComboBox', and cannot be assigned to the symbol 'GUI MC/Combo Boxes/abc', since linkage identifiers must be unique.**Warning** The linkage identifier 'ComboBox' was already assigned to the symbol 'ComboBox', and cannot be assigned to the symbol 'GUI MC/Combo Boxes/def', since linkage identifiers must be unique.

Both of my ComboBoxes has the same identifier.I could not change the identifier through the properties tab because it is greyed out.

View 5 Replies

ActionScript 3.0 :: Have Another Color Of The Selection?

Mar 1, 2009

how can i have another color of the selection?? i found nothing by using F1.

View 1 Replies

Height Selection Grayed Out

Jun 24, 2009

I am finding that my flash object is not displaying properly in preview or after export. I basically have a long restaurant menu that is 748 wide by 2039 high full of static text.  When I preview/export only the top 3/4 of the text are displayed, the lower end portion is blank.  This text field is layered on top of a background jpg, which lies of top of the stage.  I've made sure the stage's dimension covers exactly everything. My footer shows up properly, as well as the stage itself. Its just the lower portion of texts that is the problem.I should also mention that the height selection is grayed out with this text field I have.  I tried creating a new smaller text field but again, its grayed out.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved