Embed Button Within Movieclip--not finding button in script
I want to now edit my movieclip to include another symbol (button) that will be recognized by script...I tried embedding..and adding the normal event listener however it doesn't see my button within the mc...what am i doing wrong...im sure it is something simple.
My changes are in bold, and work as long as the button is not within the movieclip. Any Ideas?
ignore filename :/ i was making sure i didn't overwrite my original fla
var xVel:Number = 0;
stop()
stage.addEventListener(Event.ENTER_FRAME,moveMC);
tour_mc.addEventListener(Event.ENTER_FRAME,
play_btn.addEventListener(MouseEvent.CLICK,forwardPlay);
back_btn.addEventListener(MouseEvent.CLICK, backPlay);
stop_btn.addEventListener(MouseEvent.CLICK,stopPlay);
ff_btn.addEventListener(MouseEvent.CLICK,ffPlay);
fr_btn.addEventListener(MouseEvent.CLICK,frPlay);
kit2_btn.addEventListener(MouseEvent.CLICK,mvFrame);
function moveMC(myEvent:Event):void {
tour_mc.x += xVel;
if(tour_mc.x <= stage.stageWidth-tour_mc.width){
tour_mc.x = stage.stageWidth-tour_mc.width;
if(tour_mc.x >= 0){
tour_mc.x = 0;
function forwardPlay(myEvent:MouseEvent):void {
xVel = 2;
function backPlay(myEvent:MouseEvent):void {
xVel = -2
function stopPlay(myEvent:MouseEvent):void {
xVel = 0;
function ffPlay(myEvent:MouseEvent):void {
xVel=6;
function frPlay(myEvent:MouseEvent):void {
xVel=-6;
function mvFrame(myEvent:MouseEvent):void{
gotoAndStop(14);
This is the answer...i figured it out not too long after i setup this question
movieclipname.button.name.addEventListener(MouseEvent.CLICK,function);
in my case it was :
tour_mc.kit2_btn.addEventListener(MouseEvent.CLICK,mvFrame);
Similar Messages
-
Can't find sample WLST Scripts for OSB10gR3
Hello,
I have installed OSB 10gR3. I do not find sample WLST Scripts to create a OSB Domain etc. Sample scripts are available in ALSB 2.5 under C:\bea\alsb25\weblogic92\samples\server\examples\src\examples\wlst\online.
Can you please post WLST Scripts for creating a ALSB Domain, cluster configuration etc for 10gR3.
Thanks in advance.Hi,
Pls choose custom install and choose Samples for Weblogic Server, Once installed check
c:\beahome\wlserver_10.3\samples
You will have samples for WLST
http://edocs.bea.com/wls/docs100/config_scripting/intro.html#wp1034451 -
The "always allow" button is grayed out in settings regarding cookies, and I can not find where to change the setting. (Restrictions are not on.) Do you know where I go to change the setting to allow me to "always allow" cookies?
Hi lisaarnett111,
If you are having issues turning on Always Allow for cookies in Safari on your iPad, you may want to check to make sure that you don't have Private Browsing enabled, as noted in the following article:
Turn Private Browsing on or off on your iPhone, iPad, or iPod touch - Apple Support
Regards,
- Brenden -
When I hit the import button for a new project I get an internal error message stating: Could not find namespace: AgCreativeCloudUtils
Can someone help me with this issue please? Tkshttps://forums.adobe.com/search.jspa?q=Could+not+find+namespace%3A+AgCreativeCloudUtils&pl ace=%2Fplaces%2F1383621&depth=…
-
I want to burn on a dvd some videos I have on Quick time player version 10.1 and on imovie version 9.0.04. On the tutorial it said ,with imovie, to select a video, clic the button share, the idvd button, and the idvd will open automatically, but idvd does not open. My computer said that I have a 6.0.4 idvd version but I do not find it in my applications list. I tried to download the next versions but is said that it is not possible. How can I burn my videos on dvd-r?
I want to burn on a dvd some videos I have on Quick time player version 10.1 and on imovie version 9.0.04. On the tutorial it said ,with imovie, to select a video, clic the button share, the idvd button, and the idvd will open automatically, but idvd does not open. My computer said that I have a 6.0.4 idvd version but I do not find it in my applications list. I tried to download the next versions but is said that it is not possible. How can I burn my videos on dvd-r?
-
Do not find "edit options" button to start adobe update process - where is it?
AM TRYING TO UPDATE ADOBE AS SUGGESTED - THE FIRST INSTRUCTION IS FOR AN "EDIT OPTIONS" BUTTON, BUT I DO NOT FIND THAT BUTTON ON ANY PAGE - WHERE IS IT?
Ignore those instructions.
If you are trying to install Adobe Reader, you only have to download the setup file, then run it to install Adobe Reader. A direct link for the setup file for the Windows version of Adobe Reader 9.3.4 is http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.3.4/enu/AdbeRdr934_en_US.exe
If you are trying to install Adobe Flash, I find it easier to use the manual installers. For detail see the Adobe troubleshooting article - http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller -
Hi, How I can duplicate website? I have not any possibility to do it on the right button of mouse. I used to have it, but now I can not find it. can you help me please. Kind regards kate ( email: [email protected])
What do you mean with duplicate?
Where do you want to duplicate a website?
Do you want to open the same site in more than one tab?<br />
Do you want to create multiple bookmarks to the site? -
Can anyone tell me what "Could not find namespace: AgCreativeCloudUtils" means when I hit the Import button in Lightroom? Thanks
It means you're hitting a bug.
Consider filing a bug report here:
New topic for Photoshop Family
(along with pertinent information like OS & Lr version, plus conditions which it occurs AND conditions in which it does NOT occur, if you can find any).
Maybe somebody else with more specific knowledge or experience will be more help.
Good luck,
Rob -
iPod: I clicked the eject button on the sidebar in itunes now I can not find the devices button or my iPod anymore in the iTunes side bar how do i find it again?.....Help!
You can use iTunes, connect iPod Touch to computer iTunes.
Select iPod Touch in iTunes under DEVICES (left panel)
Select Books tab (right panel near the top)
Deselect those books that you have read
Click Sync button (bottom right)
Have a read to get up to speed using iPod Touch
iPod touch User Guide (For iOS 5.0 Software) -
HT1420 I can not find the location of the "authorize" button.
I can not find the "authorize" button on the itunes menu?
There's a couple of ways to get through to the authorisation controls in the 11.0.x versions.
The control is still in the Store menu, but first (if you're using iTunes versions 11.0.x) you might need to bring up the menu bar to see the Store menu.
If you're using 11.0.x, click on the wee boxy icon up in the top-left corner of your iTunes to see the "Show Menu Bar" control, as per the following screenshot:
Then you'll find the control in the Store menu:
Alternatively, if you don't want to bring up the menu bar, it's still possible to get into the authorise controls via nested menus accessible from the wee boxy icon. Here's a screenshot of where to find them: -
Facebook Like Button - Could not find the linked file ....
Hi All,
Hope everyone is ok!
I have a question:
I have downloaded the Facebook Like Button (https://www.facebookbrand.com/), in AI format, and, when I open it in Illustrator CS6 *trial version*, I get: "Could not find the linked file "likeicon_7-17a.ai". Choose Replace to select another file, or Ignore, to leave the link unchanged".
If I click "Ignore", the file is displayed, without the "thumbs-up" icon.
Why does it do this?
The only "ai" file in the archive is the entire logo. There is no "likeicon_7-17a.ai".
Here is the archive, if someone can tell me what is going, i would be happy!
http://speedy.sh/D642Q/logos-and-badges-like-button-print-packaging-ai.zip
Thanks!
Chris
P.S.: I apologize for the "weird" username, but, the forum software wouldnt allow any username I picked!
Thanks again!
Christhe file is constructed poorly.
You could download the thumbsup.ai file and then simply copy/paste it to the like button file. -
Can not find out Approve or Reject buttons in exchange 2013 approval
Hi all
I have created messages approval rule. when User1 sent message then Forward the message for approval to User2.
But when User2 login to OWA or MS outllook 2010 then User2 can not find out Approve
/ Reject buttons.
Please help me solve this problem
ThanksHi,
It is so strange. I noticed that the Approval Requested message was sent to two moderators: Administrator and TruongCM. Please confirm if the Approval button is missing in both moderator's Outlook.
Please close Outlook, then send a test email and receive it by using OWA or Outlook Online mode to check whether the issue persists. Also create a new Outlook profile to have a try.
Please update your Outlook 2010 with the latest patches and service packs.
Regards,
Winnie Liang
TechNet Community Support -
Does Adobe Story Free have a Type and Template for Stageplay format and if so where do I click for it? In the Type button I could only find, Screenplay, TV script, AV script, Two column script, and other but nothing for Stageplay.
Does Adobe Story Free have a Type and Template for Stageplay format and if so where do I click for it? In the Type button I could only find, Screenplay, TV script, AV script, Two column script, and other but nothing for Stageplay.
-
Why I can not find the backgound change button in the iBooks created by the iBooks author?
Every iBooks download in the iBooks store all have this option, why I can not find it in the iBooks created by myself? Is it the benefit for the iBooks store stuffs only?
Thanks for the help in advance!Those options are only available for books _not_ made using iBooks Author.
iBooks Author outputs a hybrid e-pub of Apple's design that only works on iPad.
Your example above is from a book using a standard e-pub format that works on both iPhone and iPad.
And example of an OS X application that outputs a standard e-pub file is Pages. -
Running an exe from within Oracle WebLogic 10g R3 does not find dll
Hi,
I am facing a strange issue with Oracle WebLogic 10g R3.
I use the code as shown in Listing 1 below to run a windows based application exe (batch job) from within my web application hosted on Oracle WebLogic 10g Release 3.
Note that this code woks fine on Tomcat 6.x and OC4J (JDeveloper TP4).
The exec gets executed but the log of the exe program shows it could not load certain DLLs.
Note that these DLLs are in the same directoy as the Batch program and this directory is in the PATH.
Running through simple Java Program Successful*
When I run the same program from a java program it runs successfully. So this means some WebLogic environment does not get set properly.
Running directly BatchProg.exe rather than cmd.exe fails*
Also note that when I run the exe directly e.g. BatchProg.exe rather than through cmd.exe it gives me a error the system did not find the file specified.
CreateProcess error=2, The system cannot find the file specified with cause java.io.IOException: CreateProcess error=2, The system cannot find the file specified
Listing 1:*
String[] commandArgs = new String[|http://forums.oracle.com/forums/] { "cmd.exe", "/C", "BatchProg.exe \"param1\" \"param2\" " },null , l_workingDir)
Runtime rt = Runtime.getRuntime();
Process proc;
proc = rt.exec( commandArgs, envParams, workingDir );
ProcessIO errStream = new ProcessIO( proc.getErrorStream(), "ERROR");
ProcessIO outStream = new ProcessIO( proc.getInputStream(), "OUTPUT");
errStream.start(); // process any errors from the command
outStream.start(); // process any output from the command
System.out.println("Error=" +errStream);
System.out.println("Out" + outStream);
return (p_waitToFinish ? proc.waitFor() : this.SUCCESS);OK.
I have posted this on the WebLogic Forum.
Thanx.
Maybe you are looking for
-
I am about to comence my Edit, and was told of Mpeg Streamclip, however this doesn't seem to work with my Canon XF305 Clips, the reason I was told to use it was so I wouldn't have to Render in Final Cut Pro all the time.. I do have the Canon Disc wit
-
Panasonic AG-HVX200 + MacBook Pro + FCP5 = Bliss or Nightmare?
Hello all, I am planning my first HD shoot on the Panasonic HVX200 and am very excited. I aslo have a million nagging questions, so... 1. How do I get the media out of the HVX200 memory sticks and into a external firewire drive hooked up to my MacBoo
-
is it possible to make in : Join by phone tin online meeting request that the number is shown as hiperlink in outlook 2010?? when i send the invitation for example to gmail user I can see it on my phone. but if I would like to call directly from the
-
Exception in Oracle BPEL Process Manager
hi, when i am trying to login the BPEL consol (10.1.3.3.1), the following error i'm getting , can anyone pls helpme out. Oracle BPEL Process Manager Full Cycle An unexpected error has occurred while executing your request. This is most likely related
-
QM process in Procurement Cycle
Hello I request some help on the role of QM in the Procurement process. Can anyone provide me with the QM cycle in MM along with the T.Codes? Thanks in advance Amit