ActionScript 2.0 :: MySql With A Drop Down List

Mar 23, 2007

If I have variables coming in to flash from a PHP script.

Whats the best way to populate a drop down list with these variables?

View 3 Replies


Similar Posts:


Best Way To List Online Users With PHP But Without MySQL?

Apr 21, 2010

I want to make a script that will list online users when they enter a page.Simple way is record newly entered users into MySQL and list them for example every second.But I don't think it's a good idea with tons of users like in a facebook app come in and out of the page.There would be a way with Flash and PHP sockets but I really don't want to use Flash either.So is there any option left?

View 2 Replies

PHP :: How To Store List Of Data (like Array) In MySQL Cell

Mar 2, 2012

Basically each row in my table is a different food. I have columns for basic things like description. But, I have a "ingredients" array, and "how much" array, in an array. Basically on my end I can go ingredientsArray[0] howMuch[0] to display the ingredient and how much of it. So, Id like to save both of these arrays in a cell for the row of the food. I heard I could serialize the array, and save it. But I need it to be searchable. (Also, there is no set limit to how many ingredients. So I cant like have a column for each thats why I am going the array route). I'm doing my programming in AS3, and usng AMFPHP to connect to Mysql.

View 4 Replies

ActionScript 3.0 :: XML Drop Down List

Jun 7, 2010

Does anyone have any idea of how to create a drop-down list with scrollbar. Pretty much like this one?url...

View 1 Replies

Flex :: Drop Down List For Air Mobile?

Mar 23, 2012

Is there any dropdownlist for flex mobile , which can be used for free in commercial app and not paid one

View 1 Replies

ActionScript 3.0 :: Drop Down List Rollover?

Jan 5, 2011

I want to make a drop down list menu which open when mouse-over not click as you can see I use

<sropDownList id="dl" rollOver="dl.openDropDown()" but the problem appears when I try to close it.I can't use this rollOut="dl.CloseDropDown()" because It will close too soon(When It open I've tried to move my mouse down to the sub-item but the list will close if I move to somewhere else that's not a list base so I can't select the item on the list because it close before I can)

[Code]...

View 0 Replies

ActionScript 2.0 :: Drag And Drop From List?

Jun 2, 2007

I'm looking for a way to drag names from a scrollable list and drop them into another area.From what I've read, it doesn't seem like I can use the List component if I want to achieve this, but I'm having trouble thinking of a way.Basically, I'm going to have a input text box that will be used to be populate the list. Then I would like the ability to drag the names from the list to a blank area.I was able to get it working with the input text box to populate the list, it was just the dragging part that caused me trouble.

View 12 Replies

Flex :: Enable Drag And Drop In List?

Oct 10, 2010

I have a Spark List with a TileLayout. I want to enable moving itemRenderers around to be able to order items.

View 1 Replies

Actionscript 3 :: Flex 4: Have A Drop Down List Of Checkboxes?

Oct 12, 2010

How would I get a drop downlist to populate with check boxes. I am porting a c# project to flex, and I would like to imitate the functionality of their checkbox drop list.

View 2 Replies

Flex :: Drag-and-drop Onto List Item?

Oct 21, 2010

I have a List with an item renderer and would like to enable drag-and-drop onto the items in the list, rather than adding the data to the list. Is it possible to find the item that is being hovered over when dragging?

View 1 Replies

ActionScript 3.0 :: Flex List Drag And Drop?

Jan 16, 2010

I have set up some lists (<mx:List>) in Flex... I have drag and drop working fine, in that I can move elements easily from list to list. For some reason though, my DragInitiator and the currentTarget of my event are the same... even though I am obviously moving from list to list... Does anyone have an example of a function that I can call on my "dragComplete" event that will tell me the current target which will give me the id of the List object I am dropping on?This is my current function which is always returning true...

