Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Loading Alot Of Info From A File



I wanted to know if a file can be made that not only has the location of a .jpg I want to be dyanmically loaded into my flash file but also sortable by other information I plan on embedding into the the load file.

-----------------------------------
If I am not clear please let me explain what I mean in more exact terms. I am making an online furniture catalog and would like it to be able to be sorted by type and by vendor. but want to load all the info dynamically. and be able to remove and add easily.

Does anyone know if there is a way to do this!

Hope I explained it well!



FlashKit > Flash Help > Flash MX
Posted on: 04-15-2003, 03:00 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Loading Info From INI File Into Dynamic Field...
Folks,

I have a Flash Projector application that is a frontend for an electronic Catalog (PDF'S). I have incorporated an install and web updater feature on the CD so the user can install on their system. After installing, I have a web updater feature that goes out and checks for newer versions. This version information is contained in version.ini on the users system and is updated as they update the latest version. IN the ini file their is only one line of text...i.e. 4.1.0 I am wonder if it is possible to create a dynamic text field on my splash page (Flash portion) that would go out and read the INI file and place the version number in teh text field. I have been researching and no luck so far.

Thanks for the help

Loading Info From A Text File Or Spread Sheet
Is it possible to load info from a text file or excell spreadsheet into fields in Flash 5. I have a site that needs to be updated often and buy people who don't know flash. i would like for them to be able to edit a excell file or text file to update the site. thanks for any help you can give me.
Sean

Loading Info From A Text File Or Spread Sheet
Is it possible to load info from a text file or excell spreadsheet into fields in Flash 5. I have a site that needs to be updated often and buy people who don't know flash. i would like for them to be able to edit a excell file or text file to update the site. thanks for any help you can give me.
Sean

Loading Alot Of Images?
What is the best way to load about 100 images into a movie on a timer with a fade between them.

Help: Loading Alot Of Data From Db
hi,
i want to make a photo gallery based of Flash.
the problem is that i have about 1000 pictures, and i want to present to the user only 9 each page (it will got Forward and Back buttons).
the problem is that i dont want to load all the 1000 pictures names at the start. i want to load 9 each time the user press any button.

i use ASP for this application but i dont mind to use PHP if i have to what should i do?

is there any way to do queries from DB with flash by pressing a key?
or the only way is loadVars?

Passing Info From Swf File To Swf File
I was wondering if its possible to have a swf file (5 or MX) in one frame, and when you click on a link, or do some kind of action, to have it interact with a flash file in another frame.

For example. I have a navigation frame and when you click on "About Us" the swf file that is the company logo will bring up text to tell you your on the "About Us" page or something to that affect, and then when you go back to Home or another page, it reacts again.

Is this possible? and if so how do I do it?

Snoog'ns...
James Carson

Using One XML File To Get Info From Another...
My first post so please be gentle!

I have multiple .flv files listed in an XML file. I also have a selection of other XML files that contain the Closed Captions for each of the videos.

I can get a listbox to display the FLV files and play them.

I can also get the Closed Captions to work.

But not together!!

Example XML Playlist:
============================================
<videolist>
<video name="January" cCaption="january.xml" duration="564">
<path>streams/january.flv</path>
</video>
<video name="February" cCaption="february.xml" duration="462">
<path>streams/february.flv</path>
</video>
<videolist>
============================================

Example Closed Captions XML File (file name = cCaption from above):
============================================
<captions>
<phrase start="0.55">Hello, blah blah blah.</phrase>
<phrase start="5.14">Blah blah blah ... </phrase>
</captions>
============================================

ActionScript Code:
============================================
import mx.video.*;
var video:FLVPlayback;
var xmlCaptions:XML = new XML();
xmlCaptions.ignoreWhite = true;
var listenerObject:Object = new Object();

with (video) {
playPauseButton = mcPlayPause;
backButton = mcBack;
forwardButton = mcFfwd;
seekBar = mcSeek;
muteButton = mcMute;
}

xmlCaptions.onLoad = function() {
for (var i:Number = 0; i<this.firstChild.childNodes.length; i++) {
var captionStart:Number = Number(this.firstChild.childNodes[i].attributes.start);
var captionText:String = (this.firstChild.childNodes[i].firstChild.nodeValue);
video.addASCuePoint(captionStart,captionText)
}
}

listenerObject.cuePoint = function(evtObj) {
taCaptions.text = evtObj.info.name;
}

//xcVideo.trigger();

xmlCaptions.load("streams/january.xml");
video.addEventListener("cuePoint", listenerObject);
============================================

With xcVideo.trigger(); commented out and the FLVPlayback component contentPath set to "streams/january.flv" the Closed Captions work.

With xcVideo.trigger(); NOT commented out and the contentPath empty the listbox displays the FLV files correctly and plays them but the Closed Captions don't show.

I've watched the Total Training for Flash Advanced (ActionScript) DVDs which show how to do one or the other but I can't figure out how to mash them together!

Any suggestions? I have thought about merging the XML files but each Closed Caption file contains 40 - 50 <phrase> tags and a new video will be added every other month so the resulting XML file will get very large and potentially very messy.

Get File Info
Does anyone know of a way to retrieve info about a file on the server? Specifically, the last date modified of the swf itself?

Getting MP3 File Info
Hello, folks -

This has to do with MP3s, but not commercial music. Mostly, they are speeches, interview clips, and releases. He does not want to 'do' podcasts.

Now, As I understand it:

if I perform daSound.loadSound(mp3atThisURL, true), I have access to two tiny shards of data, namely, daSound.getBytesTotal() and daSound.getBytesLoaded(), and have to wait until the sound is completely downloaded to get daSound.duration.

This is not enough for my client, who wants to display the duration of the MP3 as it begins downloading.

I've been telling him, then, to listen to the MP3, at least long enough to find out how long it is, and include this info (along with the name, the subject matter, etc) in the XML which will accompany it. He doesn't want that much involvement with the material.

I'd leave it at that, BUT I just passed my mouse pointer over the icon of the MP3 file in the folder AND WAS PRESENTED with the duration AND BITRATE of the sample file.

What do I have to do to get this info in Flash????

help .....

Thanks,
Dorothy

Getting Info About The FLV File..
is there any way to get information from the FLV (maybe in the metadata) to find out about the codec, frame rate, kilobits per second, audio data rate, etc..

is there anything that can read that information? or can it be done IN flash?

Saving Info To A TXT File...... How?
Ok I want to be able to load a TXT file into a flash interface then be able to make changes to the text/code/whatever (<<know how to do this) then....
click a save button and save the changes to the TXT file....

How do you save to a text file?


k

Dynamic File Info
Is there anyway to snag the names of folder/files locally on a server dynamically through flash?

Saving Info To Txt File
Ok I am new to flash and have been following some great tutorials but I have come to a problem..

I am designing a website for my SOCOM 3 clan and what we want to have is a Player of the month sections where player post they some of the best games and at the end of the month the leaders look at it and deside ona winner.

Now the problem is each player posts up how many kills they got and how many deaths, I need to have this info posted to a txt file. But also have it so they can do this serveral times with out it overwriting the ones from before..

can anyone help me out with this?

Delete Info From Txt File....PHP?
Ok, i know how to post information form flash to a external txt file but now I am tring to delete information from it such as a newsletter.

I have the signup working, easyliy done, but having problems deleteing the email address, need some help please, thanks?

Send Info From Swf To Cfm File.How?
Hi!
I am using AS3.0 and I have a question.
I have an inputText where the user will fill in with his email address.
How do I catch his email address with a ColdFusion Script?
Can You send some example?

Thank You

Loading Info
hello everyone

i would like to know if thier is away i could load information from an html page into a movie. the information is a table

<script src="http://www.rcuniverse.com/community/forumfeed.cfm?DISPLAY=12&interestarea=airplanes&FO RUMID=120"></script>

and the script is

< script src="http://www.rcuniverse.com/community/forumfeed.cfm?DISPLAY=12&interestarea=airplanes&FO RUMID=120"> < /script >

Looking At A Text File And Getting + Calculating Info From It...
If i had a product that was £30, and i had 3 ppl getting roalties of it, £15,£20 and £5 for example, how would i make flash take in the amount of items sold (kept in an external text file), and calculate how much each person should be paid?
E.g the text file could be liek this:
-----
30 *price*
2 *copies sold*
5 *roalty reciever 1*
20 *roalty reciever 2*
5 *roalty reciever 3*
-----

THANKS!

.txt File Sending Info To Flash
You don't have to give me the whole insight yet just the basics.

I want a a graph or a kind of a levels bar to be generated in flash by data from a .txt file that is generated from an external program.

Can you do it or not? I know there must be a way.

Thanks

Importing Info From A Text File
How do you import text that is stored in a .txt file from flash?

How To Change Info In A Text File
i am a dummy at this. please help and try to make it simple

i have some variables in a text file, and i am loading the textfile into the movie

i want to be able to change the value of variables by using a form in the movie, and with the click of the button, it will change the value of the variable and save it in that textfile so that when it loads again next time the new value comes up.

i truly appreciate your help!

Read Info From Text File
I'm making a yearbook for my school and I have A LOT of information to be shown on it (in case you were wondering, its a digital year book lol). Theres a certain page that has all the headshots of all the students, and when the picture is clicked, a new scene opens with the information on the student (along with fancy opening animations).

Firstly, is that the easiest way to do it, or can i have an overlapping MC that appears over the pictures, fading out or blurring the background, then click an X to shrink and fade out and unblur the background...

Secondly, is there a way to create a template thingo for this MC or scene so that it can automatically read data from an xml or text file and place it in the appropriate position for that name. For example-

the text would look like this

"bob_bio"
pic:"C:~~obphoto.jpeg"
Info-
"Full Name: Bob Fred Smith"
"Nickname: Bobby"
"Date of Birth: 1/1/91"

etcetc, then the movieclip will search for the info under the title 'bob_bio', place the picture at position (x,y) and display text in position (x,y)


Its hard to explain simply...so sorry. I appreciate any help anybody gives.

Capture Image And Get Info From Flv File
Hi everyone

would apprichate help from any one who can tell me how and is their any batch software for winlinux that can prepare xml file with movie length and jpggif image capture of one of the frames (if i can set to to frame 20 and not 1 as dafualt) out of flv file.

its for academic fms project and we have thousands of courses which we recorded and got them on flv, and need the data for the catalog.

so - if any one can pls assist, got something ready or just tell me how to do it, we really will apprichate it.

10x very much !

Problems With Importing Info From Txt File.
I'm using Flash to add graphic elements into a web page (php/html).

I use php to create a txt file that contains the text that Flash adds graphics to. Right now it only puts a circle around that text.

When I use the Flash applet only once on the page, it works fine. However I want to be able to use it more than once on a web page, and that is when the problem occurs.

When I use it more than once all the Flash applet display the same text, the last one called.

The relevant work flow goes like this:

1.php changes the text in 'data.txt'
2.Flash takes the text in 'data.txt' and displays it with the graphics
3.php changes the text in 'data.txt' again to the next text that needs the same graphics.
4.Flash takes the text in 'data.txt' and displays it with the graphics
5. repeat steps 3 & 4 as needed.

The AS3 code I'm using is at the bottom of this post.

What can I do to make it so I can reuse the Flash applet to add graphics to different text element, many times on a web page??

if you need to see my php/html code let me know and I'll add it.

please help








Attach Code

var myLoader:URLLoader = new URLLoader();
myLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
myLoader.load(new URLRequest("data/myTerm.txt"));
myLoader.addEventListener(Event.COMPLETE, onDataLoad);
function onDataLoad(evt:Event) {
var term:String;
term = evt.target.data.term;
txtTerm.htmlText =term ;
}

IPTC / File Info From A Jpg Into Flash
Had a search around but couldn't find any answers. I get the feeling that this isn't possible, or is otherwise incredibly complex, but...

In photoshop (and other programs) you have the option of entering file information such as author/copyright/title etc. for images, which is embedded in the file as ITPC code and can be viewed by the recipient.

Is there any way that Flash can read this? It would be beautiful if there were...

[Director] Retrieve Info From XML File
Note for the moderator(s): If this topic is not located well, please do it for me

At the moment I'm working in Director MX. I want to retrieve information from a XML file into the Director stage. A text member should load the information from the XML file. I'm like this far:

The XML file:
I've tried to keep the XML file as easy as possible. The XML file is located in the same folder as the Director file. The content of the XML file (author.xml):

Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<author>
<name>Mike Peterson</name>
</author>
The Director File:
The cast of the Director file (author.dir) contains 3 members:

1) A text member (name: author):
This member does not contain any code and it is located at frame 1 of the score.

