AS2 :: Data Integration - Swap Values From XML Input?

May 14, 2010

I have the following scenario: I'm loading data values from an external  XML file and I want to swap them with other ones in order to show the latter further on in the movie. As an example, I have the following data  in the XML file:

Code:<set label='Epson'><set label='Hitachi'><set label='Toshiba'><set label='Mitsui'><set label='Panasonic'><set label='Canon'><set label='Lexmark'>and I want to swap the following data

[code]........

View 1 Replies


Similar Posts:


ActionScript 2.0 :: How To Swap Data Values From XML Input

May 14, 2010

I have the following scenario: I'm loading data values from an external XML file and I want to swap them with other ones in order to show the latter further on in the movie. As an example, I have the following data in the XML file:

Code:
<set label='Epson'>
<set label='Hitachi'>
<set label='Toshiba'>
<set label='Mitsui'>
<set label='Panasonic'>
[Code] .....

They will appear in a random order but only once in each graph. In essence, I need something that takes the XML label attribute and swaps it with an other value before sending it further on to the rest of the movie for processing. It would be more practical to do the swapping in the server app that writes the xml file before it is written but that is not possible so I need to do that search and replace when I load the xml in Flash... I could use even something like open the xml - search and replace values - save to new xml

View 1 Replies

ActionScript 2.0 :: Swap Values From XML Input?

May 14, 2010

I'm loading data values from an external XML file and I want to swap them with other ones in order to show the latter further on in the movie. As an example, I have the following data in the XML file:

Code:
<set label='Epson'>
<set label='Hitachi'>
<set label='Toshiba'>

[Code].....

They will appear in a random order but only once in each graph. In essence, I need something that takes the XML label attribute and swaps it with an other value before sending it further on to the rest of the movie for processing. It would be more practical to do the swapping in the server app that writes the xml file before it is written but that is not possible so I need to do that search and replace when I load the xml in Flash...

Edit: I could use even something like open the xml - search and replace values - save to new xml

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 :: Compare Input Text With Imported XML Data?

Oct 5, 2006

Compare input text with imported XML data problem

View 1 Replies

Data Integration :: Get Values From URL?

Apr 3, 2008

I am trying to develop a flash map where i need to show avalue from the current url into the text field in flash. Theproblem is I need only some values from the url to be displayed indifferent text boxes.Say the url is http://ayushjain.in/staticDefault.aspx?northamerica=168&southamerica=1 &europe=10&africa=0I want to display the value of "northamerica", "eurpoe" &"africa" in the text boxes.This should be done as soon as the swf loads in the html

View 1 Replies

Actionscript :: Data And JS Integration - Fetch Values From HTML

Jun 3, 2009

I am trying to fetch values from HTML -embed tag into Actioscript 3.0 (Flash CS4). And sending the value to Javascript using ExternalInterface.call method. But its not working on all browsers. I am getting Security Sandbox Violation error. Following is the HTML in which embed tag and javascript is

[Code]...

View 1 Replies

Data Integration :: Saving User Input To Xml

May 22, 2007

I'm sorry this is a question from a server ignoramus, I've previously captured user input using a combination of cfml and text files. That was way back in 2002 and using AS 1.0. I'm now working in an environment where the server guy won't put any scripts on, and I mean none, no PHP, no ASP, no CFML, nothing. Would anyone know if there is a way of capturing user input without using a script, please? This prolly shows a really basic lack of understanding of how servers work but I'm a bit desperate. I know the Flash Learning Interactions can work with SCORM and pop results into LMSs that use SCORM and our LMS does use SCORM, but it seems to only be within the learning interactions and I don't know where to start to tailor this for the input I need to capture.

View 2 Replies

Data Integration :: Generating A Custom Graphic From A Forms Input?

Dec 11, 2006

I would like to basically create an flash application that would allow a visitor to answer a few questions and then be presented with an image based on the answers provided via a form. If the generated output is not acceptable - I would like the visitor to be able to regenerate the output with a single click and continue to do so until the image is acceptable. The questions/process would be something like:

1. What is your favorite shape? (a drop down list of data from DB would be selectable)

2. what is your favorite color? (same as above option)

3. what is your favorite things to do? (this answer would work similar to a search and match keywords related to images within the DB and be placed in a designated area of the image)

4. what is your name? (first - last)

the results would then generate a image... Does anyone know where I can begin the process of making a application like this?

View 3 Replies

Data Integration :: Input Text Boxes Now Passing Formatting With Variables?

Feb 14, 2007

I've had a site running for a few months that takes fourinput text boxes (name, e-mail, subject and message) and posts thevalues to an ASP page which composes an e-mail with a CDO.Messagecommand. For some reason (nothing has been changed in the files or onthe server), it stopped working and I've traced it down to Flashpassing Input Text Box Formatting information along WITH theariable.Can anyone explain what's happened and how to correct it?For example, in my form I've set all the name, e-mail andmessage to static text and let the Subject variable be passed andin the e-mail subject line, I get this:

<TEXTFORMAT LEADING="2"><P
ALIGN="JUSTIFY"><FONT FACE="American Typewriter" SIZE="12"
COLOR="#000000" LETTERSPACING="0"

[code]......

View 3 Replies

Data Integration :: Exchanging User Input Information With Aspx Server?

Jan 26, 2007

I've made a flash page with user input for email and comments. The thing is I am working with a aspx.net server. The programmer has written out a aspx coding for the server side. Now all i have to do is write a script in the input fields in flash to connect to the aspx server. The progammer said that I would have to create variables inside the flash program to call to the aspx page he created. I am faily new to aspx and have no clue to writing a script with variables.

View 2 Replies

ActionScript 3.0 :: Get's Two Values From An Input Text And Sends The Data To Login Php

Oct 9, 2010

So i have this class, It get's two values from an input text and sends the data to my login php where everything works fine. It is supposed to return 0 (bad login) , 1 (good login).

[code]...

View 1 Replies

Data Integration :: Convert XML "values" To Be Passed As CDATA Into Flash?

Dec 27, 2006

I found the following XML - Flash quiz template on the net and I was wondering how can I adapt the XML doc to pass CDATA instead of "Value". The code is currently sending the "answers" values into Flash as value, instead of values I will like to type the answers inside of CDATA tags. I don't know how and what to change in the XML as well as in the AS file.

View 1 Replies

ActionScript 3.0 :: Slider Input Values - Can't Get The Output Values To Add Up?

Dec 6, 2010

I've gotten these sliders to work but can't get the output values to add up. For instance, depending on the values for slider 1, 2 and 3, I need the total to show up in a separate text box. I keep getting a NaN message in the text box.Here's the code I have so far:

//item 1
sliderOne.width = 600;
sliderOne.value = 0;[code].....

View 3 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

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

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

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







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