Can ActionScript tell when a SWF was published?

前端 未结 5 532
面向向阳花
面向向阳花 2020-12-13 22:19

I\'d like to write a little class that adds a Day/Month box showing the date a SWF was published from Flash.

The company I work for regularly produces many, many SWF

5条回答
  •  旧巷少年郎
    2020-12-13 22:49

    Not sure if this would work, but could you use an 'include' statement which calls in an externally generated .as file at compile time which has the (then) current date hard-coded into it? You'd need to have a script of some kind running on your server to update this file once a day to keep it current.

提交回复
热议问题