Data Integration :: Storing And Changing An External Variable?

May 4, 2007

I need to hold a couple of variables in an outside file that can be incremented by user activity -- not just during one interaction with the swf, but with every one.I have no problems with using loadVars and I get the loadandsend process; it is just that I have
no background in cgi or asp for holding the variable and being able to update it.I know I cannot write to a txt file -- that is what I have been using thus far with loadVars for importing values, but this will not help me here. I know it should be a fairly simple script -- I also know I ought to pick up php, but for the moment -- until a greater amount of time comes my way -- I turn to you.

View 3 Replies


Similar Posts:


Data Integration :: Storing Value From XML Into A Variable?

May 17, 2006

There is a combo-box by the name "cbJobs" and it gets its value from the XML file named "data.xml".. I want to store the value transferred from this XML file into a variable.. so basically someone told me to use the code

on (change) {
_root.subject = this.getValue();
}

the only problem with this code is that it gets activated only after I "change" the value in combobox by pulling it down.. I want to use this value obtained from _root.subject as a subject in the script

getURL("mailto:abc@abc.com?subject="+_root.subject);

View 1 Replies

Data Integration :: Changing JPG In SWF Through ASP

Jun 15, 2007

I have a page with three frames. the left frame with images1 thumbnails, the right with images2 thumbnails. Both have Hyperlink in order to pass that to SWF file in middle frame. To be more precise - I have two ASP pages displayed in left right frames of my web page. I want the SWF file (which is to be loaded in middle frame on click events of these ASP pages) to receive paramenters from these files and change the image in this SWF file. e. g. middle frame test.swf files should load with image1.jpg when clicked on image1.jpg thumbnail in left/ right frame and when clicked on imageN.jpg thumbnails, the test.swf file should be loaded in middle frame with imageN.jpg

I've been struggling with LoadVariables, GetURL, LoadVars etc. etc. since last weak.

View 3 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 :: How To Parse Data And Assign Variable To Text

Jan 30, 2007

I have three dynamic text boxes. variables respectively
(caption0,caption1,caption2).
My xml file is structured as:
<?xml version="1.0" encoding="iso-8859-1"?>
<captions>
<caption>Roll over this</caption>
<caption>This is the first Caption.</caption>
<caption>This is the second Caption.</caption>
</captions>

I am trying to create a rollover where when you rollover caption0; caption1 and caption2 are displayed in sequence. Everything works except though only the first caption is ever displayed. For the other two I get "level0.caption1" and "level0.caption2" instead of the text in the xml file above. How do I parse the data so that each of the variables are assigned the text in the xml file?

View 8 Replies

Data Integration :: Updating Flash From A Dynamically Changing XML File?

Dec 4, 2006

Creating a non-interactive status display: I want to have theflash display reflect data in a server-based XML-file. So far thisis easy. But I want the display to change everytime the XML filechanges-- in order to reflect status changes. I've used anXMLConnector and specified it and the trigger in the first frame.The Flash code catches and shows the XML values initially . Butwhen I edit the XML file, the new values are never picked up byFlash- its almost as though the values are cached. How do I getFlash to regularly be updated from a changing XML file? I've alsotried putting the trigger in a loop- but that doesn't workeither.

View 8 Replies

External Data - Storing Variables And Creating Text File

Sep 15, 2009

1. How could I make it where some images/text in a flash file is taken from another outside file. For example lets say I have a image and text that would need to change constantly. The image could probably be done by using a url and changing the image set to that url, but I would rather have it search for a images file name on my computer. For the text is there a way I could use a text document, and have it set up to take the text in that document and display it.

2. How can I make it so when I click a link to an outside url it doesn't confirm that I want to visit it.

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 :: 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 :: XML Connector URL Set To Variable?

May 10, 2006

How can you set the XML connector's URL to a variable?

I have a variable called "thisURL" and an XML Connector called "myXMLConnector"

View 2 Replies

Data Integration :: XML Node Variable?

Jul 10, 2008

I'm trying to access RootNode in the code from anywhere inthe timeline. I assigned a value in the loadFile function but whenI try to access it from outside this function I get "undefined".How can I have this easily accessible from anywhere in the code? Iknow _global.RootNode will not work for XMLnode types.