2) A script member (behavior, name: xmlLoad):
This script is not located in the score, just in the cast. The member contains the following code:

Code:
property pXMLObj
global gNameAuthor

on beginSprite me
pXMLObj = new (xtra "XMLParser")
pXMLObj.parseURL (the moviePath & "author.xml")
end

on endSprite me
pXMLObj = 0
end

on exitFrame me
if pXMLObj.doneParsing () then
gNameAuthor = pXMLObj.makeList ()
else
go the frame
end if
end
3) A script member (parent, xmlParse):
This script is not located in the score, just in the cast. The member contains the following code:

Code:
global gNameAuthor

on me
member("author").text = gNameAuthor
end
What exactly is the problem?
I just want a text member to display the name "Mike Peterson" on the stage. Director should load the name from the XML file, but he doesn't. Director does not display any errors. Does anybody know how to fix this problem?

Problems With Flash Info Getting To PHP File...
I tried posting this in the PHP section but didn't get a reply I was looking for... I think it has to do more with Flash than PHP anyway. But anyway I have this voting project I've been working on where the user chooses 6 of 12 options and then hits a submit button and the info in theory would send to a PHP file and then onto a database. I'm not making the PHP though, just the flash part of the project, and the guy who is working on the PHP is saying that he isn't receiving the info even though I thought I was pretty much done with it on my end. Here's my actionscript:


Code:
var myLv:LoadVars = new LoadVars();
var resultArray:Array = ["empty"];
var totalPressed:Number = 0;

stop();
for (i=1;i<13;i++) {
this["box"+i].id = i;
this["box"+i].onRelease = function() {
judgeAmount(this,this.id);
};
resultArray.push(0);
};

function judgeAmount(box:MovieClip,idNo:Number):Void {
if (box._currentframe == 2) {
totalPressed--;
resultArray[idNo] = 0;
this["box"+idNo].voting = 0;
box.gotoAndStop(1);
}
else {
if (totalPressed < 6) {
box.gotoAndStop(2);
resultArray[idNo] = 1;
this["box"+idNo].voting = 1;
totalPressed++;
}
};
if (totalPressed == 6)
{
submit._alpha = 100;
submit.enabled = true;
}
else
{
submit._alpha = 0
submit.enabled = false;
}
}
submit.onRelease = function():Void

{
sendVars();
_root.gotoAndStop(2);
}

myLv.onLoad = function():Void
{
trace("data sent");
}
function sendVars():Void
{
var len:Number = resultArray.length;
for (i=1;i<len;i++)
{
myLv["var"+i]=resultArray[i];
}
myLv.sendAndLoad("myphp.php",myLv,"POST");
}
The movieclips that people click on to vote are named box1, box2 and so on. I thought it would be as easy as something like this in the PHP:

