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




How To Cache Data On User PC



Hi,

can someone provides me a sample code to cache variable and data in user's PC. For example, I have three servers on three different locations. If the user in west coast of US, I want it to use the west coast server. So for the first time the user access the movie file, my flash player will test three connections. After the test, it will store the fastest server in user's PC. THe next time the user access more movie files, my player will retrieve the variable and data store in the user pc to determine the fastest server.



ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 07-20-2007, 01:17 PM


View Complete Forum Thread with Replies

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

To Cache Flv On A User's Pc
I want the flv contents to be cached on a user's pc.

Because the flv vedeo have to be played again and again.

Does Flash media streaming server support that?

Streaming but cached is possible?



























Edited: 04/07/2008 at 05:23:50 PM by Jinjin40

Preloader In User's Cache
I am curious to know if there is any command to put a scene in someone's cache....

I have several pages that have the same preloader...is there a command to have that preloader stay in the viewer's cache...

basically my understanding is that since it is an .swf; a scene in a movie won't be able to be cached...

can anyone with some flash education answer this question??

It would be a great help if I could cache the preloader...

8 ))


AOO.......................................

PreLoading In User's Cache- Best Way?
Three hours of searching and getting kind of brain dead on this.
Basically, the opinion seems to be that one loads the swfs into a mc and makes them invisible (alpha 0%). Then, when you want to display them you alpha up to 100% on the frame in question.

Is there a better way?
ie- can I load an external swf into the cache at runtime but not put it on the stage until later?

How To Load All Movies Going To Be Used Into The User's Cache?
Can someone tell me how to load all movies I'm going to use in my main movie into the user's cache so that it doesn't have to load anymore when the main movie calls it.

Any help appreciated. =)

What If I Want To LET USER CACHE Videos Streamed Using FMS3?
For my new video website I want the users TO BE ABLE TO CACHE but at the same time I want them to have the benefit of jumping anywhere on the timeline to see only the part they are interested in without downloading complete video (which can be done only through streaming IMHO)

Is it possible in FMS3? any other solution?

User Cache Creating Dynamic Update Problems
Does anyone know a work around for content uploaded dynamically that is not being displayed due to user's cache still loading old data?

Working On Data Cache In Flash
1. this make cache.

this.lv=new LoadVars();
this.lv.onLoad=function(ok){
if(ok) txt.text=this.kus;
else txt.text="ERROR", getURL(src,"_blank");
}
this.src="http://localhost/data.txt"
load=function(){
this.lv.load(this.src);
}


2. this NOT !

load=function(){
getURL("any.htm","_blank"); // no matter if html exists
this.lv.load(this.src);
}

weird but it works. of course it is not a perfect solution but it works.
the main question is why 2.nd method works. what did getURL ?

reply me if u have got solution.

Does Load Variables Cache Data Somehow?
I'm trying to read two variables from a .php file with laodVariables.

But variables change constantly

Reading works fine, but occasionally it seems to cache the results somehow (in other words, it returns old values)?

Any ideas about getting rid of this caching?

(Flash mx 2004 pro)

Many, many thanks in advance.

— Harry S

Browser Cache And Data Load Issue
Hi there....

I have a flash 8 movie that uses amfphp/flash remoting. I have written various AS classes and such to assign my data to things like text fields, loaders and so on.

Now i have a movie that when I load it with a clear brwoser cache (replicated the behavior in both firefox and safari and win firefox), my movie works as it should. Now if i refresh the page, and view again, some of my data does not load. The odd thing is that it is not ALL of the data that does not load. Just some of it. Now if I clear the browser cache and reload the movie, all works again! Of course until the movie is reloaded again.

has anyone else experienced behavior like this before? It is driving me mad!

MX: How To Avoid Clustered Data Fragments From Overflowing The Cache..?
Yea- that's what I am currently struggling with.

Hello, by the way

I have an application that loads XML files, processes them into arrays and shows the formatted content on screen. It refreshes / reloads this data once every 90 seconds and after about 20 minutes of running, it gets noticably slow.

