Can't get Simple button to Load Movie Clip
Hi I've looked around for the answer to my question on this
forum
but havent found it so here it goes. I am working on this
company's
Flash site that was built by an outside studio. I am using
CS3.
The url to the site is
http://www.bubbakeg.com.
(this link will take you to the main page click the shadow
graphic
on the left under Bubba and this will take you to the site I
am speaking
of. The site is basically 5 different pages or movie clip.
What I am
trying to do is basically change the "Spring Break" middle
graphic
(which is a Movie Clip) on the HOME page and add a simple
button
that will direct the user to a new page. When I replaced the
graphic
with a new Movie clip there was no problem but I have added
a
button to load a new page (movie clip) and nothing happens.
This
button is in the movie clip of the new graphic which is
called up
when the page loads. If i take this button and just put it
on the
Main Stage in Scene 1 by itself it works and loads the page
(movie clip). It does not however when it is embeded in the
Movie
Clip. The Flash site is basically 5 different Movie Clips
loaded into
an "Empty Clip". This empty clip has a timeline with each of
the
clips labeled and with their respective sized placeholders.
And
when you click on either the links on the Nav bar or the
graphic
for each page it loads that movie clip on the main page. It
seems
like the button only wants to work on the main timeline. I
have
even replaced the code for the "Contact" button with the code
for the new button and it worked (opening new page). Here is
the
code for the new button that does not work:
on (release) {
_root.contentHolder.myHeight = 307;
_root.contentHolder.newLoc = 9;
heightAnimation();
I know the location and height from the above code are
referring to the placement and sizing of each movie clip
in the "Empty Clip". As i said before this heightAnimation
and the resizing of the new clip works fine when the
button resides in Scene 1 on the Main Timeline but not
within the new movie clip (graphic Ive created.)
I will upload the main chunk of the code that resides
in Scene 1 on the first frame of the "Actions" layer.
If anyone has any ideas I would appreciate it very much!
Please let me know if I can provide anymore info.
Thanks!
Greg
change:
function newLayerBT_CLICK(MouseEvent):void{
to:
function newLayerBT_CLICK(e:MouseEvent):void{
Similar Messages
-
First, all the system info:
Windows 7 Home Premium Service Pack 1
Intel HD Graphics 3000 Display Adapter
I’m using Premiere Pro CS6 Version 6.0.5 (001 (MC: 264587)) “Mighty Kilt”
Version 6.0.3.1 (64 Bit) of Adobe Media Encoder CS6
Version 6.0.2.004 of Adobe Encore CS6
Other Adobe applications installed: AIR, Creative Cloud, Download Assistant, Encore CS6 Library, Flash Player 12 ActiveX, Flash Player 12 Plugin, Help Manager, Premiere Pro CS6, Premiere Pro CS6 Functional Content, Reader XI
I’ve run check for updates on Premiere Pro, Encore and Media Encoder and everything is up to date
I have also already searched on these forums (and elsewhere!) for answers to this problem and have obviously not been able to fix it.
Specificlally, in these forums I've read and followed:
http://forums.adobe.com/thread/1065117
The last post on this was Dec 2012
http://forums.adobe.com/message/5171140
Last post March of 2013
I've read these Adobe Help pages that have been quoted in many posts:
http://helpx.adobe.com/encore/using/download-library-content.html
http://helpx.adobe.com/x-productkb/multi/library-functional-content-missing.html
I've spent SEVERAL HOURS on this problem already. Ugh.
Two things that would be extremely helpful for me:
Does anyone know the actual FILENAME that contains the "button templates" or "loadable button styles" that would make these appear in Encore? Perhaps they did install somewhere on my computer, but I just haven't found them yet. If I knew the name of a file (or files) I could do a search and determine if I already have what I need. If there's a file for each button style and thus 50 different filenames, can you give me one or two and then perhaps the FOLDER name I could search on?
Can someone tell me how to load an image into a post so I can show you what I'm seeing (or not seeing?) A picture's worth a thousand words. Right now, when I click on the "camera" icon above where I'm writing this post, I get a grey box that says "Insert Images" but there are no links, nothing to click on or anything. Simply a red x up in the right hand upper corner. I'd embed a picture of that in this post, but I don't know how to embed the picture that shows my difficulty in embeding a picture. :-)Stan -
Thanks again for the simple but valuable tip.
I'm just going to repeat the relevant sections from my previous post with the screenshots this time:
Below you'll see a snip of how my current folder structure appears. It's identical to yours, except there are no button files in the General Folder. Since you were kind enough to include a file name, I did a search on that specific one and it's nowhere to be found on my hard drive. Hmmm....
I've seen others remark on how... "challenging".... Adobe's instructions can be sometime. I'll admit to having the same feeling when I was trying to download and install all the content files and the 7-zip stuff. Is the answer somehow that I screwed up that? Note the 7-zip folder right above the Adobe folder. Here's a screen shot of that expanded folder contents:
Does that look like you think it should? Have I not installed or extracted something correctly?
Finally, the only other thing I can think of to give you as much info as you might need is to include a screenshot of where the "Functional Content" stuff got saved. Adobe's instructions about this (if I recall correctly) were that it did NOT have to be installed anywhere specific, but you then had to go into Encore (& Premiere) and through preferences point to this stuff, which I believe I did. But I don't see any button type files in these anyway.
Other thoughts or advice?
Thanks! -
Simple Button to Control Movie Clip
Hello,
I was relatively comfortable with AS 2.0, but am having a
hard time warming up to 3.0. I feel that this should be something
simple to find help online with, yet I'm finding it difficult to
get a simple answer.
I have a button that is inside a movie clip within another
movie clip:
mainMenu_mc > whoBtn_mc > whoButton
This button appears to work fine controlling a movie clip on
the same timeline. This is the code so far (on an Actions frame in
WhoBtn_mc):
whoButton.addEventListener(
MouseEvent.CLICK,
function(evt:MouseEvent):void {
whoGlow.gotoAndStop("click");
I have another movie clip on the main timeline that I would
like to control with this button:
blackFadeBottom_mc
What would the code look like for this?
Any help is appreciated - Thank you.Thanks, I was able to place the code on the main timeline and
get a trace when I clicked on the movie clip instance itself. I
probably didn't explain what I was trying to do very well, so I
apologize.
What I need to do is to control this movie clip that is
physically placed on the main timeline (fadeBlackBottom) with the
button that is buried under two other movie clips
(mainMenu_mc>whoBtn_mc>whoBtn).
I would like the whoBtn to tell the fadeBlackBottom movie
clip to (what used to be)
_root.fadeBlackBottom.gotoAndPlay("play"); This will drop down a
box that will contain the content of my 'Who' link.
How can I accomplish this?
Thanks again,
Chuck -
How can you get a photo within a movie clip .
I have created an imovie of an athletic event and want to extract several photos from the various clips.
See AppleMan's guide here in the User Tips section:
https://discussions.apple.com/docs/DOC-3231
Best, -
Loading Movie Clip from a button
Hi,
How do I load a movie clip from a button? So far on my button
(b1), I have this AS: and I want the button to load the movie clip
"char1." My button already has some AS:
b2.onRollOver = function() {
_root.captionFN(true, "Hi!", this);
this.onRollOut = function() {
captionFN(false);
How would I go about adding more script to load a movie clip
to my button b2?
ThanksHey - Unfortunately I'm going to be in meetings for most of
the day, so
it'll take me a while before I can go through this in any
detail. One thing
that struck me though is that your two functions (captionFN
and
hoverCaption) are in the main1_mc not on the main timeline.
Then the
buttons are calling _root.captionFN(); which refers to the
main timeline.
I would expect that they should be calling
_root.main1_mc.captionFN(),
because that is the path to where the function is. Does that
make any
sense?
One thing that I do when I'm writing code is to always keep
all functions on
the main timeline. That way you are sure that they are being
registered
(i.e. if you call a function before the playhead reaches
where that function
is written, the function won't work. If the function is in
the first frame
of the main timeline, you know that the playhead has reached
it). What you
might want to do is to move all your functions to the very
first frame of
your movie. Then you can call them with the path:
_root.myFunction() and
you are sure that they will be found.
Maybe give that a try and let me know if it helps. In the
meantime, I'll
try to go through your code, but like I said, today's a bit
of a gong show
for me.
Sorry - I don't mean to just sluff you off or anything.
Cheers,
Brock
"respondplease" <[email protected]> wrote in
message
news:[email protected]...
> Hi Brock,
>
> Thanks again, your sample file really helps but I'm
still having problems.
> What it boils down to is that my buttons don't fully
function properly. It
> works correctly sometimes, but not consistently enough.
So if I fast
> forward
> too much or rewind and then FF, the buttons aren't
either isn't clickable
> or
> the hover text and caption box doesn't show up, etc.
This usually happens
> when
> I press FF too many times or too fast. But regardless of
how many times I
> press
> FF I would like my buttons to work
>
> Your sample file is very useful but unlike mine I have
perhaps too many
> MC's
> w/in MC's, etc. I will try to clarify my setup in hopes
of finding a
> (better)
> solution to my problems. My main timeline has my "prev",
"next", and
> "pause"
> buttons which also has the actionscript for my NEXT
BUTTON, PREV BUTTONS.
> And
> now I've added your SHOW BUTTONs function as well. I've
minorly modified
> your
> showButtons function adding a couple of more lines and
actually deleting
> the
> _root because I found that it doesn't work sometimes.
Anyhoo, here it my
> entire
> code in one frame on my main timeline:
>
> // ===== NEXT BUTTON ===== \\
> next.onPress = function() {
> _root.screen.showButtons();
> _root.createEmptyMovieClip("controller_mc", 1);
> controller_mc.onEnterFrame = function() {
> _root.screen.gotoAndPlay(_root.screen._currentframe+10);
> if
(_root.screen._currentframe+10>_root.screen._totalframes) {
> _root.screen.gotoAndStop(_root.screen._totalframes);
> }
> };
> };
> next.onRelease = function() {
> controller_mc.removeMovieClip();
> _root.screen.showButtons();
> };
> next.onReleaseOutside = function() {
> controller_mc.removeMovieClip();
> _root.screen.showButtons();
> };
>
> // ===== REWIND BUTTON ===== \\
> prev.onPress = function() {
> _root.createEmptyMovieClip("controller_mc", 1);
> controller_mc.onEnterFrame = function() {
> _root.screen.gotoAndStop(_root.screen._currentframe-10);
> if (_root.screen._currentframe-10<1) {
> _root.gotoAndStop("screen");
> }
> };
> };
> prev.onRelease = function() {
> controller_mc.removeMovieClip();
> };
> prev.onReleaseOutside = function() {
> controller_mc.removeMovieClip();
> };
> // ===== SHOW BUTTONS ===== \\
> function showButtons() {
> for (i=1; i<=6; i++) {
> _root["b"+i]._visible = true;
> _root["char"+i].removeMovieClip();
> chars._visible = true;
> cap.desc._visible = true;
> cap._visible = true;
> }
> }
> Still from my main timeline, my main1_mc is called from
the frame labeled
> "screen." My main1_mc has the b1 - b6 buttons which has
the HOVER CAPTIONS
> and
> HIDE BUTTONS FUNCTION coding. And each button calls each
movie clip ie.
> char1_mc, char2_mc, etc. Here's all my code on one frame
(in my main1_mc):
> // ===== HOVER CAPTIONS =====
> b1.onRollOver = function() {
> _root.captionFN(true, "pick me!", this);
> //display the function (true) or to hide the function
(false)
> this.onRollOut = function() {
> captionFN(false);
> };
> this.onRelease = function() {
> hideButtons();
> _root.attachMovie("char1_mc", "char1",
_root.getNextHighestDepth(),
> {_x:595,
> _y:345}); //this attaches movie to the _root timeline,
and renames it to
> "char1".
>
> _root.char1.swapDepths(_root.cursor_mc);
> //swaps the depth that the cursor is on and the new
movieClip is on. So
> the
> cursor will stay on top.
> };
> };
> b2.onRollOver = function() {
> _root.captionFN(true, "Hi!", this);
> this.onRollOut = function() {
> captionFN(false);
> };
> this.onRelease = function() {
> hideButtons();
> _root.attachMovie("char2_mc", "char2",
_root.getNextHighestDepth(),
> {_x:605,
> _y:345});
> };
> };
> b3.onRollOver = function() {
> _root.captionFN(true, "Get Jac'd Up!", this);
> this.onRollOut = function() {
> captionFN(false);
> };
> this.onRelease = function() {
> hideButtons();
> _root.attachMovie("char3_mc", "char3",
_root.getNextHighestDepth(),
> {_x:605,
> _y:345});
> };
> };
> b4.onRollOver = function() {
> _root.captionFN(true, "Boo!", this);
> this.onRollOut = function() {
> captionFN(false);
> };
> this.onRelease = function() {
> hideButtons();
> _root.attachMovie("char4_mc", "char4",
_root.getNextHighestDepth(),
> {_x:605,
> _y:345});
> };
> };
> b5.onRollOver = function() {
> _root.captionFN(true, "I'll be your guide", this);
> this.onRollOut = function() {
> captionFN(false);
> };
> this.onRelease = function() {
> hideButtons();
> _root.attachMovie("char5_mc", "char5",
_root.getNextHighestDepth(),
> {_x:605,
> _y:345});
> };
> };
> b6.onRollOver = function() {
> _root.captionFN(true, "Welcome!", this);
> this.onRollOut = function() {
> captionFN(false);
> };
> this.onRelease = function() {
> hideButtons();
> _root.attachMovie("char6_mc", "char6",
_root.getNextHighestDepth(),
> {_x:605,
> _y:345});
> };
> };
> _root.captionFN = function(showCaption, captionText,
bName) {
> if (showCaption) {
> createEmptyMovieClip("hoverCaption",
this.getNextHighestDepth());
> cap.desc.text = captionText;
> // cap._width = 7*cap.desc.text.length;
> cap._alpha = 75;
> if ((bName._width+bName._x+cap._width)>Stage.width) {
> xo = -2-cap._width;
> yo = -17;
> } else {
> xo = 2;
> yo = -17;
> }
> hoverCaption.onEnterFrame = function() {
> cap._x = _xmouse+xo;
> cap._y = _ymouse+yo;
> cap._visible = true;
> };
> } else {
> delete hoverCaption.onEnterFrame;
> cap._visible = false;
> }
> };
> // ===== END OF HOVER CAPTION ===== \\
>
> // ===== HIDE BUTTONS FUNCTION ===== \\
> function hideButtons() {
> for (i=1; i<=6; i++) {
> this["b"+i]._visible = false;
> }
> chars._visible = false;
> cap.desc._visible = false;
> }
> Sorry for copying and pasting all my code - I know it
must be annoying,
> but I
> can't seem to find what's wrong. Again, ANY help would
be greatly
> appreciated.
> Thanks for your patience. Your talent is very much
appreciated and I'm
> very
> grateful for all your help.
>
> Kindest regards
> -
Can i get a refund on a movie i accidentally purchased online
can i get a refund on a movie i accidentally purchased online
To report an issue with a purchase, follow these steps:
• Open iTunes. If you are already signed in, skip to step 4.
• Choose Store > Sign in.
• Enter your account name and password, then click the Sign In button.
• Choose Store > View My Account
• Click the Purchase History button
• Click the Report a Problem button at the bottom of your purchase history
• Click the arrow next to the purchase with which you want to report an issue
• Click the Report a Problem link next to the item with which you wish to report an issue
• Click the Problem menu
• Choose the option that best describes the issue. If none of the options match your issue, choose "My concern isn't listed here."
• Write comments about the issue (optional).
• Click the Submit button -
i was told to restore my ipod to add music to it on another pc, now i can`t get the itunes to load. I tried to reinstall itunes and it won`t let me. I have a empty ipod and no itunes can anyone help
Trouble installing iTunes or QuickTime for Windows
iTunes: How to move your music to a new computer
iTunes 10 for Windows: Move items to another computer -
I can't see any button to purchase movies, music on Itunes Store
Do you mean that you don't get purchase buttons against items or that those categories don't show on the store homepage ? If the latter then not all content types are available in all countries - a full list of what is available where is shown on this page : http://support.apple.com/kb/TS3599
-
I have installed Adobe Creative Cloud for teams CC Packages which says that Acrobat XI Pro is installed. Your support page says it does not install Acrobat and I have to look in the Extensions folder for an MSI file. I have run a number of searches and cannot find the Acrobat extension folder please advise how can I get these applications to load onto my computer?
Also I now administer the teams and have accepted the invitation to I received to be a team member and download the apps. The admin page shows that I have been sent an invitation but does not show my account as "ACtive" unlike my other team members. I tried to use the link in the invite to accept it become active but the link displayed an error saying I had already accepted the invite... why is no account not active?
Finally what other product downloads in Creative Cloud do not actually download as part of the Creative cloud Packager for downloading the apps? e.g. acrobat and what else?My apologies Eadeszoo I believe our support agents are unavailable on January 1.
Are you able to copy the contents of the DVD to your computer? Are you receiving any particular error messages when you are trying to install? Finally which operating system are you using? -
I have a issue with my mac book pro. For some reason it won't stay powered on. I can't get past the apple loading logo. The battery is fully charged so it is not the problem. Can anyone tell me what the problem may be and how can i get it resolved?
The battery is fully charged so it is not the problem.
What happens when you use the MagSafe? -
Can I get a refund on a movie rental i ordered that keeps freezing half way through the movie?
Can I get a refund on a movie rental i ordered that keeps freezing half way through the movie?
No, but they will likely let you redownload it if you report the problem:
How to report an issue with Your iTunes Store purchase -
Editting PDF documents that were created by a MAC doesn't work because of font incompatability. How can we get MAC fonts and load in our Adobe Acrobat Pro 9?
If it's a Mac font and you're on Windows, you can't. If you are also on a Mac, you'll need to purchase the fonts (fonts are generally non-transferable, like software. One of the reasons pdf exists), install them and try your edits.
But it's best to edit the original document and create a new pdf when finished. -
Can't get lightroom cc to load after install
can't get lightroom cc to load after install
Have you tried logging out of your CC desktop app, then logging back in again? Quit/Restart won't work, but logging out and back in should. See here: https://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
-
Help I can't get Java to down load !
Hello BROitsJAMIE,
Thanks for using Apple Support Communities.
I'd like you to please follow the troubleshooting in the article linked to below in order to resolve this issue with your Mail.
OS X Mail: Troubleshooting sending and receiving email messages
Take care,
Alex H. -
Using 2 monitors. I can't get my Layers Pallet to move to the 2nd monitor
I'm using 2 monitors. I can't get my Layers Pallet to move to the 2nd monitor screen. It is simply locked to the right side of my 1st monitor. A solution would be great. Sorry if it's a noob question.
Thanks for your time.
MontyNo problem. We've all had newbie questions at one time or another.
However, I am going to have to put on my clairvoyant hat and guess you are running Photoshop 10.0.1 (CS3). :/
In CS3, do NOT attempt to move the palette well, i.e. the dark gray zone above the palettes. That you cannot move.
Instead, grab each palette individually by the light gray bar just at the top of each palette.
Maybe you are looking for
-
Application Manager not working
For some reason my Application Manager and my Adobe Premiere CC 2014 are not working at all. I hava an iMac 3.4 GHz Intel Core i7 with 24 GB 1600 MHz DDR3 ram and running OSX 10.9.5. No matter how many times I try to load my new apps in Application M
-
My hard drive keeps filling up--to the point of getting error messages. In this case, I am using an older G4/400Mhz. It only has a 30Gb internal Hard Drive, which has 6.48 Gb available. All I use this for is Safari (when my main computer is busy) and
-
MAC Mini Server Startup Problems
Help! MAC newbee. Just bought a new MAC Mini Server, got monitor connections in place; have wireless keyboard and trackpad; at startup I get the white screen with apple background then followed by a screen with a graphic with some rounded-corners rec
-
IPhoto 9.1.5 Won't Print; Theme Problem
Running 10.6.8 and recently I became unable to print my own photos on iPhoto 9.1.5. I have done everything I can think to do. Completely reinstalled 9.1.5 from iWork's and my Time Machine using 7/13/11 content. Nothing worked. Also did the usual tras
-
Different vaues in GR reversal!!
Hi All, I have posted a GR receipt with value 1 and then posted an invoice of value 33000. Now when I try to do the reversal of the GR document using MBST I get the reversal document with value -33000 from the invoice. Again I changed the PO value to