$box1 = $_POST["box1"];

But I guess that isn't working. If anyone could help it would be greatly appreciated, thanks!

IPTC / File Info From A Jpg Into Flash
Had a search around but couldn't find any answers. I get the feeling that this isn't possible, or is otherwise incredibly complex, but...

In photoshop (and other programs) you have the option of entering file information such as author/copyright/title etc. for images, which is embedded in the file as ITPC code and can be viewed by the recipient.

Is there any way that Flash can read this? It would be beautiful if there were...

[Director] Retrieve Info From XML File
Note for the moderator(s): If this topic is not located well, please do it for me

At the moment I'm working in Director MX. I want to retrieve information from a XML file into the Director stage. A text member should load the information from the XML file. I'm like this far:

The XML file:
I've tried to keep the XML file as easy as possible. The XML file is located in the same folder as the Director file. The content of the XML file (author.xml):

Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<author>
<name>Mike Peterson</name>
</author>
The Director File:
The cast of the Director file (author.dir) contains 3 members:

1) A text member (name: author):
This member does not contain any code and it is located at frame 1 of the score.

2) A script member (behavior, name: xmlLoad):
This script is not located in the score, just in the cast. The member contains the following code:

Code:
property pXMLObj
global gNameAuthor

on beginSprite me
pXMLObj = new (xtra "XMLParser")
pXMLObj.parseURL (the moviePath & "author.xml")
end

