WXforum.net
June 19, 2013, 11:03:17 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
Members: 6695  •  Posts: 181388  •  Topics: 18414
Please welcome KD0RII, our newest member.
Welcome to the the new hosting for WXforum.net.
 
   Home   Help Search Login Register  
Pages: 1 2 3 [4] 5   Go Down
  Print  
Author Topic: Animate GRLevel3 Radar Using FlAniS  (Read 14548 times)
0 Members and 1 Guest are viewing this topic.
ELDoradoWx
El Dorado Weather
Senior Contributor
****
Offline Offline

Posts: 290


Gentoo X = Complete_Control


WWW
« Reply #75 on: September 05, 2010, 08:36:49 PM »

Use this applet code instead, I have the paths all set for you:

Code:
<object type="application/x-shockwave-flash" data="GR3/flanis/flanis.swf" width="660" height="710">

    <param name="movie" value="GR3/flanis/flanis.swf" />

    <param name="quality" value="high" />

    <param name="menu" value="false" />

    <param name="wmode" value="opaque" />

    <param name="FlashVars" value="configFilename=grlevel3.txt" />

</object>

Use the following code for your grlevel3.txt:

Code:
controls=startstop, looprock, step, speed, firstlast, zoom, refresh, toggle

controls_tooltip = Start & Stop, Rock Frames Back & Forth, Step Image One at a Time, Set Frame Speed, Go to First or Last Image, Zoom In, Refresh, Click to Remove Frame From Animation

filenames = GR3/kbgm_br1_9.jpg, GR3/kbgm_br1_8.jpg, GR3/kbgm_br1_7.jpg, GR3/kbgm_br1_6.jpg, GR3/kbgm_br1_5.jpg, GR3/kbgm_br1_4.jpg, GR3/kbgm_br1_3.jpg, GR3/kbgm_br1_2.jpg, GR3/kbgm_br1_1.jpg, GR3/kbgm_br1_0.jpg

start_frame = 1

start_looping = true

rate = 25

backcolor = #291F4B
forecolor = #ffffff

no_enh = true

Upload grlevel3.txt to the main directory and delete grlevel3.txt in the GR3 directory. Then upload wxnewradar.php to the main directory again, but this time with the new applet code I gave you above. This will put both grlevel3.txt & wxnewradar.php in your main folder.

You may need to set the permissions in grlevel3.txt to 777

See if this all works for you now..
« Last Edit: September 05, 2010, 08:46:06 PM by ELDoradoWx » Logged

-Danny
-root is everything
CNYWeather
Forecaster
*****
Offline Offline

Posts: 1397



WWW
« Reply #76 on: September 05, 2010, 09:05:24 PM »

AWESOME!!!  Like I said, I usually have path issues for some reason.

THANKS A LOT DANNY!   Very Happy
Logged

ELDoradoWx
El Dorado Weather
Senior Contributor
****
Offline Offline

Posts: 290


Gentoo X = Complete_Control


WWW
« Reply #77 on: September 05, 2010, 09:28:49 PM »


Great! Glad you got her going..

You can tweak the applet size within the applet code and you can change the background and foreground colors (foreground=text) in the gr3level.txt file. Typically you would set the size to about 10 extra pixels per side for the border.

Logged

-Danny
-root is everything
Gordon
Senior Member
**
Offline Offline

Posts: 77



WWW
« Reply #78 on: September 06, 2010, 12:44:53 PM »

AWESOME!!!  Like I said, I usually have path issues for some reason.

THANKS A LOT DANNY!   Very Happy

Looking good TG!
Logged

Gordon
Old Line Weather
Davis VantageVue
Weather Display v10.37R b40
CNYWeather
Forecaster
*****
Offline Offline

Posts: 1397



WWW
« Reply #79 on: September 06, 2010, 01:01:41 PM »

Thanks Gordon. Here's the main page and I have the different types
of radar up now too.

http://cnyweather.com/wxnewradar_BR1.php

Logged

LWP
Member
*
Offline Offline

Posts: 19


WWW
« Reply #80 on: December 19, 2010, 07:15:26 PM »

Hi Danny,

Been playing around with changing over my grlevel3 radar to the FIAniS animation.  Been experimenting with some of the different control options, very easy to work with.  I currently have mine set up with the auto refresh option.

I have it up and running at http://localweatherplus.com/grlevel3br248.php

Thanks for sharing the information needed to get this up and running!  Very Happy

Brad
Logged

Brad
Weather Display, Virtual Weather Station, WeatherLink
CWOP-CW8005  /  W.U.- KNEMONRO2
ELDoradoWx
El Dorado Weather
Senior Contributor
****
Offline Offline

