ActionScript 2.0 :: Created An Interactive Map That Loads Info In From A Csv File?

Jul 22, 2009

So I've created an interactive map that loads info in from a csv file and displays that information on 120 cities with a radius around each city.The cities have been manually placed on the map and the data is sent to them from a custom function.The problem I'm having is with the RollOver effect on the radius as some of my cities end up underneath the other ones as the radius grow and subtract through a timeline.I'm just wondering of the best way to give each city a set depth and then arrange the depth order within a set number of depths.Should I attempt to put all the cities in an array that way I can check the size of each city in the array and order the depth = to the value of the radius size.

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Created A Movie That Loads XML File Into Flash

Oct 9, 2004

I created a movie that loads an XML file into flash and then.. does stuff with it (Like put text into text fields)My problem is that it works when I test it on my computer, but when I upload it and test it on my website, the XML file doesnt load.The movie is the XML load into has been loaded dynamically, as has the one above it (Like this: Lobby Clip > Games room clip > newgames Clip)

View 3 Replies

Make Interactive Map With Info Display?

Oct 20, 2011

I have something in mind like this: [URL] so each time, when the mouse is over each state, different information should show up in the right side box with different information. How should I implement this? should I draw the right side information box as picture, and then write a script to ask information to display when mouse is on certain state, is this a movie clip?

View 6 Replies

ActionScript 3.0 :: Making An Interactive Map When Press On A Button An Info Box Pops Up Using

Sep 2, 2010

i'm making an interactive map when preess on a button an info box pops up using. This is code for this. This works.

[Code]....

View 8 Replies

ActionScript 3.0 :: Mage Viewer Which Loads In Images And Their Info From XML

Nov 28, 2008

I'm making an image viewer which loads in the images and their info from XML. I'm wanting to have a list of the images titles, and clicking on a title brings up that image. I've parsed the XML into an array, and I'm using a FOR loop to go through the array and create a project_btn sprite, which contains a project_txt textfield within it to display it's name. As part of the FOR loop,I'm adding an event listener to listen for a ROLL_OVER event,which, for the moment just traces the project_btn's name. The problem I'm having is that it seems to only add the eventListener to the LAST project_btn... so the others are useless. [code]

View 2 Replies

ActionScript 2.0 :: When The Xml Menu Loads Swf File Its Structure Loads But Not Its Data?

Feb 23, 2010

have this flash xml menu that loads external swf files like this:

Code:
<item title="ABOUT"content_path="http://mysite.com/folder1/folder2/folder3/about.swf"target=""mouse_rollover_color="0xFFFFFF" mouse_rollout_color="0xDDDDDD" />

and I have this swf file with cms that I'd like for this menu to load. Currently the swf file load external text using this code:

Code:
if (contenturl1 ne "") {
loadVariablesNum(contenturl1 + "/" + userid + "/content.txt", 0);[code].....

but when the xml menu loads this swf file its structure loads but not its data.I tried using :

Code:
this._lockroot = true;

in the loading swf main time line but it did not work.I should also mention that the dynamic data that loads onto the swf that is to be loaded by the menu, resides not in it main time line but 4 movie clips deep .I don't know if that makes a difference or not.

View 1 Replies

Have An Animated Logo Swf File That Loads And Runs Once On The Home Page Every Time The Page Loads?

Jun 25, 2009

I have an animated logo swf file that loads and runs once on the home page every time the page loads. The logo has been updated to appear in three different colour schemes. I want one scheme to load and when the page is refreshed or revisited, one of the other colour schemes to load in its place. They can appear in any random order, just a different one to the one that played before reloading.Can someone point me to an answer or tell me how to do it? I have found a way in JavaScript but this only works on plain images, not swf files.

View 6 Replies

ActionScript 3.0 :: Import Mp3 File Info To Be Shown Whilst File Is Playing?

Dec 2, 2010

Created an mp3 player that works fine, but i need the track name, artist name, track timer, to be shown aswell?and i dont have a clue how do go about doing this.

View 2 Replies

ActionScript 2.0 :: ScrollBar Dragger To Be Positioned In Relation To The Info._y As The User Scrolls Info?

Jun 24, 2010

I have some scrolling content (info). I've also made my own scroll bar.I want the scrollBar dragger to be positioned in relation to the info._y as the user scrolls info.I have created two vars: one that worsk out where info._y is as a percentage and the other that works out where the scroll._y dragger should be as a percentage...

Actionscript Code:
var scrollBarPercent = Math.round(scrollBar.dragger._y / [code]........

also onMouseWheel working too.I need a small bit of code that takes the % of info._y and moves the scrollBar dragger to the same % but in relation to the Stage.height...so if projectGalleryPercent = 50%, make dragger._y 50% of Stage.height using scrollBarPercent.

View 1 Replies

Swf To Get Info From An XML File That Is Placed In A Different Domain?

Sep 23, 2009

Is it possible for a swf to get info from an XML file that is placed in a different domain? And if it is, how can I do it?

View 3 Replies

Get Streaming Info From A XML File?

Apr 2, 2010

I am using Adobe Flash Media Streaming Server 3.5 but I can't find any output file (fx a xml file) that I can pull out info from and use on my website via a PHP or ASP script. It could be nice - in the website - to retrieve info like "online users attending", "running / streaming state" (online or offline) and other relevant info about the streaming, so I on the website can display how many that are online when a webtv event is streaming.

View 19 Replies

ActionScript 2.0 :: Global Include Directory - Upload It To Server With The Flash File Or Does It Compile The Flash File With The Included Info?

Sep 9, 2006

If you have an .as file in the global include directory do you have to upload it to your server with the flash file or does it compile the flash file with the included info?

View 2 Replies

ActionScript 2.0 :: Getting Referrer Info Into The FLV File?

Jul 15, 2011

what i need to do is getting the Browser URL. problem is i only have access of FLA file. the SWF file is displayed in an iframe and that iframe will be displayed in some remote server. e.g.

www[dot]parent[dot]com this is the container page of which im trying to get the URL.
www[dot]child[dot]com this is the page that will be displayed inside the parent page iframe and my SWF file will be in in that page.

is there any way i may get php referrer ($_SERVER['HTTP_REFERRER']) info into the FLV file?

View 3 Replies

ActionScript 3.0 :: Determine Swf File Info From Within Itself?

May 18, 2009

how to determine swf publish date/time stamp from within the swf?

I have a template fla used to build apps (in AS3) and would like to know some info about when it was published.

I initially thought it would be in the loaderInfo but it doesn't have the date/time stamp of when it was published (or at least not that I could find)

View 2 Replies

Data Integration :: XML File Does Not Have Any Style Info Associated

May 18, 2008

I want to integrate following php-file into my Flash-movie, but something still does not work.
Following error message appears:
"This XML file does not appear to have any style information associated with it. The document tree is shown below."

View 1 Replies

ActionScript 3.0 :: Save Page Info In XML File?

Jul 15, 2010

I need to create an application where user can add multiple text boxes  in the canvas and export it to image, user will also have the access to  save it for future use they can edit it for which i need to store the  canvas information to XML file.how can i send the textbox info to XML file so  that I can save it?My main problem is to send the canvas info from flash, I have a feature  of adding text box dynamically so when someone save the application i  need to send the info of all the textbox from flash is there any way to  find out the total no of textbox in the canvas and get the info of it to send it out of flash.

View 1 Replies

ActionScript 2.0 :: Read Info From Text File?

Jan 30, 2009

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-

[code].....

View 1 Replies

ActionScript 3.0 :: Read Info From Txt File To XML Line?

Mar 4, 2011

Below, I will copy the code I am using and I have placed to .fla file and images online, but I cannot place the link here (don't have enough posts yet), so ask me if you want.he script runs perfectly and loads its parameters from the "hardcodedXML" variable. This way, however, whenever the images and their information need to be changed, someone with knowledge of flash and AS will need to open the sourcecode and alter the "hardcodedXML".I am currently assigned to make a renewed website for my employers and would like to enable them (no knowledge of flash or AS whatsoever) to edit the contents of the scroll box. The easiest way for "dummies" is to have a .txt file in the same directory, that contains the stuff that is put in the "hardcodedXML" right now.My actual question/problem: how can I create a txt file that is read by the script, to store the string in "hardcodedXML" (the current string that is hard coded looks like "<photos>...</photos>".I've tried searching Google, but didn't come up with anything.

ActionScript Code:
import fl.data.DataProvider;
import fl.events.ListEvent;

[code].....

View 1 Replies

ActionScript 2.0 :: Sound Player - Getting Info From XML File

Aug 4, 2008

I created an mp3 player but i have problems in getting info from XML file (song duration)

[Code]....

I'm new to the action script and problems about creating functions after preload() function i call for firstsong(). I have firstsong(), prevsong() and nexsong() functions and timebar() function that is called in each firstsong(), prevsong() and nexsong() functions. In problems about streaming audio this can't work for me and i come up with an idea that to add each songs time as seconds on XML.

View 3 Replies

Share Swf File That Loads Another External File?

Jun 8, 2011

So I wanted to give a demo of my project to someone, but I encounter a problem, Im loading an external swf file, and even if I give him both files, it doesn't work.Share swf file that loads another external file?

View 1 Replies

ActionScript 2.0 :: Flash File Which Loads An Xml File?

Oct 28, 2007

I'm have a flash file which loads an xml file sub.domain.com/data.xml. It loads fine when the swf is loaded from sub.domain.com but it does not load from [URL]..It's all the same directory on the webserver. I tried using crossdomain.xml and allowed access from *.sub.domain.com. Doesn't work.

Any idea what would work? besides using php to determine the current domain (www or not) and load in the path via flashvars.

View 2 Replies

ActionScript 2.0 :: Pulling Multiple Info From Text File

Jan 28, 2009

I am currently trying to modify a hangman game I found on here (URL...). I'm not very good at actionscript and hopefully this will be a good exercise to learn more - I really want to learn how to make games. I have seen hangman games that include clues for words, but the only games I can find that I can read the source in don't have a clue field, and pull the words from an external .txt file. Is there a way of also pulling phrases to be as clues from these files? I could just create another .txt file and make it a new variable, but of course I would have the problem of it not matching the word. I hope i made sense.

View 6 Replies

Data Integration :: Xml File To Upload Info To Flash App

May 3, 2006

I'm using a xml file to upload info to a flash app. For the xml I used utf-8 encoding but I'm having a problem the "&" symbol isn't displaying rigth.

View 4 Replies

ActionScript 3.0 :: Upload File And Get Info From Server Simultaneously

Mar 2, 2012

I want to upload file and get some information from server at the same time. I have the code:
file.addEventListener(Event.COMPLETE, function():void {
trace("complete 1"); });
file.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA, function():void {
trace("complete 2"); });

When the returning data is not empty, I see:
complete 1
complete 2
But when the returning data is empty, I see:
complete 1
How can I understand that file uploading is compete absolutely even if received data is empty?

View 11 Replies

ActionScript 3.0 :: Loader - Get The OnLoadComplete Info Out Of The Swf Witch Contains The Flv File

Jun 23, 2009

my page contains a Loader to load the different parts of the site as swf but i also have a little intro, witch ist a .flv file. i knwo i can�t load a .flv file in the loader class so i can put it into a swf an load it this way. the thing ist, after the intro is completed my page should get the info to change

1. a var which will change the proberties of the loader
2. the color of the Header/Footer
3. initialize a little x tweening with the body

is there a way to get the onLoadComplete info out of the swf witch contains the flv file or do i have to change the loader to a flvplayback component and afterwards back to a loader

and if i have to do so - how do i implement the flvplayback component into my .as file -i tried it and i always get the message, that he cant find the class.

View 1 Replies

ActionScript 3.0 :: Send Info From Submit Button Through Ext File?

Jul 12, 2011

I have a submit button created in an Actionscript file. I want to send data when user clicks the submit button(never mind how the data is sent-I just need to check the event listeners). I tried placing an event listener for the button in the AS file like so: I'm getting an error about undefined method,blahblah so I tried going through the main timeline. Go to frame 146(labeled "this"). myform creates instance of class formtest; subbtn is the name of the button created in the formtest.as file. how the heck do I remove this form when user exits frame?

View 2 Replies

ActionScript 2.0 :: [FMX]Having Info From Database Displayed In Flash File?

Jan 31, 2004

if i have a a database how can i get info from it show up in a flash document in a dyanamic text box

View 3 Replies

ActionScript 2.0 :: Populate An Array With Info Loaded In From An Xml File?

Nov 27, 2006

I'm trying to populate an array with info loaded in from an xml file. I've got the xml loading fine and I can trace everything but cannot seem to access the info outside of the function...here's my code:

Code:
myXML.onLoad = function(success) {
if (success) {
populateNav(myXML);
} else {

[Code]...

My trace inside of the populateNav function works great...all the info is there and image_path returns all of my...image paths. So my XML is fine...what I can't seem to do is pass that info outside of the populateNav function. My imageholder trace returns undefined. I think it's got something to do with the fact that the imageholder trace is being performed before the xml is fully loaded...not sure what to do about that though.

View 2 Replies

ActionScript 2.0 :: LoadVars - Sending Contact Info To PHP File

Jan 19, 2004

I am using loadVars with the send method to send my contact info to a php file. This works fine but when I press the submit button the browser goes to the email.php file. How do i prevent it from opening that file in the browser window?

Heres the [AS]
lv = new LoadVars();
lv.name = name;
lv.company = company;
lv.phone = phone;
lv.email = email;
lv.message = message;
lv.send("email.php", "POST");
}
[/AS]

View 2 Replies

ActionScript 2.0 :: [FMX] Having Info From Database Displayed In Flash File

Jan 31, 2004

if i have a a database how can i get info from it show up in a flash document in a dyanamic text box

View 3 Replies







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