Now my question is, what can be done to make sure that no fragments or traces of old data are at risk to clog up the cache? I always use the same arrays and array names, I even re-create the arrays (arrayname = []) at reload so they should get re-set by that, as far as I know?

This is the link, by the way:
http://www.sportal.de/tracker/tracker.html

Just click on one of the Game Links at the top (e.g.: "Arm. Bielefeld 0:2 M'gladbach") and let it run while you do something else. When you come back to it after about 15 - 25 minutes, it's creepingly slow.

This is not an attempt to generate clicks or something- if you want, you can also use this link, it's just the actual swf: http://www.sportal.de/tracker/pure.html (the embedded swf is the same in both links).

So- if you know any way to actually empty the cache on runtime thoroughly, I'd be eternally greatful for suggestions

Thanks! ^^

Preventing Browser Cache Of Dynamic Data In Flash
My tests have show that dynamic data caching in Flash is NOT a problem in OS X in Safari, Firefox and Netscape theres also NO problem with Firefox on a PC. Player 8 is on all these browsers.

HOWEVER the only way I can get updated dynamic data to display in IE on a PC is to manually clear the browser's cache. This is a problem.

I have already tried several differenet META tag options but to no avail. The data is brought into the .swf from PHP via loadVars.

How can I prevent caching of the dynamic data???

Since the solution may be solved thru PHP and the sending of certain HTTP headers I'll also post this in the PHP forum.

Thanks

Storing Data About A User
is there a way to store infomation about a user eg storing there picture of something they changed like a charicters hair using cookies or something diffrent any help apriciated
thanks

Saving User Data
Hi Flash gurus,

I posted this in a different area a few weeks ago, but wasn't able to get the help I'm looking for so here it is again...

I'm making a stand alone, interactive .fla. (MX2002) for young children.

Students will:
1. enter their name
2. choose one of four options
3. progress through a game by choosing "yes" or "no" options (with the use of r and l arrow keys). Hitting the r arrow key increases a counter by one each time. Movie ALWAYS goes forward, regardless of which arrow key is pressed.

I've got simple variables that capture this data currently, and then display it at the finish, but that data is lost once I run the .fla a second time.

I need a way to store data for each of the points above (likely in a .txt file that I can later import into Excel or a graphing program to display their results over a period of time). Maybe I have .txt on the brain and SharedObject is the way to go?

Someone sent me some info about SharedObject (Thnx, btw), but how can I use the info that SharedObject captures to keep the user's results (for each time they use the .fla) and then use it later?

How do I initialize a .txt file in Flash and send the final data to write to the .txt file after they use it each time? *The .fla can't re-write over previous data, but instead collect data over a long period of time*. Also, is there a function in Flash that can give a time/date identity, rather than have the user enter the time/date themselves?
I've attached my file in case it helps.

Any help is greatly appreciated!

User-Defined Data
I need to build a website for a client who is a golfer. He wants to be able to upload his stats daily from his website to his website. I'm not new to Flash but coding is not my thing. I use Flash 8.

Saving User Data
Hello everyone,

I'm relatively new to Flash and AS3, but I am in the process of developing a game that I would like to eventually publish to the web. My question is, could someone point me in the right direction for saving and retrieving user-specific game data?

Should I store data in XML files?

Should I store data in a database?

Locally vs On the server?

etc...

The kind of data will be user's characters information, level, skills etc. Resource data both monetary and non etc.

Are there any real good tutorials on this subject, books or articles?

Thanks in advance for your help.

~Mullhavoc

Saving And Using User Data,
ok, what i want to do is make a flash site that allows people to add a movie clip to the screen by clickiing, very easy,
but then i want them to beable to enter in there name and whatever.

but also i want them to see all other peoples movieclips they left behind, and see what information they typed.

does anyone know how i might go about this? i know there are a million ways to do this, but how would i
1) keep the clips on the stage after someone leaves, and

2) retain there info , i assume through xml or somehting but i need a little direction , i am fairly fluent wiht actionscripting, but dont know any other code really



thanks for any help possible

[F8] New Method For Sending Data To User
Hi everybody,

