A little help with AS3 links and a video component


hi there everybody, evening!

 

wondering if can give me hand this, suck on as3 , @ moment of update starting understand few things as2, i'm little bit confused , intimidated few things, see, i'm working on friend's templated flash site, asked me add few things , i'm having problems listed below: - i'm using flash cs5 -

 

the website reachable here: http://thenewmediastudio.com/roland/

 

1.- on hard time generations , caa 2 screens have videos, if watching video , move tab, example, sponsors video still playing in back, if go video , click on play you'll hear sound overlapping old sound, videos working flbplayback component, question is, how stop when trying reach other areas of website?

 

2.- on sponsors, there's text , simple button, button should open browser window not working, tried , trid , still not working, code there on frame following:

 

img0.numimages = 0; movieclip(root).program.textcontent(thispagetext0,0); movieclip(root).program.textcontent(thispagetext1,1); movieclip(root).program.textcontent(thispagetext2,2); movieclip(root).program.textcontent(thispagetext3,3); movieclip(root).program.contactformaction(contactform, contactform.clearbutton, contactform.submitbutton, 3);   //1.button event listener elboton.addeventlistener(mouseevent.click, openurl);   //2.the openurl function opens url. function openurl(event:mouseevent):void { var url:urlrequest = new urlrequest("sponsors.html"); navigatetourl(url, "_blank"); }  

 

the first 6 lines of code comes template, rest code open browser window again, not working, checked button , instance name, checked if there's problem opening browser window @ bottom of template there's 2 buttons open external windows not browser problem i'm doing wrong.

 

at end decided come here , ask help, hope can share litlle bit of knowledge , give me hand,

 

thanks lot guys!

 

arturo

if you're using flvplayback component play video, use:

 

flv_pb.addeventlistener(event.removed_from_stage,removedf);  // flv_pb component's instance name

function removedf(e:event):void{

flv_pb.stop();

}

 

for button failure problem, add trace() statement button listener confirm it's being called.



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support