ActiveDen

Javascripting in Flash

3 posts
  • Has been a member for 5-6 years
bhamilton says

I need to be able to serve javascript based ad’s, inside a Flash video. The purpose of the project is to be able to have ad’s play before a video plays, just like on cnn.com, etc. The ad itself will come from an ad server, which is why I need to be able to embed javascript (calls the ad from the server).

I have been looking through tutorials using the javascript flash integration kit, but it doesnt appear to be helping. I can have text be displayed in Flash through JS functions, but I cant pass the JS calls to serve ads…

Does anyone have an experience with this? Could anyone build a demo or guide me in some way?

3381 posts
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 6-7 years
  • Microlancer Beta Tester
  • Referred between 500 and 999 users
  • Sold between 100 000 and 250 000 dollars
+1 more
bobocel says

Hi. I wouldn’t say this is easy to implement. I just finished a $2k video player with functionality similar to what you need – and I worked with a team. Just wanted to inform you – no hard feelings. Good luck!

3 posts
  • Has been a member for 5-6 years
bhamilton says

I’ve noticed… I have been trying for a week and consider myself pretty flash savvy, but haven’t been able to come up with anything at all. I am thinking that there must be a way I can import the gif’s / jpeg’s from the ad’s into a movie clip or something much like I could force JS text into a dynamic text field… But, I can not figure out how to do that.

Is there any way I could track hits to an FLV ? Or, include metadata for WebTrends categories?

3381 posts
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 6-7 years
  • Microlancer Beta Tester
  • Referred between 500 and 999 users
  • Sold between 100 000 and 250 000 dollars
+1 more
bobocel says
Is there any way I could track hits to an FLV ? Or, include metadata for WebTrends categories?

Yes to both questions.

3 posts
  • Has been a member for 5-6 years
bhamilton says

Care to elaborate? :-)

I have been looking into Meta Tag injectors for flash but wasnt quite sure if that was the same TYPE of meta data used on regular HTML pages where you would include a meta tag for the WT cgi files…

3381 posts
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 6-7 years
  • Microlancer Beta Tester
  • Referred between 500 and 999 users
  • Sold between 100 000 and 250 000 dollars
+1 more
bobocel says

Sorry, but I really don’t want to go more in depth. I just wanted to let you know it’s a lot of work, and it requires people from more fields to do something like that.

355 posts
  • Author had a File in an Envato Bundle
  • Lead Reviewer
  • Won a Competition
  • Author had a Free File of the Month
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Envato Staff
  • Has been a member for 6-7 years
  • Interviewed on the Envato Notes blog
+5 more
MarcoSecchi staff says

There is an easy way to communicate between flash and js, but you must use haXe (haXe.org) which is very similar to actionscript

an example: http://haxe.org/tutos/remoting

Marco

by
by
by
by
by