on endSprite me
pXMLObj = 0
end

on exitFrame me
if pXMLObj.doneParsing () then
gNameAuthor = pXMLObj.makeList ()
else
go the frame
end if
end
3) A script member (parent, xmlParse):
This script is not located in the score, just in the cast. The member contains the following code:

Code:
global gNameAuthor

on me
member("author").text = gNameAuthor
end
What exactly is the problem?
I just want a text member to display the name "Mike Peterson" on the stage. Director should load the name from the XML file, but he doesn't. Director does not display any errors. Does anybody know how to fix this problem?

Loading Spreadsheet Info
Bear with me, I'm a little bit less experienced with actionscript than some of the other people here.

I'm trying to create a list of names and addresses in Excel and use actionscript to allow users to search my list; i.e. an input of "name" yields "address".

I'd appreciate any help; thanks!

Loading Omniture Info From XML To AS3
Ok, so in my AS3, I have the following code that loads in XML content to the SWF:


Code:
var xml:XML;

var urlLoader:URLLoader = new URLLoader();
var urlRequest = new URLRequest("playlist.xml");
urlLoader.load(urlRequest);
urlLoader.addEventListener(Event.COMPLETE, onComplete)


function onComplete (evt:Event):void
{
try
{
var xml:XML= new XML(evt.target.data);
processXML (xml);
}
catch (evt:TypeError)
{
trace ("Could not parse text into XML");
trace (evt.message);
}
}



function processXML(xml:XML):void
{
for each (var property:XML in xml.vid)
{
trace(xml.vid.attribute("src"));
trace(xml.vid.attribute("thumb"));
trace(xml.vid.attribute("cap"));

//if there will be always ony one record in xml file you can set flv
//playback source here
myVideo.source=xml.vid.attribute("src");
myPoster.source=xml.vid.attribute("thumb");
captioning.source=xml.vid.attribute("cap");

//rest of thing should be also handle here

//if there will be more records
//you should sotrt data first
}
}

