?
Solved

Video doesn't work with clicktag actionscript in Flash

Posted on 2010-01-12
15
Medium Priority
?
384 Views
Last Modified: 2013-11-11
I have a flash ad that has flv video in it. It seems to work fine when I export to a swf until I ad the clicktag ActionScript to it. Here is the clickTag script. Any idea why this would affect the playback of the video in Flash?

on (release) {
getURL(clickTag,"_blank");
}
on (release) {
getURL(clickTag,"_blank");
}

Open in new window

0
Comment
Question by:ADesign
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 7
15 Comments
 
LVL 37

Expert Comment

by:CyanBlue
ID: 26297643
Maybe clickTag should be _root.clickTag ???

CyanBlue
0
 

Author Comment

by:ADesign
ID: 26297700
I don't know. This is the clickTag the person publishing the ad said I should use. Would a _root.clickTag work better with video?
0
 
LVL 37

Expert Comment

by:CyanBlue
ID: 26297720
Did you try that and test it???  I said _root because there might be some path problem...

CyanBlue
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:ADesign
ID: 26297826
What is the difference in the code? Do I just replace "_blank" with "_root"?
0
 
LVL 37

Expert Comment

by:CyanBlue
ID: 26298088
No, replace clickTag with _root.clickTag

CyanBlue
0
 

Author Comment

by:ADesign
ID: 26298294
That didn't work
0
 
LVL 37

Expert Comment

by:CyanBlue
ID: 26298412
Then, you've got to provide some more information...  ;)

CyanBlue
0
 

Author Comment

by:ADesign
ID: 26304780
Okay. I tried to upload a zip file containing the flash, swf, and video files, but it wouldn't let me. Here is a link if you could download the files and look at them for me. The flash file contains the clickTag on the top layer. When you publish that to a swf, instead of video, you get a flashing flv icon. The swf I included shows how it is supposed to look. Let me know what other info I can provide.
0
 
LVL 37

Expert Comment

by:CyanBlue
ID: 26360426
Any update???

CyanBlue
0
 

Accepted Solution

by:
ADesign earned 0 total points
ID: 26363065
No. I just ended up using still photos instead of video. That was the only way I could get it to work. Thanks for all your help though.
0
 
LVL 37

Expert Comment

by:CyanBlue
ID: 26372001
Oh, so, it was the case where you were trying to make the video object clickable not the button...  I had no idea...  Yeah, I don't think you can make the video object clickable...  What you can do is to create an invisible button on top of the video object and make that clickable...  

At any rate, I'm glad that you found a work-around...  Please close this topic...  Thanks...  ;)

CyanBlue
0
 

Author Comment

by:ADesign
ID: 26372628
No. I wasn't trying to make the video object clickable. I did make an invisible button on top of the video, but when I did that, the video didn't play for some reason. Anyway, thanks again!
0
 

Author Comment

by:ADesign
ID: 26372647
How do I close this topic since I never really got a solution?
0
 
LVL 37

Expert Comment

by:CyanBlue
ID: 26443432
Actually, I don't know how...  Maybe you could accept your own answer as a solution???  
You could ask here though...
   http://www.experts-exchange.com/Community_Support/General/

CyanBlue
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
Suggested Courses
Course of the Month13 days, 22 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question