actually it seems to be a quite simple question but I'm puzzled anyway. For several weeks, I'm using flash 8. In flash 5 it was no problem to send data (in my example mp3) to the users of my flash-page. I created a button, the users could press it and download the data. I used the geturl post method. But in flash 8, this seems to be no longer appropriate. Can anybody help me with the correct script for my button. This would be nice. I know, it's not a challenge for the most of you but it would help me...

Thanks in advance..

Capturing Data As A User Leaves...
Hi,
I'm working on a 3-dimensional graph that renders a users experience through my site. Its all working great except it tends to not catch the last project the user views because they tend to leave without closing the project. Is there a way to invoke a function as the user leaves a web page?

Help With Reading User Entered Data
hey guys hoping someone can help me with this or point me towards some tutorial ive had a look and can't see exactly what i need...

I have a calculator that calulates body mass index. it works fine with predefined values but not when users input the values

I think the numbers entered into the input text boxes are not being read as numbers...i have initialised the variables as numbers and If i put in values to start it works fine....i get NaN if i a user adds in a value...help!

Sending User Text Data
Hi everyone. I am not certain if I am in the correct section.

I have a website designed in Flash. The site has a contact section with 3 fields (name, e-mail and message). Having completed these fields one would click "submit" to send the entered data to a text file which resides on a Linux (Apache) based server.

My question is... What action statement do I need to configure?

Any help suggestions will be appreciated.

Regards

Fred

Saving Data When User Closes App
I have a Flash application in which I have a close button. When the user hits the Flash close button, I then need to save some data, including the time of the closing and any other data that's been saved over the course of a tutorial like errors they've made. However, if the student uses the Windows close functionality (Alt-F4 or X on browser window), I want to have an alert display telling the user to cancel the close.
Now, I've seen other posts elsewhere that I can use the onBeforeUnload to alert the user, but I get this alert even if they use the Flash close. Can I set a variable within the HTML page's javascript so that the page won't display the alert? And if so, how do I do that?

Chris

User Login Data In Flash
Hi all, it been a long time since i have had to use flash

Is there a tutorial or an example of a flash site, where users can register and lo in to? and then have some stats of clicks viewable when they are logged in?

I understand that it will involve a database of some kind aswell

Thanks for any help on this, just getting back into it all and i am jumping in the deepend me thinks

Storing User Input Data For Cart
Hi, All,

I'm having a little actionscript problem I can't seem to get my mind
around. I hope someone here can help me out. It's a little complicated.
Bear with me.

Here's the situation: On _level0 are the navigation buttons/links
which, when selected, load the appropriate movie into _level1. That part
I've got. Now, one of the movies (let's call it "itemsForSale.swf") is a
movie which dynamically loads various other movies into an empty
placeholder that is in 'itemsForSale.swf'; the user navigates through
these "items for sale" using basic "next" and "back" buttons. that part
I've got. Now, each of these "items for sale" movies has an "add to
cart" button that, when released, needs to store a variable name for
that particular item. So, for instance, let's say there are 5
items/movies from which to choose: shoe; shirt; tie; sock; belt. Let's
say the user clicks the "add to cart" button for only the shirt, shoe,
and sock. The user then clicks "checkout" and the "itemsForSale.swf" on
_level1 is replaced with a new movie called "viewCart.swf" Here, the
items the user has added to his/her cart are displayed in text fields:

1. Shirt
2. Shoe
3. Sock

My question is this: how do I store the user's selections in the _root
or _level0 for later retrieval when the user is ready to "checkout." You
see, the user does not necessarily need to "checkout" after they've made
their selections; they may want to read "company news" or read "about
us," both of which, in this example, are movies loaded into _level1 from
the navigation on _level0, so even though "itemsForSale.swf" is
unloaded, the user's selections need to be stored for retrieval when the
"viewCart.swf" is loaded.

I hope this makes sense, and someone can help.

Thanks,
DavidQ

Save Data When The User Close The Window
hi I'm new
how do we save data (to a database) when the user close the window (which contain my flash game)?
I thought of using onEnterFrame to save data each frame, but it's not effective