View 1 Replies

Data Integration :: How To Load External Data

Dec 11, 2006

im trying to read data from a text file here [URL]what i cant figure out is how to call each value to its own dynamic text field.

YYYY MM DD hh mm H0 SwH SwP WWH WWP SwD WWD STEEPNESS AVP MWD
2006 12 10 00 00 0.3 0.3 6.2 0.1 3.2 ESE SE N/A 6.1 110
2006 12 09 23 00 0.3 0.3 9.1 0.1 3.6 SE SE N/A 6.2 134
2006 12 09 22 00 0.3 0.3 9.1 0.1 3.6 SE ESE N/A 6.2 125
2006 12 09 21 00 0.3 0.3 7.1 0.1 3.4 ESE ESE N/A 5.9 119

View 3 Replies

Data Integration :: Sending A Variable From Flash --&gt; PHP?

Mar 14, 2007

according to a Flash MX book I'm using, the following should work (their own example):

The Flash movie:

- button with script:
on (release) {
loadVariablesNum("xxx.php", 0, "POST");
}[code]........

View 7 Replies

Data Integration :: Loading An External XML

Jul 21, 2006

Is there a way to load an XML file if it's on a differen server/domain than the html/swf file? I already set allowScriptAccess="all" but it didn't seem to help.

View 1 Replies

Data Integration :: Build A Variable Speed Horizontal Scrolling Bar?

Jan 4, 2007

I need to build a variable speed horizontal scrolling bar that when the image is click produces a result from a database.

[URL]

However they are using Javascript I believe and I need to run PHP anf flash together.

View 1 Replies

Data Integration :: Get The Html To Pass The Url Variable It Receives On The Flash?

Oct 9, 2006

this liveDoc covers getting a url variable into flash:http:/[url]....you can pass data to a flash movie by doing the following:[url]....this will create a variable: _level0. variablename with the data: thisisthedata.so far so good.you can then embed this in the published html doc by including your data string in the object/embed tags.like so:

<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab# version=8,0,0,0"[code].....

not to bad, so now your html is loading the swf with the url variable. the problem is this data is hard coded into the html.now for the question. how do i get the html to pass the url variable it receives onto the flash?

View 2 Replies

Data Integration :: Reset A Variable From Flash In The Parent Php Page

Jun 5, 2006

I know how to pass vars from php to flash and from flash to a "new" php page but here is my question.

I have a php page (page1.php) with some HTML and a php variable called $number. page1.php also has an embedded test.swf movie. While working with the test.swf movie, I want to send data back to the $number var on the page1.php without reloading the page1.php because then it would reload the test.swf movie.

I have been able to use javascript to change background colors on page1.php from within the test.swf movie but cannot figure out how to set a php variable from within the test.swf movie.

View 2 Replies

Data Integration :: LoadVars-using Send To Pass A Variable From Flash To Php

Mar 24, 2008

For the life of me, I've tried everything: I've researched LoadVars on Adobe forum, used David Powers' books, googled 'flash to php', LoadVars, etc. and tried sendAndLoad, send, and using $_POST, $_GET, $_REQUEST. $HTTP_POSTVARS but I keep getting this same error.

I have a Unix server running Apache/PHP 4 - LoadVars worked to load name-value pairs into an array -see thread)

My goal with this simple app is to prototype being able to pass a variable from flash to a variable in php.

Parse error: syntax error, unexpected T_VARIABLE in flash_to_SQL.php on line 5

Actionscript 2.0 code:

var c :LoadVars = new LoadVars();
c.testing = "123FOUR";
c.send ("

[Code]....

View 3 Replies

Data Integration :: Load External XML Into DataGrid With AS3

Jun 18, 2007

I've really looked hard to find an example/tutorial for loading external XML data into a DataGrid component using AS3. The code I'm using at the moment has the XML data in the AS code.

Here is the code that is working for internal XML data:
import fl.controls.dataGridClasses.DataGridColumn;
import fl.data.DataProvider;
stop();
var emailXML:XML = <emails>
[Code] .....

View 5 Replies

Data Integration :: Prevent External Images From Being Compressed

Dec 7, 2009

I can think of to prevent my external images from being compressed. I have a few png files being pulled into flash via XML and AS3. For some reason the images that are being pulled in are being compressed and look terrible. What can i do to prevent them from being compressed so much. They are pulled in via an empty movieclip.URL...Here is the AS that is being used to pull the images in and the XML information.[code]

View 1 Replies

Data Integration :: Parse And Display The Value For Variable VALUE In Xml To The Screen But Read From The File Continuously?

Jan 25, 2007

I need to parse and display the value for variable VALUE in xml to the screen but read from the file continuously instead of
once. The XML file is being created dynamically so its getting larger but flash only displays first value for variabel VALUE.

View 5 Replies

Data Integration :: VoucherNo Variable From Flash To Replace The Value In GoodVoucher Field In XML File?

Aug 21, 2006

I have the following code in place to move a variable from my Flash app to an XML file for storage [code] how do I go about getting my VoucherNo variable from.Flash to replace the value in the GoodVoucher field in my XML file?

View 3 Replies

Data Integration :: Search Function For External Html Content?

Jan 22, 2007

i have got a Flash Projector which is to be deployed onDC/DVD rom. I am using an XML menu to load various chapters andsections of html content, images etc. The client is now asking forthe capability to search within the "books" content.Is there any way of doing this? I have found an Extensionthat allows me to search within a text field, but what aboutexternal content files?

View 3 Replies

Data Integration :: Create External File That Can Be Accessible / Editable?

Apr 8, 2006

Is it possible to build a flash programme that will create new files that can be accessed or edited. I would like to know all the possible ways.

View 17 Replies

Data Integration :: Loaded External SWF Gets Blurry Fonts/bitmaps

Jun 1, 2006

When i load an external swf file it looses quality and renders blurry. But the swf itself (the external one) looks perfectly fine standalone. Now i ask myself, is this really a flashbug or what the heck is it?

Because i wrote an elearning player wich references hundreds of this files, its not very funny to see the quality dropping. To get some meat for you, i created a small site, wich should make the problem much clearer:

Click here and explore the strange bug

View 4 Replies

Data Integration :: Use An External File To Bring Text Into Flash?

Apr 15, 2010

We have a client who wants to share with us flash widgets whose contents can be updated using an external file. Our question is: Is it better to use a .txt  file (such as notepad) or a .xml file to input data into Flash?

View 4 Replies

Data Integration :: Load Individual Strings Of Text From An External File?

Feb 21, 2007

I trying to load indivual strings of text from an external file. example: I have a movie that navigates from frame to frame. on each frame I'd like a line of text to load into the movie. When the user navigates to the next frame the text loaded vanishes and is replaced by another line of text. This can be done with separate txt files, right but I was wondering if and how it could be done using one external text file.

View 2 Replies

Php :: Make Some App In Flash - Receiving Some Data From User And Storing In Data Base?

Jan 18, 2012

i am looking for some kind of library which does CRUD easily using PHP and MYSQL.My goal is to make some app in flash AS3.0 , where i will be receiving some data from user and storing in data base , and perform CRUD opertaions. I dont want to be so much involved in writing php and sl query.My scenario is:

Data types : [ like user_profile data, etc]

add under data types 1 to many fields with various types..

Database tables and realtions etc should be done by my DREAM library, then user when select a Dtat Type, he is presented with related fields to fill up data.

I will be using Flash AS3.0 ( Builder or IDE ) to perform .If only i can find some php library i think AMFPHP can connect flash with php

View 2 Replies

Data Integration :: Variable URL In "flashobject&quot - Call Different Movies On Same Page With Different Parameters?

Sep 7, 2006

This would be the code to call a movie:

var fo = new FlashObject( "Movie1_controller.swf",
"Movie1_controller.swf", "591", "480", "7", "#FFFFFF", false,
"best" );
--------------------------

Is there a way to modify that call (maybe using ASP Javascript) so you can call different movies calling the same page with different parameters?. I haven't been able to get this
working. It seems to be that the "FlashObject" call cannot have any variables on it.This is the way I'm trying it:

1. The call to the page would be: http:[url]....

2. Add javascript to get value passed:[code]....

It just doesn't work. The FlashObject.js doesn't seem to like that call.

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







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