Code:
private function _dropped(e:DragEvent):void
{

[code].....

View 2 Replies

ActionScript 3.0 :: Build A Drop Down List With Each Item Having A Different Font

Oct 29, 2010

I am trying to build a dropdown list of fonts with each item in the list being written in its font ("Arial" is in arial, "Comic Sans" is in Comic Sans, etc.). What is the best way to do this?  Here is the latest code that I have attempted:

[Code].....

View 1 Replies

ActionScript 3.0 :: Drag & Drop, Call A Method If List Changes?

Aug 8, 2011

I have two spark lists,backed up by Array Collections, both of which accept drag & drop either to move objects between them or to reorder within the lists. I have a method which is called on drop which resets some properties of the object to 0, this works as expected...
 
protected function list_dragDropHandler(event:DragEvent):void
{
if(event.action != DragManager.NONE)
{

[Code]..... 
 
What I would like to do is only call this method only when the objects are moved to another list, currently it is called when I reorder within the same list too

View 2 Replies

Flex :: Drag And Drop Between List Control And Chart?

Feb 18, 2010

I am trying to implement a drag and drop function between a list control and a columnchart in Flex3. List items should, when dragged and dropped on the chart, be displayed raphically in the columnchart.Alas, dropping the listitems on the chart does not seem to result in a proper graph.Here my code till so far with regard to the drop part:

private function doDragDrop(event:DragEvent):void{
var ds:DragSource = event.dragSource;
var dropTarget:ChartBase=ChartBase(event.currentTarget);

[code]....

View 1 Replies

Flex :: Put XML Query Inside A Drop Down List Control?

Feb 7, 2011

I have this project for school where i have to populate a drop down list control from an xml file.I mange to do that for a label/text input control, but i can't seem to do that on a drop down.I get this error any time i tell him to "additem" with an xml query (not getting it with simple text):"#1009 Cannot access a property or method of a null object reference"[code]...

View 1 Replies

Flex :: Combobox Needs To Be Selected Twice To Open Drop Down List?

Mar 12, 2011

When a combobox is elected in the flex app, there is a quick flicker, then the combobox needs to be selected again in order to get the dropdown to open. After that, the dropdown works as expected, but only while selecting the control subsequent times while on the form. Reloading the form requires the double selection again.

View 1 Replies

Flex :: Drag And Drop (list Items To Canvas)

Jun 27, 2011

I just started using Flash Builder 4 (yesterday infact).

I have two lists and a canvas. When dropping a list item onto the canvas, i want to trace what item it is (the label and data) and which list it came from. From there, i want to add an image to the canvas according to the dropped item.

Here's my current code

private function componentDragEnterHandler(event:DragEvent):void {
DragManager.acceptDragDrop(Canvas(event.currentTarget));
DragManager.showFeedback( DragManager.COPY );
}

[Code].....

View 1 Replies

ActionScript 3.0 :: Drag And Drop An Object From A List Of Objects?

Aug 21, 2011

I'm creating an application where the user can select an object from a list of objects, and then put it on the main window.

I want to have the list of objects presented like in the web app : [URL]

The user can select a category, then the list of objects of that category is displayed, then he can drag and drop an object to the main window.

How is it possible to do this, having a list of objects?

View 0 Replies

ActionScript 2.0 :: ComboBox Component - List Doesn't Drop Down

Jun 3, 2008

I have a combo box on the stage in a main SWF. when the user selects an item in the dropdown list a child SWF is launched into level0 using loadMovieNum and data is left behind using _global variables for the child SWF to use. this works fine and well. but inside the new child SWF that is launched is a button that takes you back to the previous main SWF with the ComboBox. its done using the same method loadMovieNum into level0. and the main SWF loads but you cannot open the ComboBox. it will not drop down. the halo green color on hover over is there and it gets darker when you click, but the list doesn't drop down. here is some code that I think may be significant to the situation...

[Code]....

View 12 Replies

ActionScript 2.0 :: Html Efect (the Drop-down List) In Flash?

Apr 27, 2005

it's possible to do this html efect (the drop-down list) in flash

Code:

html code example
<SELECT NAME="cities">
<OPTION VALUE="paris">Paris</OPTION>[code]....

View 3 Replies

ActionScript 3.0 :: ComboBox That Removes Selected Item In Drop Down List?

Mar 30, 2011

Because of screen size, I must ensure we're only displaying necessary data to the user.I have a drop down box that contains only 5 items and I would like that when an item is selected, it doesn't appear in the drop down box (since technically it's showing twice, once at the top as the selected item and once in the list). how I would achieve this? I tried using a custom CellRender and overriding the "set selected" function to call this.visible = false if selected is true, but that simply hides the item but does not remove it from the layout of the drop down list.

View 1 Replies

Flex :: DataGrid / List Drag And Drop - How To Avoid Copying

Jul 21, 2011

I'm using drag and drop on a DataGrid to reorder items. However, when the user holds down Ctrl he can initiate a drag Copy operation. How can I disable copying altogether? (not just cancel the drop, but also prevent Ctrl + drag from showing the (+) icon)

View 2 Replies

ActionScript 3 :: List Drag And Drop And TextInput Focus Priority

Oct 31, 2011

I'm using a Spark List with a TextInput in the ItemRenderer, with ability for the user to reorder the list rows by drag'n'dropping them. This is how I declared the list :

<s:List id="list" left="245" top="119" width="667" height="433"
dragDrop="insertItem(event)" dragEnabled="true"
dragEnter="acceptDrop(event)"
dragComplete="finalizeDragAndMove(event)"
dragMoveEnabled="true" dropEnabled="true" focusAlpha="0"
skinClass="components.DataList_Campaign"
hasFocusableChildren="true" />

Everything works fine, except that it's impossible to select the text in the TextInput with the mouse, instead it's dragging the row...How can I set the TextInput to have priority over drag'n'drop ?

View 1 Replies

ActionScript 3.0 :: Flex Drag And Drop - Get What Value Have In The List When Click On Submit

Apr 14, 2009

[Code]...

1. If i select one and drop it to the next list, then i select two and drop. the value one must be replaced by two.

2. When i click on submit i need to get what value i have in the list.

3. I need to check whether its right or wrong.

View 1 Replies

ActionScript 2.0 :: XML Loader - Repopulate A List When Select A New Category From A Drop Down Component?

Apr 14, 2011

i'm trying to repopulate a list when you select a new category from a drop down component.

So far i can populate the category drop down and i can also populate the list box from a default dir but i can't seem to get the list to change when you select a new category.

this is the category script that populates the drop down (this is working fine except that when i change the category i want the list box (bgList) to repopulate with the new location files):

ActionScript Code:
loadCat ="textures";
if (_url.indexOf("http") != 0) catFilepath = "xxxxxxx/backgrounds/";
else catFilepath = "xxxxx/backgrounds/";

[Code]....

View 2 Replies

Flex :: Flash - Put A Drop Down List And Date Selector In An Advanced Data Grid?

May 11, 2010

I wish to have a standard row with string items except two items,no 1 there is a date field and I need a date selector for it.no 2 in another cell of the row I want to put a drop down list box containing text "40" and "20" or you can manually edit the cell so that it displays what ever input you decide (other than 40 and 20)

View 1 Replies

ActionScript 2.0 :: When The Mouse Cursor Is Over It A Drop Down List Animation Starts Revealing More Buttons

Oct 19, 2005

What I'm wanting to do for my web site is do a animation on a button so that when the mouse cursor is over it a drop down list animation starts revealing more buttons. How would I go about doing this using Action script in the noobiest terms possible?

View 4 Replies

IDE :: Create A Drop Down List Of The Fonts Where Anyone Could Select - Change (runtime) The FONT TYPE By Clicking The Name?

Jul 15, 2009

It's a Submit Form (name, age, etc...)If I have 4 font types embeded (eg. Arial / Varadana / Comic Sans / Eras) how can I create a drop down list of the fonts where anyone could select - change (runtime) the FONT TYPE by clicking the name?

View 12 Replies

Mysql :: Migrate A Preexisting Flex/Java/Hibernate/MySQL App Onto A CD For Portable Distro?

Feb 2, 2011

I have a typical Flex-based application that was written to use a Java/Hibernate/MySQL backend. The client changed the requirements - now they want to distribute it on a CD where the user can just run the app without any installation or a network connection.

To do this, I certainly need to eliminate the web server and the database server and adapt my application (with as few changes as possible, of course) to a stand-alone application that will fit on a CD/DVD. I've managed to export the data to XML and read it into Flex, but I'm wondering if there's a way to recreate the Hibernate data structures in Flex so I could change as little code as possible. Failing that, is there any way to keep the existing Java/Hibernate external to the Flex code but retrievable without installing Apache Tomcat or MySQL?

View 3 Replies

Mysql :: Create An Insert Form With TextInput Containing ComboBox Provided By MySQL Database Table?

Jan 13, 2010

I have a Flex application which manage a database composed by 7 tables.I have created the insert form and all work great. Now I wanto to improve the Form performances; the idea is to replace the TextInput of the Form with ComboBoxes which are provided by the DataBase tables

View 1 Replies







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