Flash Survey For Collecting User Data?
Hi all,

I am looking for a Flash component/script that will allow me to have a survey on my homepage, where users can fill out answers to questions. Most of them will probably radio buttons. Example:

Who are you?
- student
- teacher
- administrator

Do you like our website?
- Yes
- No

I looked on Macromedia's Flash Exchange, but could not find anything. I also may not be calling this the right thing (survey, data collections?) Any help would be appreciated.

Thanks,
Clearweb

Writing User Data Out From Flash Web Site
Hi,
I have a flash web page that I am capturing simple data from a user. I have 4 radio buttons that specify which reports the user wants me to send.
I also have a text input field for the user to enter his/her email address for me to send the reports to.

I know how to capture the data in the radio buttons and the dynamic text field, but I can’t find information on how to write that information into an email from the web page to me so I can then process the request. What is the simplest way to do something like that? I know the getURL(mailto:.....) will send an email to me, but how can I include the users requested information? Or can I write the information to a file and then email the file??

Thanks for the help,
Bojomatic

How Fire Event When User Clicks On Dynamic Data?
This is a big question, I realize. But any leads to get me started would be greatly appreciated.

I have a Flash document that dynamically loads events (it's currently being displayed in the lobby of the NY Hilton). For another application, I'm wishing to allow a user to click on an event and fire an event.

Given that the controls for a given event row are txtEvent1ID (hidden), txtEvent1Name, txtEvent1Date, etc., how do I begin to do this?

Thanks for anything to get me started.

Ron Cook
Boulder, CO

Create PDF Pre-filled With User Entered Data From Flash?
Hi,

I am working on a Flash 8 cd-rom based presentation that has a form in it. After the viewer enters their information into the form fields my client is requesting that they be able to print a document with the information that was entered filled into the right fields.

They have been talking about this printable document being a pdf. Is it possible to dynamically fill in info from flash to a pdf? And will this work from a cd-rom?

I have found a component named blazePDF which seems to be able to do this, but I wonder is there is a better component/way to accomplish this?

Is there a better way, like using flashpaper? I don't have any experience with Flashpaper, the one time I tried it, the results looked terrible. The client wants this to print sharp.

Any help or advice is much appreciated.

Thanks,

oohah

ExternalInterface, Java And The User? (Saving/loading Data)
Hey all,

I am wondering if anyone has used externalinterface (or fscommand) and java in order to create a save/load window. Where flash passes a string of data to java, and java presents the user with an option to save this data into a text file. Additionally, the user can load said file, but java passes the string to flash.

Any thoughts?

Thanks,
Cedwyn

Submit Form Data When User Presses Enter
Hi,

I'm working on a small form which I want submitted when the user presses Enter. I'm sure I've done this before, and I'm also sure it's quite easy, but I can't seem to figure out how to do it.

Thanks in advance

Post User Variable Data From Flash To Songlist.xml.php?
:D I have a tricky one for you guys, I'll try and stay short with it.

I'm programming a musician community website.
From a Mysql query and user MP3 dir paths, I am loading about 18 user variables into flash from the appended url. All of these variables successfully display in dynamic text fields I've created.

I also have a 'songlist.xml.php' that creates the xml for flash use.

Tricky part here:
I would like to send some of these varibles to the 'songlist.xml.php', and have the rendered xml file act like it should when it returns to flash.

I've seen the documentation for "xml.sendandload" and feel that would do it. But all I've seen the uses of it for are "logins" and "emails"

Could someone here show an example of how one would post variable data from dynamic text fields in flash to a "songlist.xml.php". And an example of how to gather them correctly in php to pop in place in the xml rendering?

Or should it work just like it does in documentation, for my needs with mp3s and Sound Object functions?

This one is tough. So thanks for helpin' if ya can.

User System Save And Load Server Side Data
Im using flash mx 2004 pro and i want to set up a user system so that when a person logs in, they have all their settings loaded and they can edit them at their convineince. I've been investigating it for a while and i cant find a way to do it without a lot of server side script. Im looking for anyway to do it. My site is a linux server so no .asp or anything. Thanks

Beginner: Writing Data To Server, & User Security Via Flash?
Note: I moved this thread from the MX forum as it seemed like it was out of its element in that forum.


1.) Well this is a simple one. Do i need PHP for sure, to write my flash data (any text data i need to save) on a server? In theory it should be no problem as my coding skills should be portable enough to do a bit of PHP, i just want to know if i need to brush up.


