Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE FLASH: Adobe Flash ForumAdobe Flash TutorialsAdobe Flash Video TutorialsWeb Streaming ForumAdobe Flash

[AS3] Create a timed comercial in a player

Cow Forums : Adobe Flash
[AS3] Create a timed comercial in a player
by bogdan Oancea on Aug 16, 2008 at 12:21:58 pm

So.. this is my third time with a post. I was wondering if i have a flash player with a xlm playlist, could i insert a script that after 4 clicks(after he sees 4 clips at random), a commercial should start of about 7 to 25 seconds. To me short, after the user presses 4 times on a video the commercial woruld start automatic, before the 4-th click



Respond to this post   •   Return to posts index

Re: [AS3] Create a timed comercial in a player
by bogdan Oancea on Aug 17, 2008 at 6:23:47 pm

not even a "nope can't do it" ??



Respond to this post   •   Return to posts index

Re: [AS3] Create a timed comercial in a player
by Pieter Helsen on Aug 17, 2008 at 6:29:47 pm

It can be done easily. Just keep track of the number of videos viewed, in a variable (can even send that variable to PHP or ASP and store it in a cookie) And then check that variable every time before you load a movieclip.

If the variable is 4, store the next movie in a variable, load the commercial and at the end of the commercial, load the next clip from the variable.

Though, little work as it may seem, it can easily take up to two, three hours of programming.

Kind regards,
Pieter

General notice: from now on, I would like to ask everyone to put [AS2] or [AS3] (corresponding to the version of actionscript you are using on your project) in front of their post titles when the question is actionscript related! Please help us help you faster. Thank you.

Respond to this post   •   Return to posts index


Re: [AS3] Create a timed comercial in a player
by bogdan Oancea on Aug 18, 2008 at 1:33:01 pm

it's kind of hard for me. in php and flash i am new, i started flash about 1 month ago and php one week ago... so i don't relly get it. how to store in a cookie, could you help me pls. guide me or something



Respond to this post   •   Return to posts index

Re: [AS3] Create a timed comercial in a player
by bogdan Oancea on Aug 19, 2008 at 9:48:29 pm

can anyone help me??



Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINEDVDsBOOKSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]