Data Integration :: SetSelectedIndex Not Firing Change Handler

Sep 12, 2006

Is the Change handler supposed to fire when setSelectedIndex() is called?

After adding a line of code to the Bike Trips example I found this problem. I added a button and the line to it:

on (click) {
_parent.cbTrips.setSelectedIndex(3);
}

My Example and
FLA

I want the bound data to change but it doesn't.

View 4 Replies


Similar Posts:


ActionScript 3.0 :: RoundedRectangle - MOUSE_DOWN Handler Not Firing

Dec 4, 2009

I wrote some code that creates a bunch of rounded rectangles which are placed on the screen. You then select 7 of them...once you select 7...and press a next button...they move to the top of the screen and 3 windows are drawn which i want the user to drag them into. However, I'm experiencing a problem where the MOUSE_DOWN event handler only works half the time, or on certain areas of the rounded rectangle...it appears to work more toward the left hand side of the rounded rectangle and middle....so I can drag them...but not effectively since I can't drag them by clicking anywhere on the sprite. At first I thought this had to do with a label that I had added as a child of the rectangle, however, I comment out the code that puts the label on the rectangle...and still no luck... here is my code... you'll see I thought maybe it was a memory issue with sprites, so i place them in a globally defined array and only clear it when i'm sure the sprites are done. So I've narrowed it down not to have anything to do with the sprites or the labels.

import fl.transitions.Tween;
import fl.transitions.TweenEvent;
import fl.transitions.easing.*;
import fl.controls.Label;
[Code]...

View 2 Replies

Data Integration :: Any Way To Change Image Sizes (From XML) In Flash?

Sep 7, 2006

I am creating a slideshow within Flash that uses XML data pulled from a database. Is there any way to manipulate the image size from within Flash? I am going to use the slideshow for a plasma display, and have clients uploading image files at random, which are then added to our database. I need each image to be 16:9. I know the easy way to control this would be to give the clients size requirements - we will do this in the future - but unfortunately there are hundreds of images already in the database that are already odd sizes. While it's clearly possible to change the size of the movie itself, is there a way to force each image that is imported from the XML to be a particular size - say 800 x 450 or 1200x 675 or 1600 x 900? (i.e. -- can I force the XML generated image to fill up the whole screen/browser window, regardless of what size it is?) It does not matter if the image gets distorted or stretched.

View 1 Replies

Data Integration :: The Order Of Swf Sliding Images Change Once The Html Page Is Reloaded?

Apr 4, 2007

I do have a set of images (lets say 1,2,3,4 and 5) in an html page. what I want is once the html page is reloaded, the order of the sliding should change randomly (from 1,2,3,4 and 5) to (4,5,3,4,5...)for example.

View 7 Replies

Data Integration :: Xml Video Playlist - List To Change Based On Whose Accessing The Player

Jul 3, 2007

I have a flash video player whose playlist is based off an xml list. Now, I need this list to change based on whose accesing the player. So: Client gets a link, clicks on link, player shows their video. Another client clicks on another link, player shows their video,

View 1 Replies

ActionScript 3.0 :: Sample Data Event Not Firing - Record Data From A Microphone To A Byte Array?

Dec 13, 2010