2.) I'd like to make a flash blog, but i don't have a clue as to how i can post my data.

I mean i so badly want to do it all from within the flash itself. However how do i control Who Posts? How can i make it so someone cannot just take apart my .SWF and see my password hidden within.

I'd prefer to stay away from using some MySQL database, mostly because i know so little of PHP it would just add to problems.

Also, any notes on securing my PHP files that would write said data (such as giving posts to a website)

Can Flash Store Data In Flat File On User's Local Machine?
I am developing a CD ROm training piece and need to know if it's at all possible for Flash to store data on the user's machine in a flat comma delimited file without the use of any server side languages?

I need to store a user record with about 5 fields. The user would pop the CD in, take the lesson and, ideally the responses from the lesson would be stored in a local text file.

Is that possible? If so, how?

Thanks

User Levels, Cell Phones, And User Registration, Plus Cookies
I need to quote a client on the following and need to know how much work is involved, ie hours. The programming may be done in PHP (unless its easier to do it all with AS), and the so the .swf needs
to talk to other files on the server.

Requirments are as follows:

1. contact form that: validate form, generate email, generate SMS for cell phones

2. registration form that: validates form, checks record, stores record if new, creates and sets cookie so they don't have to login next time, re-directs to appropriate page, sends email confirmation, deletes record if bad.

3. "extranet": validate i/p, check group (user level), send to user group destination


I just need to know if this is a simple couple thousand dollar thing or a complex many thousand dollar thing.

I can't guarantee anything (I don't write the cheques around here), and depending on the complexity of it we may be looking to subcontract some of it out.

Email me directly at: jonny@northstudio.com if you can be of any help.

MX:Cache - Please Cache The Images
Hello,

I load jpegs into a MC for a photography website. The images should cache in the browser (plenty of space allocated) but they do not. The images are loaded by replacing the previous image in the MC - so if I want to view a previous image I must load it into the MC again.

However, this should not be a problem from what I understand.

I use a Mac and IE 5 - I know it works on a PC!!

Does anybody else know of any issues relating to non-caching on a Mac??

Thanks in advance for your help.

Osc

Argggg IE Why.....wtf? Cache? No-cache?
http://www.walrusdogblues.com/colouringBook/?pageId=2

first time you view it in IE it should be fine (with crayon box in top left)
after that it renders but not the crayons....

if you cleare cache it works
Ive got pragma-nocache tags....
and im appending a date to the swf url to make each request unique but its still seems to be cacheing...because if you clear cache the crayons show up fine

It works in FF, works in Opera....but the damn crayons wont show in IE unless you clear your cache each time....


please anyone know why? im going crazy



errr I guess this should be in serverside if a mod would move it

Cache Cache Why Wont You Go Away
I have a client side dynamic graph whose values will change in the graph but the actually bars do not. It seems as though the graph writes over the old one. I'm thinking the prob is with the cache but do not know what to do about fixing that.
I tried setting no cache or the timestamp to an earlier date forcing it to clear the cache in the meta tab but that didn't work. I really do not know what to do, and would appreciate any help advice work arounds. Thank you

Mx.data.components - Unable To Declare Data Component Types In External Class Files
Hi all,

FlashMX 2004, v7.2:

I am trying to declare instances of data-components (DataSet and DataHolder) in external classfiles, but Flash can't find the sourcefiles for any of the data component classes in the classpath.

According to the help-files, the classname for the DataHolder component is:

Code:
mx.data.components.DataHolder


Similarly, the classname for the ComboBox component is:
mx.controls.ComboBox

Code:
mx.data.components.DataHolder


In the following, the ComboBox gets declared, and the DataHolder generates a "Class can't be loaded" error:


Code:
class my_class extends MovieClip {

var my_cbox:mx.controls.ComboBox;
var my_data:mx.data.components.DataHolder;

function my_class() {
// constructor function
}

}


Sure, it fails because there is no "components" folder in the mx.data folder (at least on my system), and I have been unable to find any DataHolder.as file anywhere either, even though the documentation gives examples that reference the mx.data.components-folder for various data components. I even tried re-installing to make sure I had not accidentally deleted any classfiles, but still no luck.

Am I missing something really obvious here? Does anyone know how to successfully import, declare or otherwise make use of data-components in external class files? Any help greatly appreciated.

Send Form Data To A Php Script Which Writes The Data To A .txt File
Hi!

Ok, this might be very easy but I´m new to both AS and PHP so I´m struggling here and I havent found any useful tutorials to use only small bits here and there.

What I want to do: I have a form which send data to a php script which then writes the data to a .txt. This .txt file is then used by a .swf file to display certain values.
I also have 1 field that I want to use as a validation field as a simple(but yes, not very safe) way to make sure only the right persons submit information.

I have got the .swf file to read the .txt file so thats no problem.

Has anyone got any suggestions about how I do this?

I have an idea of letting the validation field be checked against a .txt file and if one of the lines in the .txt file matches the validation field the rest of the information is submitted and sent to the php script.
Difficult?

Many thx in advance!

Is There Anyway To Read Data In From A Text File And Populate An Array With The Data?
hello,
i'm new to flash, and i'm trying to create a photo gallery. however, the photos may not always be the same, and i need to have a way to easily change the pictures without having to go back into flash to change the code everytime. i thought a good way to do this would be to read the names of the pictures in from a text file and then use those names to populate an array, similar to the tutorial on creating a photo gallery on kirupa.com. the problem is, i have no idea how to do this. anyone have any ideas?
thanks

Converting Internal Array Data Into External XML Data [renamed]
I have this code inside my flash to name my navigation menu. Now I want to put this outside flash and load it via XML. How do save my different arrays into a variable for later use in my code?

In my nav fla (what i want to load from XML):

Code:
// MAIN MENU ARRAY
var mm_array:Array = ["MAIN1", "MAIN2", "MAIN3", "MAIN4"];

// SUB MENU ARRAY
var sm1_array:Array = ["sub1", "sub2"];
var sm2_array:Array = ["sub1", "sub2", "sub3"];
var sm3_array:Array = ["sub1", "sub2", "sub3"];
var sm4_array:Array = ["sub1", "sub2", "sub3", "sub4"];
var submenu_array:Array = [];
XML loading code