Posts: 290


Gentoo X = Complete_Control


WWW
« Reply #81 on: December 20, 2010, 05:36:21 PM »

Hi Danny,

Been playing around with changing over my grlevel3 radar to the FIAniS animation.  Been experimenting with some of the different control options, very easy to work with.  I currently have mine set up with the auto refresh option.

I have it up and running at http://localweatherplus.com/grlevel3br248.php

Thanks for sharing the information needed to get this up and running!  Very Happy

Brad

You are most welcome. I'm glad it worked out well on your site!

Logged

-Danny
-root is everything
tnwxman
Senior Contributor
****
Offline Offline

Posts: 233


WWW
« Reply #82 on: December 20, 2010, 06:55:24 PM »

Hello,
When it comes to PHP programing I am newbie. I currently use the WD radar template and want to use the flanis. I see the code to replace the current WD template but since I post different radar products I am not sure for each product what I am to do. I want to be sure before I make the change and mess things up. Hope that someone can guide me with some additional details. Thank you in advance.

Bob
Logged

ELDoradoWx
El Dorado Weather
Senior Contributor
****
Offline Offline

Posts: 290


Gentoo X = Complete_Control


WWW
« Reply #83 on: December 21, 2010, 07:23:53 PM »

Hello,
When it comes to PHP programing I am newbie. I currently use the WD radar template and want to use the flanis. I see the code to replace the current WD template but since I post different radar products I am not sure for each product what I am to do. I want to be sure before I make the change and mess things up. Hope that someone can guide me with some additional details. Thank you in advance.

Bob

Hi Bob,

I just do a new page for each radar type. Then I use a drop down menus with all the radar type URL options.

You can see a sample of mine here:
http://www.eldoradocountyweather.com/grlevel3/grlevel3-radar.html

No knowledge of PHP is needed. You might want to set up a test page and get it all going how you want it before you publish it to your main grlevel3 page. Then you can't "mess things up" on the live page.

Logged

-Danny
-root is everything
tnwxman
Senior Contributor
****
Offline Offline

Posts: 233


WWW
« Reply #84 on: December 22, 2010, 11:05:58 AM »

Hi,
Thanks for the reply. The grlevel3-radar page you have is what replaces the current grlevel3 php and it contians the links to the other pages. Is my understanding correct? In your new grlevel3 page you have applelt code to replace the config file but not the flanis.cfg file. Correct? Now here is where I am challenged what code should each individual page have that the menu will call? I beleive that is what I am misunderstanding.

Thanks for helping and your radar page is most excellent.

Bob
Logged

tnwxman
Senior Contributor
****
Offline Offline

Posts: 233


WWW
« Reply #85 on: December 23, 2010, 05:51:39 PM »

Hi Danny,

I figured it out. Thank you for your help and for making this script availble. Great job!

With Best Regards,

Bob
Logged

stormwatch
Contributor
***
Offline Offline

Posts: 143


WWW
« Reply #86 on: January 08, 2011, 10:43:02 PM »

Many thanks Danny for sharing your hard work with us all!!

Great job! Applause

Tom
Logged

Tom M.
Carolina StormWatch Weather
Sunset Beach, NC
Grissettown-Longwood Fire And Rescue
Brunswick Co. CoCoRaHS Coordinator NC-BR-1
CWOP-0803
Advanced Skywarn Trained
ELDoradoWx
El Dorado Weather
Senior Contributor
****
Offline Offline

Posts: 290


Gentoo X = Complete_Control


WWW
« Reply #87 on: January 09, 2011, 03:31:45 PM »

My pleasure you guys! Good to see you using it.
Logged

-Danny
-root is everything
sacreyweather
John Sacrey - VP2 Pro
Forecaster
*****
Offline Offline

Posts: 438


Saline Weather


WWW
« Reply #88 on: January 16, 2011, 02:27:05 PM »

Thank you again Danny for all of your efforts.  I have mine here: GR3 Radar

John
Logged

CWOP: D2073, GR2AE, GR3, WD, PWS/weatherforyou.com, WxWeb, CoCoRaHS: AR-SL-16
Saline Weather
Saline Weather on Twitter
xmas111
Member
*
Offline Offline

Posts: 26


WWW
« Reply #89 on: March 13, 2011, 04:31:35 PM »

I'd like to run this script but I can't find where to download it.

It's no longer here.

Download the FlAniS Zip file here: http://www.eldoradocountyweather.com/satellite/flanis-2.0.zip

Any idea where to get it?

Thanks,
John
Logged
LWP
Member
*
Offline Offline

Posts: 19


