320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United States
timmylogue says

I’ve been messing around with Google Weather in AS3 . I was wondering if there is a way to call my own custom icons instead of using their low quality crappy ones lol.

I’ve seen this done with some different languages.

Tim

320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United States
timmylogue says

Here is example of php.


if($theAPIResponse->icon->attributes()->data == '/ig/images/weather/partly_cloudy.gif') {
       // Override the nodes data attribute with your custom image
       $theAPIResponse->icon->attributes()->data = '/path/to/your/custom_image.gif';
}

by
by
by
by
by
by