Now, here's where it gets tricky... I have four other "variables" that I'd like to get pulled into the AS. (They're used for Omniture Reporting) I have them highlighted in red below.



Code:
myVideo.addEventListener(MetadataEvent.CUE_POINT, cp_listener);
myVideo.addASCuePoint(0.01, "sendOmnitureStart");
myVideo.addASCuePoint(134.0, "sendOmnitureMidPoint");
myVideo.addASCuePoint(266.0, "sendOmnitureEnd");


function cp_listener(eventObject:MetadataEvent):void {
trace("Elapsed time in seconds: " + myVideo.playheadTime);
trace("Cue point name is: " + eventObject.info.name);
trace("Cue point type is: " + eventObject.info.type);
var trap:String;
switch (eventObject.info.name) {
case "sendOmnitureStart":
trap = sendOmniture('Started Playback');
break;
case "sendOmnitureMidPoint":
trap = sendOmniture('Playback Midpoint');
break;
case "sendOmnitureEnd":
trap = sendOmniture('Finished Playback');
break;

}

}

function sendOmniture(eventName) {
trace(eventName);


var OmnitureURL:String = "XXXXXX=session&j=XXXXX&pageName=" + eventName + ": THIS IS THE MOVIE NAME"
trace(OmnitureURL);
var omnitureCall:URLRequest = new URLRequest(OmnitureURL);
omnitureCall.contentType = "image/gif";
omnitureCall.method = URLRequestMethod.GET;
var loader:URLLoader = new URLLoader();
try
{
loader.load(omnitureCall);
}
catch (error:ArgumentError)
{
trace("An ArgumentError has occurred.");
}
catch (error:SecurityError)
{
trace("A SecurityError has occurred.");
}
//trace(omnitureCall);
}

So now, I have an XML doc that looks like this:


Code:
<?xml version="1.0" encoding="UTF-8"?>
<playlist id="Here's The Video" >
<vid desc="Introduction to Biological Terrorism Agents"
src="Introduction.flv"
thumb="Introduction.jpg"
cap="Introduction.xml"
omName="Introduction Video"
omStart="0.01"
omMiddle="134.0"
omEnd="266.0" />
</playlist>
So my question is, how do I get the three "om" items in the XML loaded into the areas of AS (that are red) above?

Thanks!

Joe

Problems Loading Info From A DB
I created a Robot class that creates 4 instances of the module class. Both the robot and the module class recieve their respective ID number and look up information about themselves in the db through an asp page. My current problem is that no matter what I seem to do, the module's information always seems to be accessed before it's fully loaded.

What exactly should I do (presumably using loader.onLoad = function(succ:Boolean) { if (succ) {...... etc.) to make it wait for each ones info to be loaded? I'm still not really sure what the above does except for only executing if it's loaded...

What other information can I give? Should I just post all my code?

Flash Not Loading Info
Flash piece will load on various computers and fill in information from database. However, one user gets the flash piece loaded, but no information. What could be causing the information not to load?

XML Image/info Loading
hi there,

im working on an XML based image/text loading movie based on the tutorial on this site. things are working great, but im having a little trouble with two things. i should probably put the XML file here to put things in context.

now if you look below, there are a bunch of group nodes, with description nodes nestled inside. i want to be able to read any existing description values into an array, but i can only seem to extract the value for the first description tag with a literal

itemDesc[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;

anyone tell me how to get it from how ever many description nodes there are in the doc?

#2. I want to extract the values from the image tags only within whatever group is loaded at the time, into a single array. anyone know how to do this?

this targeting stuff is so confusing.

thanks in advance! tom
--

XML file:
<images>
<group name="item 1" id="0">
<description>this is the description for 1</description> // this one
<image id="0">images/image_1.jpg</image>
<image id="1">images/image_2.jpg</image>
</group>

<group name="item 2" id="1">
<description>this is the description for 2</description>
<image id="0">images/image_3.jpg</image>
<image id="1">images/image_4.jpg</image>
<image id="2">images/image_5.jpg</image>
</group>

<group name="item 3" id="2">
<description>this is the description for 3</description>
<image id="0">images/image_6.jpg</image>
<image id="1">images/image_7.jpg</image>
<image id="2">images/image_1.jpg</image>
</group>

</images>

XML Image/info Loading
hi there,

im working on an XML based image/text loading movie based on the tutorial on this site. things are working great, but im having a little trouble with two things. i should probably put the XML file here to put things in context.

now if you look below, there are a bunch of group nodes, with description nodes nestled inside. i want to be able to read any existing description values into an array, but i can only seem to extract the value for the first description tag with a literal

itemDesc[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;

anyone tell me how to get it from how ever many description nodes there are in the doc?

#2. I want to extract the values from the image tags only within whatever group is loaded at the time, into a single array. anyone know how to do this?

this targeting stuff is so confusing.

thanks in advance! tom
--

XML file:
<images>
<group name="item 1" id="0">
<description>this is the description for 1</description> // this one
<image id="0">images/image_1.jpg</image>
<image id="1">images/image_2.jpg</image>
</group>

<group name="item 2" id="1">
<description>this is the description for 2</description>
<image id="0">images/image_3.jpg</image>
<image id="1">images/image_4.jpg</image>
<image id="2">images/image_5.jpg</image>
</group>

<group name="item 3" id="2">
<description>this is the description for 3</description>
<image id="0">images/image_6.jpg</image>
<image id="1">images/image_7.jpg</image>
<image id="2">images/image_1.jpg</image>
</group>

</images>

Loading Serverside Raw Info
I'm trying to join to articles on Macromedia.com Both of the following article work for me individually.

Loading data across domains:
http://www.macromedia.com/support/fl...ad_xdomain.htm

Loading Raw Data (Minicing Words):
http://www.macromedia.com/desdev/mx/...xtreme001.html

What I'd like to do is load a bunch of text located on another server. For whatever reason when I try to load the data with Branden's metod in conjuction with the 2 domain method I don't get anything. I've confirmed that the asp I'm using prints the text on the screen when run by itself. When I hook into it with Flash, Flash never gets the data. Any suggestions?

Display File Name, Info, And Size Dymanically
is there a was for actionscript to get the file name, creation date and file size of a file, and display that information in a dynamic text field?

if it's possible, can the answer be written for the inexperienced actionscripter.... because that's exactly what i am.

thank you, flashkit community.

Saving Form Info Into A Text File
Hey all,
here is my dilemma, what do I need to do in order to enable site visitors to post their names and e-mail addresses into a text file. All the info should be stored into one text file.

If that is not possible, then any other "simple" solution would do.

thanks

Exporting Dynamic Text Info To A File
Is it possible to Export a dynamic text field and its style info from a swf? For example, to produce an xml document specifying font, size, style, leading and kerning for each text field In a swf...

I Want To Save To A Text File, Need General Info
When the user clicks export I want as3 to let the user choose a folder and filename to save a simple text file, then import lets them select a file and load its text contents.

Which classes should I research to make this possible as far as the file opening / saving is concerned? There will be no interaction with the server. If you paste the link to an example or a google search that has examples that would help too.

SharedObject class?
FileReferenceList?

Load Info Into Combo Box From Text File
does any1 know of a method wherein a combo box is populated with values | labels from a text file...
i found a site that does this,but they only pass the URL and the label...
i need a method that passes the label and value,not the URL...
in my case,i'm going to use the combo box for displaying user's selection in the next keyframe...

+++++++++++++++++++++++++++++++++++++++++++++

[FMX]Having Info From Database Displayed In Flash File
if i have a a database how can i get info from it show up in a flash document in a dyanamic text box

Load Info Into Combo Box From Text File
does any1 know of a method wherein a combo box is populated with values | labels from a text file...
i found a site that does this,but they only pass the URL and the label...
i need a method that passes the label and value,not the URL...
in my case,i'm going to use the combo box for displaying user's selection in the next keyframe...

+++++++++++++++++++++++++++++++++++++++++++++

[FMX]Having Info From Database Displayed In Flash File
if i have a a database how can i get info from it show up in a flash document in a dyanamic text box

Using Text File To Reference Info In Flash.
Does anyone know how to use a text file to reference information from flash?
for example, have a text file that has username and passwords and then have a flash built password protection app that references the text file to verify. it would be similar to using php and mysql but i dont want to do that at this stage.
thanks

Dynamic Field Info To Text File
Can someone help?

Here's what I need:

I have users placing information into a series of fields which combine the info in one dynamic text field.

How can I create a text file directly using the text in the dynamic text field? Is there a brief (preferably one-line) actionscript trick to do this?

Here's what I need:

Fields filled in by user --> Submit button clicked --> Dynamic field populated (up to this point done already) --> text field created after dynamic field populated.

Thanks for any help you can give.

Display File Name, Info, And Size Dynamicaly
is there a was for actionscript to get the file name, creation date and file size of a file, and display that information in a dynamic text field?

if it's possible, can the answer be written for the inexperienced actionscripter.... because that's exactly what i am.

thank you, ultrashock community.

Loading External Text Info
How do I set up a flash movie that refers to a txt file for its content. I have the dynamic text fields up, but dont know how to link them to the file. WHat is the syntax for the text file for the flash movie to read it?

Thanks.

Preloader Loading Random Info?
Hopefully this is possible...but hey, that is why i am here I guess, to find out.

I have a site with small video on part of it. I have 5 or 6 of these small video's. What I'd like is to have flash randomly play one of them each time someone comes to the site.

I was figuring the best way to do this would be to randomly choose which movie to play, and then use the loadmovie function. However, I realized that since I am using loadmovie, the video won't be preloaded with everything else, right?

Is there a way to get it loaded before the site starts?

Any help with how to do this, or even with the concept of how to do it would really be helpful.

thanks
ty

Loading Info Dynamically Into A Ticker
Yo, I have a news ticker, i want to load values into it which have been dynamically generated. What's the best way to do this? Read from a text file?

Copyright © 2005-08 www.BigResource.com, All rights reserved