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








How To Display Simple Weather Info In Flash


Hi,

Where can i get the weather, in realtime (let's say each 10 minutes), of a specific place like Newyork, Dubai etc and display it in flash ?. I want to incorporate the information into the design that I have made.




ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 02-13-2007, 06:59 AM


View Complete Forum Thread with Replies

Sponsored Links:

How To Display Simple Weather Info In Flash
Where can i get the weather, in realtime (let's say each 10 minutes), of a specific place like Newyork, Dubai etc and display it in flash ?. I want to incorporate the information into the design that I have made.

View Replies !    View Related
Weather Info Display In Flash
Hi,

I have got a weather display file in flash.. I modified it and its working locally.. but on the server the data is not loading. Please have a look at the file attached.

View Replies !    View Related
Weather Info Display In Flash
Hi,

I have got a weather display file in flash.. I modified it and its working locally.. but on the server the data is not loading. Please have a look at the file attached.

View Replies !    View Related
Display Weather Temp In Flash?
Has anyone worked on any weather display using Flash?

Im working on getting three cities to display the weather.. any good refrence links maybe?

View Replies !    View Related
Display HTML Weather
I would like to place an HTML generated weather link in my Flash authored site. Following is the code that I have downloaded from http://netweather.accuweather.com/ad...gnup-page3.asp

//// BEGIN
"<div style='width: 120px; height: 60px; background-image: url( http://vortex.accuweather.com/adcbin..._120x60_bg.jpg ); background-repeat: no-repeat; background-color: #ffffff;' ><div style='height: 48px;' ><script src='http://netweather.accuweather.com/adcbin/netweather_v2/netweatherV2.asp?partner=netweather&tStyle=whteYel l&logo=0&zipcode=&lang=&size=7&theme=&metric=&targ et=_self'></script></div><div style='text-align: center; font-family: arial, helvetica, verdana, sans-serif; font-size: 10px; line-height: 12px; color: FFFFFF;' ><a style='color: #FFFFFF' href='http://www.accuweather.com/index-forecast.asp?partner=netweather&traveler=0&zipcode =' >Weather Forecast</a></div></div>"
//// END

Is there a way to do this? An external AS file perhaps??

Thanks in advance for input -
sleepydad

View Replies !    View Related
MP3 Info Display
I want to create a Flash mp3 player (probably an exe or swf) that can be used to play music without having to install a program. Is there a way that I can load the id3 information of an mp3 (or even alter it) in Flash MX?

View Replies !    View Related
How Do You Display Info On Mouseover?
I have constructed a scrolling graphics clip with a mask. My mask has 2 windows - upper and lower. As the clip is scrolled my graphics appear in the upper window. As I "mouse over" a graphic I would like to display information about it in the lower window of the mask, and on "mouseout" the info would disappear. Could someone please step me through this or guide me towards the proper tutorial? Any help is greatly appreciated. Thank you.

View Replies !    View Related
Help With Resizing Info Display
It isn't scaling right, and I can't determine what exactly the problem is. I got it off of a tutorial I found, and I just can't seem to get it to work quiet right with my layout.

I want the top to keep it's height, and the grey bar on the right to keep it's width, with the text area scaling both ways. Further more, I want the scale button to stay relative to the other parts. Now it just flies off wherever the mouse goes.


Thanks much! Any help is much appreciated!

View Replies !    View Related
Display An Info Window
Hi All,

I have a button which when clicked loads a swf file from the library; the button works as a toggle. Now within the loaded swf (from the library) I have a button to remove the infoWindow when this button is clicked. All works perfectly, until I click on the button on the maintimeline again to open the swf from the library; works untill I use the button on loaded swf to remove itself from screen. it will not work and I get the following error:

ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
at flash.display::DisplayObjectContainer/removeChild()
at voiceswfPresenter_fla::MainTimeline/infoWindow()

I have also attached the code ;) Any help much appreciated.

Kind Regards,

Boxing Boom







Attach Code

// Code for Info. Window begin here

infoBtn_mc.addEventListener(MouseEvent.CLICK, infoWindow);
var popWin:Boolean = false;
var square:MovieClip = new squareEx();
square.x = 505;
square.y = 25;

function infoWindow(e:MouseEvent):void {
if (!popWin) {
addChild(square);
mc.stop();
mc.alpha = .8;
square.gotoAndPlay(2);
popWin = !popWin;
} else {
removeChild(square);
mc.play();
mc.alpha = 1;
popWin = !popWin
}
}


square.redSqr_mc.buttonMode = true;
square.redSqr_mc.addEventListener(MouseEvent.CLICK, removeInfo);

function removeInfo(event:MouseEvent):void
{
removeChild(square);
}

























Edited: 07/11/2008 at 05:35:05 AM by Boxing Boom

View Replies !    View Related
Replacing Image Preloader With Simple Text Info In Photo Gallery Using XML And Flash
Using the "Photo Gallery Using XML and Flash" from the site, basicly ALL i want to do is replace the graphical preloader with just a dynamic text boxes that just has "file size loaded, file size remaining, percent loaded" [itd be done as three seperate dynamic text boxes using the values

totalBytes = this.getBytesTotal();
loadedBytes = this.getBytesLoaded();
remainingBytes = totalBytes - loadedBytes
percentDone = int((loadedBytes/totalBytes)*100);

or something of the sort [this is all theory/whatever till i try to get it working haha!]


I guess the way to do it would be to replace the preloader with a dynamic text field(s) or something and then change the code

if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;

to something like

if (loaded != filesize) {
BLA BLA BLA WHATEVER WHATEVER
} else {
preloader._visible = false;


Any help or pointers muchly appreciated!! Ill work on it and post any results up here too!

Regards, Alex, from Perth, in the land "down under" ha ha!

View Replies !    View Related
How To Display Info Like At Http://www.nunomira.com/
How did you set up the scroll/info? Is it pure html? How do the links work?

View Replies !    View Related
Display Info For Form On Same Page
Hey all,

I am tring to use a form (radio buttons and drop down list) ....i have it on half of the page and on the other half i want the info they checked to be displayed.

Can anyone help me with this?

Thanks

View Replies !    View Related
Display Info From Forms On Same Page
Hey all,

I am tring to use a form (radio buttons and drop down list) ....i have it on half of the page and on the other half i want the info they checked to be displayed.

Can anyone help me with this?

Thanks

View Replies !    View Related
Display Info From A Form On Same Page
Hey all,

I am tring to use a form (radio buttons and drop down list) ....i have it on half of the page and on the other half i want the info they checked to be displayed.

Can anyone help me with this?

Thanks

View Replies !    View Related
Dynamic Info To Display For Chart
hi,

i have seen a flash chart whereby the chart info are drawn from external sources like xml etc.

so it make the chart info dynamic and will reflect whatever that is being output by the xml or other sources.

i very much like to know how this is done. is there any example, tutorials i can refer to.

pls advice. would very much appreciate any help rendered.

thanks.

Lawrence

View Replies !    View Related
How To Create A Mouseover Box To Display Info
Hello,

I am still considered new to flash.

I want to do something like the attached pic for our company CD.

Required help:

1. How to create a mouseover box with a data attached?
should XML be used for backend purpose? If yes, please help how.
Should Textfiles(notepad) be used..how can I store data?

2. If the images are very small on the pic like a small bicycle stand in the pic, which is hardly visible will the same style of showing window work?

Any suggestions and help will be appreciated.

Thanks,

Neo

View Replies !    View Related
Use Buttons To Display Info Imported From XML?
I'm creating a floating window to display descriptions of my projects. I'd like to put all the descriptions in an XML file and add them to the popup window using an onRelase event on a movieClip button.
In Lee's tutorials, he uses an index to access the various videos and pics in his XML, but here I need to get to them using a name so I can address the elements with a button.

Is this clear? Can anyone help?

Thanks.

Mitch

View Replies !    View Related
Backend Scope/info Display Problem
I am using an Apache web server (last release) with a Win 32 OS. When i try to load data into my flash site dynamically on my local machine it works (this is the case for loading XML data from a file or retrieving info from servlets i query). Although when i try to run the site remotely (on a computer not on the network via the internet) it does not load or possibly it just doesnt display. I have absolutely no idea why this happens, so if any one has any ideas please let me know because it is very annoying, and its making my web site a bit.... errrr rubbish.

Thanks in advance!

View Replies !    View Related
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.

View Replies !    View Related
Varible Text Box Will Not Display Correct Info
I am an amiture so please forgive my code. I got my varible text boxes to preview a random number. The random numbers are assigned to text, however the varible text box seems to only want to display the number. I am attaching my file for your viewing pleasure. I appreciate any help, I've been racking my brains for 3 hrs now.

View Replies !    View Related
Display Info In Dynamic Text Field
I need to have a dynamic text field look up one movie clip and get the text shown in a different dynamic text field. Then display that text. Is there a way to do this?

View Replies !    View Related
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.

View Replies !    View Related
Using Video Caption To Display Product Info
Hi everyone,

I have a question:
What would be the best way to add an image and a link to a playing video.
I have this project where I'm going to have a video that contains video reviews of more than one product. What I'd like to do is when a specific product is being reviewed, for example an ipod to be original, on top of the video I display a link and an image to buy the product.

I tried doing this using the caption component, it's kind of working but the image is flashing I don't know why. This is what I have in my xml file :
.....
<p begin="00:00:35.00" end="00:02:00.00"><a href="#" target="_blank"><img src="images/51607743_50.jpg" /></a>Camera button</p>
.......

Is there a better way to do what I'm trying to do, like not using caption but something else?

Thanks a lot in advance!

View Replies !    View Related
Display Info By Date (from Access Database)
I am trying to set up a dynamic page that automatically displays information from a database, that is specific to the current date. For example, at midnight tomorrow morning, the page would automatically display content specific to July 6th, and then would update to July 7th information on the following midnight, etc. Any ideas on the best way to accomplish this? Thanks so much!

View Replies !    View Related
Display A Simple Php Variable In Flash
Hello
I have a php page with a simple variable:
<?php
$myVar="hello world"
?>
And a flash file embedded:
flash.swf

How do i display $myVar in the swf file?

Do i have to send it from php first?
Do i need to use loadVariables? If so, where? on the timeline (actions line) on a movieclip, in a dynamic text field

I did try to search the forums first, but could not find any help that i could understand. (ie it just said "use loadVars" without explaining how)

Any help would be greatly appreciated.
Many thanks,
Calum

View Replies !    View Related
[F8] Weather In Flash
Hi,
Do anyone know how to get local weather in flash using XML or others?
Any sample or code please.
Thanks
P

View Replies !    View Related
Weather In Flash Once Again.
Is there a way to do it without using PHP?

We're trying to do one for a screensaver that will ideally pull directly from the RSS feed.

Really don't care what site it pulls from as long as it:

Doesn't use PHP
Can be customized to show the weather for our office's zip
And we also want to ad our own custom graphics for both the weather and time of day.

View Replies !    View Related
Weather In Flash
Do anyone know how to get weether of your local area in flash application?
Any code, Sample please.
Thanks,
P

View Replies !    View Related
Weather By XML And Flash ?
hi,

i search a small weather module, in flash +xml
where can i found a such file ?

View Replies !    View Related
Weather In Flash
Is it possible to put weather into your flash applications, maybe something associated with www.weather.com?

Just wondering, sounds like a pretty spiffy idea for your flash websites.

Thanks,

Bryan Hawkins

View Replies !    View Related
Flash Weather? I Think So
Alright .... I KNOW this has to be possible somehow!

I want to pass the current temperature to a flash movie based on a zipcode location that I will have on a .asp page, which will be passed to the Flash movie. So in flash I will have a var like "var currentTemp = temp" where temp is the variable passed into flash.

Does anyone know where I can find a resource for some guidance as to the .asp scripting or anything like that?

I have seen a php version, but unfortunately I need to use .asp.

Thanks to you!

View Replies !    View Related
Simple Scene Switching; Info Please
hello,
i'm just trying to switch scenes from my init scene...
is this the proper method?
would it be better to switch to a new movieclip?
i've seen a bit about this in the archives, but it'd be nice to get some juicy info from ya folks...

whichever is more robust, i suppose....

i can't get the following to work:

i'm attempting to define a variable globally on my init scene so that it can be reset from within a movieclip when a given frame is reached.
in the init scene, i have
var myGlobFlag = 0;
so, on that frame, in the movieclip, i have something along the lines of:

myGlobFlag = 1;

and in the init scene, i have:

if(myGlobFlag = 1){
gotoAndPlay("scene2",1);
}

would this be preferred over something like:

if(myMovie.InsideMovie1._currentframe = 15){
gotoAndPlay("scene2",1);
}

???

View Replies !    View Related
Simple NetStream, Info But No Video
Hello all --

Trying to get the video to show on the stage.

Here is the FLA


Code:

import classes.NetConnectionExample;
var videoURL:String = "http://192.168.0.52/stream.flv";
var nc:NetConnectionExample = new NetConnectionExample();
nc.ConnectStream(videoURL);
and here is the AS


Code:

package classes {
import flash.display.Sprite;
import flash.events.NetStatusEvent;
import flash.media.Video;
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.events.Event;

public class NetConnectionExample extends Sprite {

private function NetStatusHandler(event:NetStatusEvent):void {
switch (event.info.code) {
case "NetConnection.Connect.Success":
trace(event.info.code);
break;
case "NetStream.Play.StreamNotFound":
trace("Stream not found: " + event.info.code);
break;
}
}

public function ConnectStream(videoURL) {

var connection:NetConnection = new NetConnection();
connection.connect(null);

var stream:NetStream = new NetStream(connection);
stream.addEventListener(NetStatusEvent.NET_STATUS, NetStatusHandler);
stream.client = new CustomClient();
stream.play(videoURL);

var video:Video = new Video();
video.x = 10;
video.y = 10;
video.attachNetStream(stream);
addChild(video);

}
}
}


class CustomClient {

public function onMetaData(info:Object):void {
trace("metadata: duration=" + info.duration + " width=" + info.width + " height=" + info.height + " framerate=" + info.framerate);
}

public function onCuePoint(info:Object):void {
trace("cuepoint: time=" + info.time + " name=" + info.name + " type=" + info.type);
}

}

I am getting the video MetaData info returned but the video does not show on the stage?

metadata: duration=479.597 width=368 height=246 framerate=29.970029970029966

Any ideas as to what I am doing wrong?

Thank you,
Jon

View Replies !    View Related
Weather In Flash? - Rain...
Im tyring to find find a nice Rain effect in flash.
Anyone?

View Replies !    View Related
Flash Weather Baby
Alright .... I KNOW this has to be possible somehow!

I want to pass the current temperature to a flash movie based on a zipcode location that I will have on a .asp page, which will be passed to the Flash movie. So in flash I will have a var like "var currentTemp = temp" where temp is the variable passed into flash.

Does anyone know where I can find a resource for some guidance as to the .asp scripting or anything like that?

I have seen a php version, but unfortunately I need to use .asp.

Thanks to you!

View Replies !    View Related
HTML Weather In Flash...
Is it possible to load a weather URL like the weather channel lets you do in HTML - into flash.
You know the ones with the pretty pictures and and temp.

thanks
-T

View Replies !    View Related
Weather Variables In Flash Mx
hi there,

I was wondering if it is possible to get the accurate weather (temperature, cloudy/sunny/rainy/...) from an existing server somewhere into a flash mx file?

For those who have windows vista already: there's a weather gadget that shows the temperature and a graphical representation of the sky outside, at that particular location, at that particular time (so very accurate).

First problem: where can I find a server who provides me of this data?
Second problem: where to start with the actionscript?

I really hope that someone can help me out cause I'm completly stuck.

thanks !

View Replies !    View Related
How To Creating Simple Text Info Before XML Parsed
I load XML file, I plan display simply text "Load xml" before the Flash P. parse the XML file.
I canīt create conditon statement for it can u help me?
Maybe can we use this function:

Code:
function loadXML (loaded)
{
if (loaded)
{

// hide text

}
else
{
// display text
}

View Replies !    View Related
Weather Report On The Flash Website
Hi , I am trying to show a local weather stats ... just basic ... temperature and conditions ... how can i get this data in flash ?
I am based in Australia, Melbourne ... zip/country code is ASXX0075


I found some resources but didn't quite work
eg http://www.actionscript.org/forums/s...d.php3?t=70742
this looked good that flash example but didn't show anything ... I guess it's US based service only or something ...

.... any ideas?

thanks

View Replies !    View Related
Weather Report With Flash Not Working
Hey guys,

I'm using the following script to call the weather temperature and condition in the flash header of my site (52° Mostly Cloudy). When I test it out locally, it works perfect, but when I test it live on my site, the two fields show up as "undefined ° undefined."

Take a look at it and tell me what looks wrong, I would REALLY appreciate it.

myVars = new LoadVars();
myVars.load("http://mysite.com/includes/classes/weather.php");
myVars.temp;
myVars.forecast;
loadVariables("http://mysite.com/includes/classes/weather.php","");
myVars._path = this;
myVars.onLoad = function (success) {
if (success) {
//trace (" variables loaded ");
for( var prop in this ) {
//trace (" key " + prop + " = " + this[prop]);
}
} else {
//trace (" Error loading variables ");
}
}
myVars.onLoad = function() {
//display the values in the text box
lBox.text = this.temp + "° " + this.Forecast;
//trace(this.forecast);
}

View Replies !    View Related
Live Weather On Your Website (Flash)
http://www.skiheavenly.com/

I am designing a ski-resort website and would like to know to implement a live temperature reading like shown on the website. I already have a Web Service that is going to be the feed. But thats all I know. Can somebody help me out? Thanks
Joe

View Replies !    View Related
NOAA Weather Web Service In Flash
Hi,
i am really new to Flash and am enjoying the learning process but i have a question which i cant figure out. I live in Colorado Springs and there are three web services (areas) that i am interested in putting in my website. For starters, I only want to get advisories, watches and warnings. If there are none i don't want anything displayed (just the background color), if there is one of the above for either the Pike's Peak Region, Northern El Paso County and Southern El Paso County i want to display it. (Basically have three containers for each region). In addition, to get "fancy", i would like to have a colored box above the container which has orange for advisory, yellow for watch and red for warnings...can someone please help/show me how to do this. I am struggling with the whole thing including connecting to the web service. The idea is good, putting it into action is another thing. Any assistance would be greatly appreciated.

mike

View Replies !    View Related
Those Annoying Transparent Flash Movies On Msn Or Weather.com
you know those annoying flash movies on msn.com or weather.com that are completely transparent.. how do they call them with out the chrome window much like the one that this web page is in. do they use a chromeless window? Its not that publishing setting is it.. never works for me.
thanks,
dp

View Replies !    View Related
Weather Component Using Flash MX Professional 2004
Hi,
I found a weather component on Flashkit.com and am trying to build something similar to it. I am having a serious problem with the ActionScript. I am learning from a Flash 4 tutorial and the code is way off because I am using Flash MX Professional 2004. I am unfamiliar with loading ASP into Flash or I would not bug all of you with this problem. I have taken many Flash classes but no one ever bothered to show me how to do anything of real importance.

Please take a look at my attached files and if you can fix the problem please let me know how to do it. I would appreciate it very much. Thanks for your time and your help!



HeADHuRTs(o/o)

View Replies !    View Related
Trying To Convert A Html Weather Link To Flash
(using 6.0)

I'm trying to convert a link I got from a weather site from its original html in order to integrate it into our flash page. Is this even possible? Here is the html:

"<a href="http://www.wunderground.com/US/CA/Malibu.html">
<img src="http://banners.wunderground.com/banner/sunandmoontrans/language/www/US/CA/Malibu.gif"
alt="Click for Malibu, California Forecast" height=150 width=256></a>"

View Replies !    View Related
[F8] Importing Weather Data Into Flash Project
Hey all,

I'm currently designing a "mock" ski resort website for a project at university and was wondering if anybody had any good links to tutorials, examples or just general info regarding pulling "real-time" weather conditions into Flash (AS 2).

I've registered an account at weather.com and have access to their XML feeds... now i just need to figure how to sort out what info i actually need (not much) and get it to display into my .swf.

ANY and all help is extremely appreciated. I'm comfortable with the flash environment but am lacking a bit in the "behind the scenes" actionscripting jazz.

thanks,
ryan

View Replies !    View Related
[F8] How To Create A "cloud" Style Info Display
Greetings. I'm trying to achieve a dinamyc display similar to youtube wrap. I have a database with people and a database with relationships (A is friend of B, B is friend of C).

Does anyone know of a component or some guidance to how to start developing a cloud style display, like a universe, where every user is planet, and you can see the other pepole linked to it, and you can click on them to move around?

I don't know how to call it, or how to search it, does this have a name?

Thanks ahead.

View Replies !    View Related
Display Info Of Playlist Items - "like Lee"
On gotoandlearn.com, Lee's playlist items will have information associated with each of them. In other words, when an item is selected from the playlist, information about the video is displayed below the playlist (including title and an option to download specific files).

How Do I Do This

I looked on Lee's site and DLed the site, but I don't understand how to integrate that code with his code in the video tutorials. Here is the code for his site's playlist:

Code:

var tl = tutorialList.tutList;

tl.setStyle("color", 0x000000);

tl.setStyle("rollOverColor",0xD6E0EB);
tl.setStyle("backgroundColor", 0xFFFFFF);
tl.setStyle("textRollOverColor",0x000000);
tl.setStyle("textSelectedColor",0x000000);
tl.setStyle("selectionColor",0xD6E0EB);
tl.setStyle("fontFamily","standard 07_56");
tl.setStyle("fontSize",8);
tl.setStyle("embedFonts",true);

tl.iconFunction = function(item) {
   if(item.data.indexOf("aftereffects")!=-1) return "ae";
   if(item.data.indexOf("flash")!=-1) return "flashIcon";
   if(item.data.indexOf("swift")!=-1) return "swiftIcon";
   if(item.data.indexOf("photoshop")!=-1) return "photoshopIcon";
   
}

var listlist:Object = new Object();
var lsound:Sound = new Sound();

lsound.attachSound("been");

listlist.itemRollOver = function(obj) {
   if(obj.index < vidArr) {
      infoTip.info.text = _root["tut"+obj.index].info;
      infoTip._x = _root._xmouse;
      infoTip._y = _root._ymouse;
      infoTip._visible = true;
      infoTip.onMouseMove = function() {
         this._x = _root._xmouse;
         this._y = _root._ymouse;
      }
      lsound.start();
   }
   
}

listlist.itemRollOut = function() {
   delete infoTip.onMouseMove;
   infoTip._visible = false;
}


listlist.change = function() {
   if(tl.selectedIndex < vidArr) {
      ns.close();
      np.timetext.text = "Loading File...";
      playtime(_root["tut"+tl.selectedIndex].earl);
      np.info.text = _root["tut"+tl.selectedIndex].info;
      np.title.text = _root["tut"+tl.selectedIndex].title;
      if(_root["tut"+tl.selectedIndex].files.indexOf(".zip")!=-1) {
         np.files.htmlText = "<a href="files/"+_root["tut"+tl.selectedIndex].files+"">"+_root["tut"+tl.selectedIndex].files+"</a>";
      }
      else {
         np.files.htmlText = "<font color="#000000">"+_root["tut"+tl.selectedIndex].files+"</font>";
      }
   }
}

tl.addEventListener("itemRollOut",listlist);
tl.addEventListener("itemRollOver",listlist);
tl.addEventListener("change",listlist);


Attempts
Obviously, the key is with the listlist.change, but it doesn't work when I copy the information below it below the videoList.change in his tutorial. Yes, I did create a MC with the instance name "np" and the appropriate dynamic text fields.[/code][/b]

View Replies !    View Related
Building A Dynamic Weather Maps Flash MX Demo
Because I work for a company that aggregates a wealth of different kinds of data from weather to energy to commodities, I wanted to create a PC wallpaper application that would enable our clients to click on a tab at the side of their computer screen and display various types of information retrieval services. One tab would let you check the latest equity prices from stocks to corn. A second tab would display the latest wire service headlines and by clicking on a headline you could read the latest newswire story. A third tab would display a drop-down menu system for various weather maps including current conditions,regional radar images and world satellite images.

I now have all three of these components working and am gradually integrating them into a single flash movie that will be available to our clients as either individual Flash components or as a consolidated SWF wallpaper application.

Because this forum has been helpful in either pointing me in the direction to solutions for various problems or providing me with a soap box to air those problems, and thereby helping me verbalize the problem and come up with the solutions on my own, I thought I would share with the group a demonstration version of the weather maps application I have been wrestling with the past week. Novices like myself may find it useful as a reference on how to build a flash menu system and to pull, resize and reposition JPEG images using a combination of attachMovie() and createEmptyMovieClip() functions.

Due to the number of images that accompnay the flash files, I wasn't able to upload the ZIP file to the forum, which has a 102,000 byte limit. So, if you would like to download the 919,004 bytes demo, it will be available at the following URL:

http://www.dtnmarketaccess.com/flash/DTNwxMaps_demo.zip

Please note that this Flash MX demo is very basic and lacks many of the refinements I plan to incorporate into the version that will eventually be part of the final application. For example, the menus don't automatically collapse if you don't select a map to view. Also for obvious security reasons, I included a set of static weather maps dated from August 19, 2003. The working version pulls the most current images from the Meteorlogix image server.

There is a ReadMe text file that accompanies the images, .fla, .swf and .html files for this application. I hope you enjoy it. It was challenging to develop and ultimately very simple in its final structure.

Bill Moore
DTN Market ACCESS
Omaha, Nebraska
USA

View Replies !    View Related
Simple Display List Problem
I have an object called UI_Total which contains 3 objects called Star, instanced as star1 star2 and star3.

In my code I do the standard:

PHP Code:



mainUI=new UI_total;
addChild(mainUI);




to instance the UI_Total.

Now, I can do something like

PHP Code:



mainUI.star3.x+=500




no problem.

And when I do

PHP Code:



trace(mainUI.star3.parent)




I get [object UI_Total] as expected.

Would someone be so kind as to explain to me then why
PHP Code:



mainUI.removeChild(star3)




doesn't work, and also why I can't do anything like
PHP Code:



mainUI.getChildIndex(star3)

View Replies !    View Related
Simple Question Regarding CSS (display: Block)
Hi,

We would like to indent a text by using CSS. We are already using CSS in our project and it works fine for most things. Now we need to format the text like:

1)Start nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nononon nonononThe "1" with 0 margin and all the other block idented by 20, or 30px. BUT at the SAME line as the number "1".

we tried lots of different combinations, so far no joy though.

How can we achive this through CSS? It should be straightforward, shouldn't it?

Thanks very much

View Replies !    View Related
Copyright Đ 2005-08 www.BigResource.com, All rights reserved