WWW
« Reply #90 on: March 13, 2011, 05:26:46 PM »

Hi xmas111,

I think you will find the FIAnisS.zip script to download here: http://www.eldoradocountyweather.com/scripts/weather-scripts.php

Brad
Logged

Brad
Weather Display, Virtual Weather Station, WeatherLink
CWOP-CW8005  /  W.U.- KNEMONRO2
xmas111
Member
*
Offline Offline

Posts: 26


WWW
« Reply #91 on: March 13, 2011, 05:38:39 PM »

Hi Brad,

     Thanks for the info but that page only has the documentation for the script.   I don't see where you can actually download the files......or maybe I'm missing something Embarassed

   John
Logged
LWP
Member
*
Offline Offline

Posts: 19


WWW
« Reply #92 on: March 13, 2011, 05:51:47 PM »

Hi John,

Sorry about that, I guess you are right I thought it was there.  d'oh!

Sent you a personal message.

Brad
Logged

Brad
Weather Display, Virtual Weather Station, WeatherLink
CWOP-CW8005  /  W.U.- KNEMONRO2
xmas111
Member
*
Offline Offline

Posts: 26


WWW
« Reply #93 on: March 13, 2011, 07:11:14 PM »

Thanks Brad!  Very Happy

John
Logged
ELDoradoWx
El Dorado Weather
Senior Contributor
****
Offline Offline

Posts: 290


Gentoo X = Complete_Control


WWW
« Reply #94 on: March 16, 2011, 07:44:23 PM »

Sorry for the missing links. They have been reactivated.

Logged

-Danny
-root is everything
xmas111
Member
*
Offline Offline

Posts: 26


WWW
« Reply #95 on: March 16, 2011, 08:10:45 PM »

Sorry for the missing links. They have been reactivated.



Thanks,


   Finally got it all set up.  works great!

   Thanks for a great addition to my site!

   Here's the link:  http://www.johnsweather.com/grlevel3/radarbr2.php

  Thanks,
   John

 
Logged
xmas111
Member
*
Offline Offline

Posts: 26


WWW
« Reply #96 on: March 20, 2011, 10:27:09 AM »

I've been playing around with the script trying to get a larger image like some of you have.

I can get the swf window larger but I can't figure how to get the image to fill the swf window.

I increased the image size that Grlevel3 uploads but it doesn't change in size in the swf window.

What am I missing?

Here's the link to page I'm playing with:
http://www.johnsweather.com/grlevel3/radar1111.php

Update:
I got it working.
 I didn't realize that after changing the size in the script and in GElevel3 you have to wait till ten new images are uploaded, then everything works fine! Very Happy

  Thanks,
   John
« Last Edit: March 20, 2011, 01:39:17 PM by xmas111 » Logged
K4KMG
Senior Member
**
Offline Offline

Posts: 93



WWW
« Reply #97 on: March 21, 2011, 03:25:01 PM »

EASY setup Danny. Thanks! I'd been putting this off because I thought it would be a pain.

How would I change the default animation speed? Want it a little slower.

http://k4kmgweather.com/CR.php

Thanks
Tom
Logged

ELDoradoWx
El Dorado Weather
Senior Contributor
****
Offline Offline

Posts: 290


Gentoo X = Complete_Control


WWW
« Reply #98 on: March 22, 2011, 10:24:58 PM »

EASY setup Danny. Thanks! I'd been putting this off because I thought it would be a pain.

How would I change the default animation speed? Want it a little slower.

http://k4kmgweather.com/CR.php

Thanks
Tom

To change the default animation speed you need to edit your grlevel3.cfg configuration file where it says:
rate = 25

The higher the number, the faster the animation. The number specifies the initial loop rate as a number corresponding to frames per second times 10 (thus, 120 means 12 frames per second). A rate set to 25, which is the default, would run at 2.5 frames per second.

The animation speed may be cached in your browser, meaning you may not see the results of an animation speed change with a refresh of the page. You may need to close and then relaunch the browser, or you may need to reboot your computer to see the change.
« Last Edit: March 22, 2011, 10:29:34 PM by ELDoradoWx » Logged

-Danny
-root is everything
K4KMG
Senior Member
**
Offline Offline

Posts: 93



WWW
« Reply #99 on: March 24, 2011, 07:27:01 AM »

"grlevel3.cfg configuration file "  I don't seem to have one of these config files?

In your 'object code', what's this do?  pause_percent=200

Thanks
Tom
« Last Edit: March 24, 2011, 07:28:33 AM by K4KMG » Logged

Pages: 1 2 3 [4] 5   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.178 seconds with 18 queries.
anything