315 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • 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

315 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • 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