September 28, 2023, 02:50:08 PM
Welcome, Guest. Please login or register
News: Stay up to date with everything that's happening at http://twitter.digitalsignage.com

MediaSignage support forum



Author Topic: Flash Scripting  (Read 7702 times)

butwhyowhy

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Flash Scripting
« on: April 13, 2009, 06:30:00 AM »
Is it possible to use actionscript in the flash files?  I created a news ticker that I can update dynamically but I can't get the .swf file to retrieve the data once it is in the signage software.

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 5181
  • Karma: +36/-8
Re: Flash Scripting
« Reply #1 on: April 13, 2009, 03:58:21 PM »
Hello,

1. Its better to Script in AS3 as it works better in Flash 10.
2. TO access external data you must set the CHECK BOX of "Allow external access" under the resource properties.
AND, the allow external access is supported only in our AIRPlayer ( not WEBPlayer ).

If you follow #1 and #2 you should be able to script just fine...

Hope this help,

Always glad to help,

Sean - MediaSignage.com


ale-signage

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Flash Scripting
« Reply #2 on: November 23, 2009, 02:58:39 AM »
Moreover, it could be nice to keep in the rss feed in the cache memory of the player, just to avoid the problem of broken connection and no data in the flash object. Could you suggest a way to create a script that solve this issue?
Regards,
Ale

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 5181
  • Karma: +36/-8
Re: Flash Scripting
« Reply #3 on: November 23, 2009, 06:58:19 AM »
We DO cache all RSS data. So if internet connection is down, the built in Caching Engine provides all RSS Feeds.

David.

ale-signage

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Flash Scripting
« Reply #4 on: November 24, 2009, 02:44:45 AM »
Even if the object asks for a periodic refresh to an external url?
I ask this question because I thought that to cache the rss feed url, maybe I'd need to specify the address not in the swf object but somewhere in the SignageStudio, am I wrong?
Just to be sure that there is no need to create the script in a particular way for caching the rss...
thanks,
Ale

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 5181
  • Karma: +36/-8
Re: Flash Scripting
« Reply #5 on: November 24, 2009, 09:00:05 AM »
Well, if you are developing your own swf, you will need to handle the caching. We will cache YOUR main swf object, however, any data that YOUR swf loads, needs to cahced BY YOU.

Regards,

Eric.

ale-signage

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Flash Scripting
« Reply #6 on: November 26, 2009, 05:00:22 AM »
Perfect!
 I notice that my question was not so useless.
So could you please explain to me which is the way to cache the RSS feed BY ME!?
I'd say your point is good but not clear.
Regards,
Ale

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 5181
  • Karma: +36/-8
Re: Flash Scripting
« Reply #7 on: November 26, 2009, 07:03:14 AM »
You would need to create a local file to hold all data (XML) and copy your swf (module) to the HDD so you can read it locally next time your run.


 

Carbonate design by Bloc
variant: carbon
SMF 2.0.12 | SMF © 2016, Simple Machines