Button - Set The Thumbnail To Go To A Certain Frame/flag It Doesn't Go?
Oct 25, 2010
I'm making a site that has a scrolling set of thumbnails and then when you click on one of the thumbnails a video will play. I used this (httpurl].....) tutorial and the scrolling is fine, but when I set the thumbnail to go to a certain frame/flag it doesn't go? I click on the thumbnail> +> Movieclip> goto and play at frame or label> and put in the label I've used for the frame (F15) and then when I test the movie nothing happens when I click on the thumbnail. Can someone help me? I'm dyin' here.
View 2 Replies
Similar Posts:
Dec 15, 2006
here is my script:
stop();
//setting up the list of frame names for the buttons
imagelist = ["horror","legs","chair"];[code]....
So my problem is that on the button release it doesn't go to the frame that I labelled .My button symbol is called b_next with instance name of next_b. So don't think thats the problem. Is it because I made an array that equals the instance name of my frames?
View 1 Replies
Jun 17, 2008
I am trying to create a video gallery with thumbnails, I referenced [URL].
its a great tutorial, Howevr my problem is that i want to stream flv files from http link, and for that I am putting null in the connection, i.e I am not making an rtmp connection as my files are not on my m/c.
now when i do this, im not able to grab the first frame of my stream.
ns.play(URL, 0 , 0), here 3rd parameter is len, which if 0 should play first frame..this will solve my purpose of thumbnail. but right now, its playing whole file in the thumbnail which i dont want.
get the first frame while playing flv from http url?
View 1 Replies
Mar 10, 2011
I'm working on putting together a portfolio website in Actionscript 3.0, and here's my situation: I have four main sections (Home, Works, Reel and Contact). When you first enter the website, it directs you to the Home content, which is on Frame 1. When you click on Works, it is intended to take you to Frame 2 - which it does just fine. On the works page, however, there is a frame to display large versions of the row of thumbnails along the bottom. Frame 2 automatically displays the large image of the first thumbnail, but the second thumbnail redirects you to Frame 3, which is identical, except it replaces the large image of the first thumbnail with the large image of the second thumbnail - and so on and so forth.
The thing is, when I get to Frame 2, my thumbnail buttons aren't working and I get this error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Portfolio_Site_03_fla::MainTimeline/frame1()
What I'm getting from this error is that it essentially doesn't recognize my thumbnail buttons because they do not exist on frame 1. I even attempted to move the keyframes with the thumbnail buttons on them to frame 1 and everything was working just fine, except for the fact that I had big thumbnail buttons all over my home page which I do not want to be there. For reference, here is my AS code:
ActionScript Code:
stop();
import flash.events.MouseEvent;
import flash.net.URLRequest;
//---Home Button---\
Home_Button.addEventListener(MouseEvent.CLICK,hClick);
function hClick(event:MouseEvent):void{
[Code] .....
How can I resolve my situation and get my buttons to do what I want them to do? My only guess would be that I'd need to make a new scene, but wasn't that one of the major points of AS 3.0?
View 1 Replies
Jan 11, 2009
I'm trying to create a video gallery that has thumbnails. But I want the thumbs to be the first frame of the video. Is there any way to extract the first (or any other) frame and display it as bitmap data without having to download the entire .flv file?
View 4 Replies
Nov 28, 2007
I have made a image-viewer. I've this AS for the viewer:
Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
function loadXML(loaded) {[code].....
Now i would like to make a loop for the thumbnails so they don't have a beginning or end(Now when i scroll to the right the thumbnails stop at the last thumbnail, i want it to begin at the first thumb again).I'm also trying to make that the middle thumbnail represents the photo in target_mc.
View 1 Replies
May 24, 2010
I would like to start out by saying I am very new at this and am working on a portfolio website in flash CS4 and currentlyhrough the tutorials over at Now my problem is In the portfolio section I want a preview of the pics like a thumbnail on the bottom with a scroll bar to scroll through them all, but at the same time I would like to have buttons to navigate through these photos at the same time. I have got it to work, the only problem is let say i'm using the buttons to navigate through but then stop and go to the scroll bar on the bottom and click on one three of four pictures in front of where I left off, The image loads and everything is fine but when I go back to the buttons it continues off from where it last left off not where I clicked on the scroll bar.Here is the code that I currently have:
myscrollpane.source=allthumbnails;
//load the thumbnails...
var thumbLoader:Loader = new Loader();
[code].....
View 3 Replies
Sep 18, 2010
I am fairly new to flash action script and I am having a problem with a project I am working on. The problem is as follows. I am trying to create a table of thumbnail pictures from an xml. I have made the table load from from the file though when the items are created the first thumb has the background and text field though all others are missing this. I have tried making a clip inside the thumbnail clip thats called "thumbnail_image" though that didn't work. I also want to be able to click the thumb and have it go to the corresponding url from "curl[]". I just can't work it out. At the moment it will only go to the last url added in the array
[Code]...
View 9 Replies
Jul 10, 2007
I am making a gallery, which you can view here:[URL]ok, firstly, when you click a thumbnail, you cannot scroll them until you roll off the click thumbnail, and I'm not sure why. is it just a movieclip thing? or can I put some code in to re-get focus of something? ok, now for the two general questions:
1. When you roll over the thumbs, they go up, sometimes they flick back down though, even though you are rolled over them still. is this just because they are moving?
2. Does anyone know why when I add this:
[Code]...
View 1 Replies
Oct 18, 2010
In the project I am working on I am trying to get a button 'menu button' from the library to appear on rollover within a dynamically created thumbnail mc. So basically when you roll over any one of the thumbs a button appears that can be clicked. I have tried to directly attach the button and also tried to create an empty clip in side the thumb and then attach the button to this empty clip. With this second method I can trace the empty clip though still can't get the button to attach.
Code:
currentThumbs.onRollOver = function() {
v = this.createEmptyMovieClip("ButtonContainer", 0); /// ButtonContainer can be traced
v.attachMovie("menu button", "downloadBut"+this.numb, this.getNextHighestDepth());
v["downloadBut"+this.numb].label_txt.text = "Download";
v["downloadBut"+this.numb]._x = 5;
v["downloadBut"+this.numb]._y = 5;
};
I know the 'menu button' works as it is used in other menus within the file though I can't get it to attach to the thumbs. So you know this.numb is working as well. It is created in another part of the code. I can upload the files if needed though it is a rather complex project including several xmls and loads of jpgs.
View 3 Replies
Aug 1, 2010
I have an array packed with 100 movieclips. Say, I randomly move each array element across the stage. Now I decide to stop a specific mc. What I would normally do is remove it from the array it currently is at, so the for loop cannot "see" it. When I work with only one mc, I simply set a boolean flag, e.g. ActionScript Code: var isMoving:Boolean = false;, and make it possible to move only when the flag is true. However, it fails to work right when there's more objects on the stage, because once I set the flag to false, all mc's freeze, not the one that actually was meant to. Finally, here comes my question: is it feasible to assign a flag to a specific element of an array? Each element to have its own flag?
View 3 Replies
Oct 11, 2009
Im trying to create via xml and a for() loop a thumbnails wiewer and each thumbnail have a simple onrelease function.....but my probleme is that my 'container' movieClip and 'BT' movieClip dont show when I export the movie...also when i trace()them the output is empty. maybe is because they are inside x.onLoad(xml){} function ? At the end of the script you can remove // before the trace() function for ckecking in the output panel. here is my code:
xml file: TumbLoader.xml
<?xml version="1.0" encoding="ISO-8859-1"?><slideshow><photos thumbnail="thumbnail/1.jpg" /><photos thumbnail="thumbnail/2.jpg" /><photos thumbnail="thumbnail/3.jpg" /><photos[code]...
View 8 Replies
Aug 10, 2009
I've been trying to do is to move a string of thumbnails - thumbHolder_mc - incrementally (like every 386 pixels) left and right, controling it with arrow buttons. Code below works like a charm EXCEPT when I try to stop the tween motion on either end.
I tried everything - _visible = false, enabled = false, delete function, etc etc, nothing works. In the my script below, buttons get disabled, but never recover. Function never comes "back to life", which is what I thought it was supposed to do:
[Code].....
View 4 Replies
Feb 1, 2007
I've used the XML connector to use an xml file to populate amenu>submenu> thumbnail image flash application. Everythingworks except that I'd like the last step to be that the user clickson the dynamically generated thumbnail image to open acorresponding pdf. I'm using the Loader component to generate thethumbnail. Essentially, I want to turn that image into a buttonthat launches a pdf.
View 3 Replies
Aug 13, 2009
All I've been trying to do is to move a string of thumbnails - thumbHolder_mc - incrementally (like every 386 pixels) left and right, controling it with arrow buttons. Code below works like a charm EXCEPT when I try to stop the tween motion on either end. I tried everything - _visible = false, enabled = false, delete function, etc etc, nothing works. In the my script below, buttons get disabled, but never recover. Function never comes "back to life", which is what I thought it was supposed to do: stop(); //connect right and left arrow buttons to
[Code]...
View 3 Replies
Jul 6, 2007
I've been working on the XML Thumbnail gallery tutorial posted up and I wanted to know if it's possible to make a complex rollover effect on an xml button? For example I would like to make this character { rotated 180 degrees above the button as a person highlights the button. How would I go about that.
View 5 Replies
Jul 5, 2011
Create a waving effect on a flag. im currently working on a logo and i need the waving effect.create a waving effect on a flag
View 2 Replies
Sep 14, 2011
what is the use of flag variable in the flex RegExpValidator. what I am to do is to create a validator that can provide variety of error messages as in EmailValidator
View 1 Replies
Jul 2, 2009
I have 4 movieclips.
MC_flag
MC_flag2
MC_flag3
MC_flag4
I have a enemy. (Not programmed yet )
And MC_dude, the player.
When I move MC_dude on top of MC_flag1,2,3, or 4, I want the flag to change to a different Movieclip (An american flag that I have already made.) after 5 seconds. I would also like to know how to make it go to the next level after you cap all the flags. Also, If the enemy captures the flag, it displays a lost screen.
View 2 Replies
Aug 23, 2007
IS there anyway to code to get this kind of effect in flash?[URL]..
I am trying to get my button/objects to wave or move like flapping cloth
I want to avoid components if I can..
View 2 Replies
Jul 2, 2003
you know when a flag waves? the movement of an eel? a sperm tail?
that is what i am trying to accomplish. that movement.
other than very rough tweening i am not getting close.
View 4 Replies
Nov 1, 2010
this project is created in FlashDevelop. It is a waving a flag by clicking on it,but, how I can make the flag flown directly when i execute the swf?.Here's the code:
Code:
package
{
import com.innerdrivestudios.visualeffect.WrappingBitmapData;
import flash.display.Bitmap;
[code]...
I want to waving the flag without clicking on it.
View 5 Replies
Nov 10, 2008
I've been trying to piece together a way to have an image with a flag wave fade in as soon as the movie loads. Once the image is faded in almost all the way, I want the waving to slow to a stop so at the end, it's a static image. I've gotten most of this accomplished, however, once the flag wave slows and stops, the entire image shifts up and to the right. I'm sure it has something to do with some displacement variable, but since I'm no coder I can't seem to figure out how to stop this.[code]...
View 1 Replies
Sep 29, 2011
I am trying to make an API in which there are 3 screens:
1. User drags items to a blank square(area) and makes a flag in the area with the items-i will call it "the flag" from now on
2. User dresses a puppet-i will call it "the puppet" from now on
3. User can print puppet+the flag(and he can arrange it-over/under the puppet, resize, rotate etc.)
I think all I have to do is create an MC with the flag and then move it over frames, or insert the flag (blank square+components used) to an MC in advance, and by code remove unused items and then "pop" it in the other frame (but then i need it to be the edited one, not the original). I attached the frame. The square is the area and the blue squares are the draggable items. I want to preserve that edit (post drag locations).
View 0 Replies
May 31, 2010
I'd like to mention that i'm a totally newbye with flash and actionscriptI'd like to load some external text inside a movie clip that contains a bitmap from library.It is a waving flag created via AS2 with "Waving***EffectAS2" from flash-filter.netthe code is:
Code:
// attach filter on stage
var myFilter:MovieClip = this.attachMovie("WavingFlagEffectAS2", "WavingFlagEffectAS2", 1);
[code].....
View 10 Replies
Jul 20, 2009
I'm working on a timeline system which you can see here:http:[url]....I am generating each flag using attachMovie to duplicate a TextFlagMC over and over, giving each one a date and blurb.If there are a lot of them on screen they often overlap.I wrote this code on the 1st frame of the TextFlagMC so that each flag will create itself into TopShelfMC, a shadowed container MC on a higher layer:
onRollOver = function(){//Pop flag ontop of all others
TopShelfFlag = _root.Timeline.TopShelf.attachMovie("TextFlagTopSh elf", "TextFlagTopShelf" + FlagNumber, + FlagX)[code]....
and to turn it off when we rollOut, I have this code on the 1st frame of the TextFlagTopShelfMC that just got loaded in the TopShelf layer:
onRollOut = function(){//Pop flag ontop of all others
unloadMovie(_root.Timeline.TopShelf["TextFlagTopShelf" + FlagNumber]);
}
it works.but often times not if you roll from one button right to another.
View 3 Replies
May 14, 2010
it is possible to create a waving flag effect from the image in Flash using ActionScript 3? How can I do that? I found a lot of topics like this, but have not found a solution
View 5 Replies
Feb 24, 2005
Flag for a golf course scene? I'm wondering if there are any tutorials out there, i can't seem to find anything.
View 1 Replies
Jan 12, 2011
Code:
var run:Boolean;
var jump:Boolean;
if (run && jump){
//
}
is flash smart enough to flag the if statement as false based on the first parameter? or will it still process both booleans, even though it is known the if statement must return false based on the "run" Boolean alone. just wondering if its a waste of processing, although trivial at this level.
View 7 Replies
May 14, 2010
It is possible to create a waving flag effect from the image in Flash using ActionScript 3?
View 2 Replies