Code:
// LOAD MY XML
var myXML:XML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad = function (success:Boolean):Void {
if (success) {
// what goes here to define: mm_array, sm1_array, sm2_array etc
myXML.load("myXML.xml")
XML file something like this:

PHP Code:



<navigation>
    <menu>
        <mm_array>main1</mm_array>
        <sm_array>sub1</sm_array>
        <sm_array>sub2</sm_array>
    </menu>
    <menu>
        <mm_array>main2</mm_array>
        <sm_array>sub1</sm_array>
        <sm_array>sub2</sm_array>
        <sm_array>sub2</sm_array>
    </menu>
</navigation> 

XML Data Displayer, Help Adding Multiple Data Fields Relating To XML
I recently used the Displaying XML Data tutorial, but cant seem to figure out how to add more dynamic text fields and populate them with more <person> and <comment> attributes.

Here is my code:

function loadXML(loaded) {
if (loaded) {
_root.inventor = this.firstChild.childNodes[2].childNodes[0].firstChild.nodeValue;
_root.comments = this.firstChild.childNodes[2].childNodes[1].firstChild.nodeValue;
name_txt.text = _root.inventor;
comment_txt.text = _root.comments;
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("inventors.xml");

and xml:

<?xml version="1.0"?>

<inventors>
<person>
<name>Thomas Edison</name>
<comment>Inventor of many things such as the incandescent lightbulb.</comment>
</person>
<person>
<name>Doug Engelbart</name>
<comment>Invented the mouse at the Stanford Research Institute</comment>
</person>
<name>Patrick</name>
<comment>did this xml file</comment>

</person>
</inventors>

I am trying to display Patrick - and did this xml file.

Could you please help me figure out what I am doing wrong here?

Is There Anyway To Read Data In From A Text File And Populate An Array With The Data?
hello,
i'm new to flash, and i'm trying to create a photo gallery. however, the photos may not always be the same, and i need to have a way to easily change the pictures without having to go back into flash to change the code everytime. i thought a good way to do this would be to read the names of the pictures in from a text file and then use those names to populate an array, similar to the tutorial on creating a photo gallery on kirupa.com. the problem is, i have no idea how to do this. anyone have any ideas?
thanks

Help Me Define My Search.. ( Sound Data To Graphic Data)
I don't know what the actual terminology is so my searches are tanking. What I want to do is to take an audio file and based on the tones and whatnot generate graphics that move with the music. The visualizations in Windows Media Player do exactly what I want but I don't know what it is actually called.

Any help to point me in the right direction is much appreciated.

Thanks

Scroll Bar Works For External Data But Not Internal Data
Howdy,

I have a dynamic text box named 'outputbox'. This is set for multiline. I have an associated scroll bar.

I make a lot of these kind of calls:


PHP Code:



history.onPress = function() {
    outputbox._visible = true;
    loader = new LoadVars();
    loader.load("history.txt");
    loader.onLoad = function() {
        outputbox.text = this.history;
    }; 




This works great, the scrollbar becomes active when the text goes beyond the outputboxes boarders.

In addition, this 'outputbox' also has a variable (Var) associated with it named 'myTally'. At some particular frames I am generating content for this variable thusly:


PHP Code:



for (receipt = 0; receipt<23; receipt++) {
    
    description = _root["config"+receipt][1];
    price =  _root["config"+receipt][2];
    if (description != 0) {
    mytally = (mytally+"
" +description+" "+ price); }





Indeed, the outputbox certainly gets populated but the scrollbar does not work. When I select-and-drag the text it definitely goes beyond the boarders of the outputbox. If I change the font size of this outputbox (8pt to 16pt) then the scrollbar *does* work.

Why does the scrollbar react to an external file and not my dynamically generated variable? Is something not scoped or in focus? I really have no idea. Anyhow, any suggestions of where to look for resolution would be greatly appreciated.

Thanks,
Cheez

Flash Data Intergratino Useing Xml Data Bases
im not huge newbee to this , iv overcome the majority of the studid little qustions but i ask you this , how do you create adatebasse of say mp3s thru flash using a xml database. first, how do you embeed say mp3 files into a xml document and so on and so on

How To Drag Column Data From One Data Grid To The Anther?
How to drag column data from one Data Grid to the anther?
Hi,
I build an application in mx2004 and I have 2 dataGrid instants containing data.
I am looking for a way to let the user drag a row of data from a data grid and drop it in anther data grid.
I have an “EventListener” on “myListener.cellPress” caching the data, but I could not find a way to determine where to drop the data and how to insert it to the destination dataGrid.
Thank
Nimrod

Flash Sends Data To PHP, Browser Waiting For Data
Hi,

I have the following problem. I'm implementing a flash form mailer using PHP to send out the mail. I'm doing this in the actionscript to sed out the data:

_root.mcDataField.loadVariables("form.php", "POST");

Then my PHP script looks like this:

$sendTo = "xyz@server.com";
$subject = "Some title here";

$headers = "From: " . $_POST["Name"]. "<" . $_POST["Email"] . ">
";
$headers .= "Reply-To: " . $_POST["Email"] . "
";
$headers .= "Return-Path: " . $_POST["Email"];

$message = $_POST["Message"];
$retVal = mail($sendTo, $subject, $message, $headers);


When I sendthe data, it gets emailed, but the browser shows (in the bottom left corner): "Waiting for xyz.com", where xyz.com is the server I have my files on.

Any idea would be greatly appreciated! Thank you!

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