I have bought Learning AS 3.0 (O'Reilly) but I have been having difficulty getting one of the tutorials to run. The tutorial shows how to record data from a microphone to a byte array, playback the saved data and save as a WAV file. For some reason, I can't get this working. When the swf runs, the Flash Settings screen doesn't pop up to request permission to access the microphone but I can still trace properties such as gain.

I've uploaded a zip containing all the classes and an FLA - just use RecordMicrophone_Example.as file as the document class. Here is the problematic area of the code:

[Code]....

View 0 Replies

Flash :: Data Integration - Huluesque Video Integration

Jan 1, 2010

I have a video player that is currently using XML for its video library which is all fine and dandy. Now I have some developers working on a CMS type page in PHP that is going to hopefully pass some sort of information to my player that will let it know where the video is stored on our server. Is there a way to do this without using FMS? If so does anyone have ideas where I can find the information for it.

View 2 Replies

Data Integration :: XML Integration In Flash?

Nov 12, 2007

I'd like to create one empty Flash movie that is essentially a placeholder for externally loaded content I can change through XML. This content would just be able to randomly load 1 of 3 photos, with a button linking to a website within each of the photos on page load. If the user refreshes the page, a new photo with it's link would appear, but I understand since it's random,having 3 images the same image is likely to reappear, but I can always add additional photos and links.

Does anyone know of a tutorial that might lead me on the correct path to create this? I've found some tuts, but they've been different than my need.

View 2 Replies

Data Integration :: Flash And FTP Integration?

Feb 1, 2007

We want to be able to upload over 100+ files (if needed) to a server along with desc + keywords. I see that Flash 8 has the neccessary tools to handle file uploading, but my question is, can we have it act as a Stand alone FTP program so that we can utilize the fastest user upload, or will we be confined to the settings in the server INI settings.IE MAX_UPLOAD_TIME,MAX_FILESIZE, etc. If possible we want to avoid using the HTTP upload as it is noticeably slower. So if we can use flash to utilize user BW to upload, then that would be ideal.

View 1 Replies

ActionScript 3.0 :: CLICK Not Firing When MovieClips Change States?

Dec 22, 2009

I have a MovieClip Button, btn, made up of 2 MovieClips, sqrT and sqrB on top. sqrB is stopped at an empty frame. On Down, sqrB stops at a MovieClip frame, on Up, it goes back to the empty frame. On Click, it traces "Clicked!", but Click never fires. Why is this, and is there a way to make it work without using alpha?

Code:
btn.sqrT.gotoAndStop("square");
btn.sqrB.gotoAndStop("blank");
btn.addEventListener(MouseEvent.MOUSE_DOWN, onDown);

[Code].....

View 1 Replies

Flex :: ChangeWatcher Not Firing On Bound Property Change?

Sep 30, 2010

On creation complete my parent component executes an "init" function which simply sets public bindable variables in child components. I'd like the child components to watch these variables and upon being set use them. However, for some reason the ChangeWatcher is not firing with the change of the variable. Below is my code;

Parent Component
private function init():void
{
userInfo.user = new User("Tom");

[Code]....

View 1 Replies

Data Integration :: MySQL Data Into Dynamic Text Field Without Escape Sequence

May 23, 2007

I got a music portfolio web site running PHP, MySQL and Flash. There's a page showing all the artists my client worked for and when you click on a song title, this title is passed as a variable to a PHP page then to a Flash page. The Flash page contains an actionscript music player which then looks for the right audio file in the database and plays the song. Everything works great except for the dynamic text field which displays the song title. If the song title contains an apostrophe or a single quote, the Flash dynamic text field then shows the apostrophe.[code]

View 1 Replies

Data Integration :: Store The Data Text In Access Databases Using Flash Form?

May 4, 2007

How to store the data text in Access databases using flash form and to search into the database. It is possible to work without server because I don't want to put this flash file on the net. how to make databases and to connect with flash and to have possibility to search the database, but to work database in the local computer.

View 1 Replies

Data Integration :: Enable Data Management If Passing An Extra Variable To PHP Script?

May 7, 2010

Im trying to use dynamic SQL tables on my PHP server so I need to pass the table name to the PHP script.  I don't understand why the Data Management system that sets up CRUD won't allow this extra parameter.  It says it can only have one input: item. I can get all records, but when I try to create, update, or delete I get an error.
 
Or is there another way I can pass the tablename variable to the php file before I call any functions?

View 3 Replies

Data Integration :: Use Flash To Dynamically Load XML Data Via A FlashVars Call In The HTML?

Jul 18, 2007

Im new to placing external data into Flash. I just got CS3 and Im trying to use Flash to dynamically load XML data via a FlashVars call in the HTML.

The problem is I have followed the very straight forward AS2 Help files for using FlashVars and URL variables.I have placed the code directly from the Help file into the Html between
<noscript> <noscript>and i keep getting undefined.I have tried saving the file as flash 8 and i am publish flash 8.

View 1 Replies

Data Integration :: Read/write Data To And From Access With Flash In A Offline Format?

Jun 15, 2007

Is it possible to read/write data to and from Access with Flash in a offline format? I need to create a stand alone system that users can log into and pull information from - but it will not be networked or have any sort of internet connection.

View 2 Replies

Data Integration :: Handle Double Quotes In Data Read In From External Source?

Mar 14, 2011

I'm trying to read some data in from a sql source, some of which contains double quotes embedded in the text. I know I can strip the doublequotes, but don't want to go that route if I can avoid it. I've tried replacing to double quotes with hex codes before passing the text via parameter to my flash file, but the text string always cuts off at the hex code, the same as if the double quote were present in the string. For example:This is a "text" stringreplace double quotes with hex: This is a x22textx22 stringesults when read into flash: This is a <remainder is dropped>Yet if I type the same text string in a variable in flash, the string displays the double quotes properly:

View 1 Replies

Data Integration :: Send Data From Html To Flash Action Script

May 31, 2007

I would like my flash to act differently depending on what html page it is on. Can I send information from html code to action script?

View 1 Replies

Flash :: Data Integration :: Send Record And Place It In A Data Grid?

Mar 1, 2007

i have a problem regarding the integration between flash and ASP file i have an ASP file that gets a record set from the database i don't know how to send this record set to flash and place it in a data grid

View 4 Replies

Data Integration :: Sending Data In Flash To External Text File

Apr 9, 2007

I will be creating a program to use for data entry. I'll be studying zebras in kenya and I won't have the internet there as I'm recording the data. I'd like to be able to send the data I generate in flash to an external text file. I understand I need some sort of script to do that, but is this something I can run just on my machine? (I'll probably make the data into xml format).

View 1 Replies

Data Integration :: List Component - Multi-select Retrieve Data

Feb 26, 2007

I'm having trouble retrieving the value of a multi-select list component. It always traces the last value selected, but I need to trace all values to parse the data.

I've been using trace(myList.value);

View 2 Replies

Data Integration :: Shared Object - Prompt Data Permissions Dialog?

Jan 19, 2007

I'm creating a small app to run from CD-Rom/local installation that will use multiple shared objects for data storage. To ensure proper saving without surprising the user with a permissions dialog unexpectedly, I'd like to request unlimited data storage on first time app launch - Joey Lott shows how to do this in the Actionscript Cookbook... request=mySO.flush(1024 * 500);

My question is,Can I perform this permissions request with the user a single time with a generic app SO in global fashion, so that the permissions would be set for any SOs created during the use of the product (all written to same SO directory),or do I have to request
permissions for each and every SO created? Since the latter would be unacceptable from a UE standpoint, that means stuffing all app data into a single SO which doesn't seem so great from a data config perspective...

View 1 Replies

Flash :: Data Integration - Post Data (values) To Aspx Page

May 26, 2006

I have form in flash with input text fields with Var field set to t2_2 t3_2 t4_2... what i want to do when user enter values and press buton it should post data(values) to aspx page - how can i do that ? i saw what i did

[Code].....

then i can access t2_2 value on aspx page, so what shoul i put before getURL so it will set values from texboxes

View 2 Replies

Data Integration :: List Component - Multi-select Retrieve Data?

Nov 18, 2010

I'm having trouble retrieving the value of a multi-selectlist component. It always traces the last value selected, but Ineed to trace all values to parse the data

View 8 Replies

Actionscript 3 :: CHANGE Event Not Firing From Numeric Stepper (Flash)

Nov 8, 2011

I have a Numeric Stepper. If I click on the plus or minus my event will fire.

[Code]...

However, when my function changes the value based on a button press, the Numeric Stepper will update the number but it will not fire the CHANGE event.

[Code]...

View 1 Replies

Flash :: Data Integration - Xml.load() Failing - Passing All Of The Data Via A Query String Appended To The Movie's Url

Sep 5, 2006

We have implemented a Flash photo slideshow on our site and it works just fine for most of our users. Whenever the xml.load(success) returns false I have the Flash email me a debug report. For the life of me I can not find a common thread between all of these people having problems with the Flash. I don't think it's a cross-domain issue because it works for most people, and I have the crossdomain.xml files where they should be.

[Code]...

View 1 Replies

Data Integration :: Load Data Into Form - Edit Then Save

Jan 14, 2008

I have an Access Database (doesn't need to be Access, I can phpAdmin or mysql, whatever will work) that has a list of names. I want the user to open a Flash form and have the names load up into seperate input boxes for each name. The user can then change the names, move them, whatever, and then save the record. I want it to just overwrite the record. I donlt want create a new record. I cannot, for the life of me, figure this out. I have tried to find some tutorials but nothing makes sense. Is ASP a good way to go? I have been struggling with this for a week now.

View 3 Replies

Flash :: Data Integration - Making Resume With Data File

May 1, 2007

this is my current cv, painstakenly written in flash: [URL] I was told that I can use an external data file and load this into a flash file with xml, i am trying to make an xml file that will do what you see here above. But i cannot get the information to load properly where each title is separate (bold) and the description underneath it (plain text). i cannot get my cv to show up in a linear format as it only shows the
first entry and then stops.

[Code]....

View 3 Replies

Flash :: Data Integration - Sending Data For Saba Publisher

Apr 10, 2007

I have an interactive Flash simulation that I have imported into SABA Publisher. I need for the Flash file to communicate with SABA, basically returning that the user has successfully completed the simulation. SABA is supposed to be able to receive data from Flash.

View 2 Replies

Flash :: Data Integration - Data Text - Format Loss With IE

Apr 11, 2007

I have a website that is all flash. I have a main file that loads in the nav and then the nav loads in the designated .swf file for each section. So there are several sections(.swf's) with lots of text taken from a database and inserted into the swf file from
an XML file. If I click in between sections, and go back to the original section of text the formatting is lost. This is only in Internet Explorer 7- this does not happen in Firefox or on the Mac.

View 4 Replies







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