Target Keyframe In Another Swf File
Hello,I am new to actionscript and would like to make a flash movie (swf file) with a sequence of large images.Another movie (swf file)would have say ten thumbnails of these images. When the viewer clicks on a thumbnail the other movie with the sequence of large images would load...I got that part to work with:one_btn.onRelease = function() {loadMovie("pottery.swf",1);}but I want to target the specific keyframe in the sequence of large images where the corresponding large image (to the thumbnail clicked on) resides.Is there a way of doing this?Please advise... I have searched all my Flash notes and the archives... but did not find a thing...Thank you in advance..Betsy
Adobe > ActionScript 1 and 2
Posted on: 11/20/2006 04:31:10 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Target Keyframe In External .swf
I have a .swf being loaded into a movie clip (container) on frame 60 in my timeline with a preloader, i want when a user hits a button for it to goto frame 60 in the timeline and play a certain keyframe within the external .swf! can anyone tell me how i do this? heres the code i use for preloading the external .swf into the movie clip
Code:
PHP Code:
var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();
myMCL.addListener(myListener);
myListener.onLoadProgress = function(target_mc:MovieClip, bytesLoaded:Number, bytesTotal:Number) {
var loaded:Number = Math.round((bytesLoaded/bytesTotal) * 100);
progressBar.gotoAndStop(loaded);
}
myListener.onLoadInit = function (target_mc:MovieClip) {
progressBar._visible = false;
}
myListener.onLoadStart = function (target_mc:MovieClip) {
progressBar._visible = true;
}
myMCL.loadClip("portfolio.swf","container");
Target Keyframe Or Onload Movie
I have a movie that I need to do two things:
1. contains a symbol that follows the mouse at all times
2. play a text fade-in/out on roll-over of an invisible button.
This movie needs to be housed in an html page and can not load/reload the page constantly. It should be seemless.
Q. How can this be accomplished?
I've tried jumping to keyframes within the same movie (would work great except it stops the cursor. I've also tried loading a new movie to play the text animation but it knocks out the cursor animation as well. I'm unable to keep the symbol following in both cases!!
Is what I'm trying to do possible? I can send files for both cases if need be. Please help. I'm out of ideas!!
Moving Array From Keyframe To Txt File And Shuffle
Hi I have an array in a keyframe - but i want to have it in a textfile instead ( so that others can edit it for themselves. But i am having difficulty doing it.
At the moment I have this on a button
on(press){
letters = new Array ();
letters.push ("Y");
letters.push ("d");
letters.push ("e");
_root.gotoAndStop(8)
Then in frame 8 I have serveral dynamic textboxes and in the keyframe I have
box1=letters[0];
box2=letters[1];
etc.....
What I'd like to know is how to change the above array so that it would work in a text file (which would be easier for others to edit you see).
I think i could divide the letters by : and then use some code to break the array apart at ':'. But I am not really sure.
Can anyone give me some pointers?
Also - if u have time to shuffle the array so letters appear in different boxes each time?
cheers
lesley
Moving Array From Keyframe To Txt File And Shuffle
Hi I have an array in a keyframe - but i want to have it in a textfile instead ( so that others can edit it for themselves. But i am having difficulty doing it.
At the moment I have this on a button
on(press){
letters = new Array ();
letters.push ("Y");
letters.push ("d");
letters.push ("e");
_root.gotoAndStop(8)
Then in frame 8 I have serveral dynamic textboxes and in the keyframe I have
box1=letters[0];
box2=letters[1];
etc.....
What I'd like to know is how to change the above array so that it would work in a text file (which would be easier for others to edit you see).
I think i could divide the letters by : and then use some code to break the array apart at ':'. But I am not really sure.
Can anyone give me some pointers?
Also - if u have time to shuffle the array so letters appear in different boxes each time?
cheers
lesley
Diff Btwn Blank Keyframe And Keyframe?
Hi all,
I'm a first time Flash user who is currently floundering in her attempt to learn Flash MX. Burning question of the hour: What's the difference between a "blank" keyframe and a keyframe? In which circumstances should I use a blank keyframe? How about a plain ol' keyframe?
Thanks for your help!
Play Random Keyframe To Keyframe In MC
Hey all i am creating a game now this is complex but i have been told by my fellow actioncript co worker that its doable, What it is i have a game "Reaction Tester" and It is inside a car going along the road so its psudeo 3d and i have the "walls" and road sorted now i want a movie clip in the road to throw out random objects From a Movie clip, now i will call them from frame names, say..
frame 1-10 is a tween with a box coming down and then frame 11-20 is a cat and frame 21-30 is a hole in the road Etc i want it to call a random frame to frame, to play can anyone help, thanx in advance
[AS3] Determine The Last Keyframe/if A Frame Is A Keyframe
i'm making a game and to score some extra performance im rendering every frame of every entity into an array of bitmapdata's the first time the frame is seen, and it works well, but its wasting alot of memory because we have alot of animations, and most of them are double framed at least, so more than half of the bitmaps could be ignored if there was a way to determine if a frame is a keyframe or not
but it seems theres no simple way of doing this (like mc.lastKeyFrame) so i was wondering if anyone had a solution to this problem
thanks
Send From One Keyframe To Another Keyframe
In one keyframe I have a script that read a PHP file to show some text.
But I also get some information that I like to show in next keyframe too.
Is that any easy and nice way to do that or do I need to use alot of variable
How To Target An .as File From Another .as
Hello,
I was wondering If some one can help in teaching me how to target a function in one .as file from another .as file.
For example.
Lets say that in as1.as I have a function:
Code:
//---------as1.as
Function hello():Void {
Trace(“hello”);
}
And in as2.as I have function with in a button;
Code:
//---------as2.as
Button1.onRelease = function():Void {
Hello();
}
Hope it makes sense.
Thank you.
Target File Size
Hello,
Im new to flash. Im desinging an online game (USA primary market but also worldwide) and was wondering on target filesizes?
What do you set as your target filesizes?
Cheers
Preload File Check Before Tell Target.
how do I check if the file is loaded before I use a tell target command.
Is there a simple way. I am using the following:
on (release) {
loadMovieNum ("funnyface.swf", 1);
tellTarget ("_level1/g") {
i = "1";
while (Number(i)<=Number(size)) {
k = "1";
while (Number(k)<=Number(size)) {
loadMovie ("pics/1ab.swf", "_level1/g/p_" add i add "_" add k add "/image/car/weasel");
k = Number(k)+1;
}
i = Number(i)+1;
}
}
}
I have it as a button.
Can I add a simple line or is it with frame looping.
Thanks trish.
How To Exe File To Movie Clip Target?
How to exe file to movie clip target?
I would like to load exe file in target movieclip in main movie but I try to loadmovie it's not work.
help me
Thank you so much
.as File Needs To Target A Button Within A Nested Mc
I wonder if anyone can help.
I have a movie clip sat on the main timeline called "clip1"
within that movie clip I have a button called "button1"
I did have this code attached to the button
on (release) {gotoAndPlay(2);
}
now I need to have all my actionscript contained within a seperate .as file
So I have created an .as file called test and have this code in on the 1st frame of my .fla
#include "test.as"
I have got as far as this with the content of the .as file
button1.onRelease = function(){
gotoAndPlay(2);
}
.....but it doesn't work
Now i think this has something to do with the fact that i need to give the buttons location in the script somewhere
(because if i place the button on the main time line the code above works fine)
I tried putting "level1.clip1." at various points in the above code but all my attempts at doing this have failed.
Loading Another File In Same Target On IOErrorEvent
Hi,
I'm trying to load a default file into three different loaders when the URL is not found, that is in case of an IOErrorEvent.IO_ERROR event. So I've written one function for the three loaders to use:
PHP Code:
var loaderb:Loader = new Loader();
addChild(loaderb);
loaderb.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, no_pic);
loaderb.load(new URLRequest("test.JPG"));
function no_pic(e:IOErrorEvent):void{
trace("captured event "+e);
e.target.loader.parent.parent.load(new URLRequest("no_pic.jpg"));
}
The event is captured correctly but when I try to reuse the loaderb object for loading the default picture no_pic.jpg I get this error:
Error: Error #2099: The loading object is not sufficiently loaded to provide this information.
at flash.display::LoaderInfo/get loader()
at io_error_fla::MainTimeline/no_pic()
Is there a way to get to the name of the original loader object which had the IOError?
Thanks very much for your help and time!
Querying To See If File Exists At Target Url
Hello, Actionscriptin' friends!
Here's another question that is (or should be) elementary, yet I can't find the answer in Moock or other reference materials.
I'm about to make a loadMovie call:
_root.box_mc.frame_mc.loadMovie(this.link);
But first I want to query whether the external swf represented by "link" really exists.
What function do I employ to determine whether a certain external file exists? Something that returns a nice boolean "yes" or "no".
I've tried using eval(), valueOf(), getUrl()...nothing works.
Thanks in advance for any help.
Andy Hartzell
Target Movieclip From An AS3 Class File
It seems a stupid question, but, believe me I searched the last 3 days on the net and guess what; thousends of tutorials but none that works for my case!
what i wanna do is simple; I have 3 movie clips on the timeline, but i don't want to control them from the timeline, but, from a separate class (and also control other movieclips/textfield inside them), i have so far, an AS3 file BST_main.as that is the document class of my flash file BST_main.swf and inside my project I have 3 movie clips index_search_bar and index_criteria_bar and index_menu_bar
my class is:
Code:
package {
/*///////////////////////
Importing display class
*///////////////////////
import flash.display.Sprite;
import flash.display.MovieClip;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
/*///////////////////////
Library Movie Clips
*///////////////////////
// Initialising
addMovieFromLibrary(index_search_bar);
addMovieFromLibrary(index_criteria_bar);
addMovieFromLibrary(index_menu_bar);
index_search_bar.y = 100;
believe me I m lost any help?
Target Frame From External Text File
Hi guys,
This should be a fairly easy one for most of you but this is my first time alocated links from an external txt file.
I have a set of buttons which have the links allocated from a txt file as follows
link1=buttontext.html&link2=buttontext.html&link3= buttontext.html&link4=buttontext.html&link5=button text.html&link6=buttontext.html&link7=buttontext.h tml
I want to do it so that i can target the allocated html file into a certain frame ie content.
I tried
link1=buttontext.html&target=content etc
but this doesn't work.
Can someone please tell me the correct syntax for this action?
Thanks
Dave
How Do U Target A Movie Clip In An External Swf File?
Hi All,
I have 2 files- Main.swf and web.swf.
Web.swf contains thumbnails, which when clicked will load movieclips that contain images. Loading is done on the fly based on the thumbnail clicked. Each movie clip is being loaded using the below code-
var container:MovieClip = new MovieClip();
stage.addChild(container);
container.addChild(movieclip);
Now the Main.swf calls the above web.swf on runtime using the below script-
var request:URLRequest = new URLRequest("web.swf");
var loader:Loader = new Loader()
loader.load(request);
addChild(loader);
Works fine and slideshow works too. The problem arises when i click on other links in this main.swf. I am able to unload the above swf file BUT the last loaded MC in the web.swf (container) still remains! I used the below code to remove the swf -
loader.unload();
How do i make that container in web.swf to go away? i tried loader.contianer.unload(); and i get the following error-
1119: Access of possibly undefined property container through a reference with static type flash.display:Loader.
Pls help as im trying to fig this one out....
warm regds
raj
How Do U Target A Movie Clip In An External Swf File?
Hi All,
I have 2 files- Main.swf and web.swf.
Web.swf contains thumbnails, which when clicked will load movieclips that contain images. Loading is done on the fly based on the thumbnail clicked. Each movie clip is being loaded using the below code-
var container:MovieClip = new MovieClip();
stage.addChild(container);
container.addChild(movieclip);
Now the Main.swf calls the above web.swf on runtime using the below script-
var request:URLRequest = new URLRequest("web.swf");
var loader:Loader = new Loader()
loader.load(request);
addChild(loader);
Works fine and slideshow works too. The problem arises when i click on other links in this main.swf. I am able to unload the above swf file BUT the last loaded MC in the web.swf (container) still remains! I used the below code to remove the swf -
loader.unload();
How do i make that container in web.swf to go away? i tried loader.contianer.unload(); and i get the following error-
1119: Access of possibly undefined property container through a reference with static type flash.display:Loader.
Pls help as im trying to fig this one out....
warm regds
raj
Load Html File Into Target Area?
does any body know if it is possible to load an html file into flash?
on (release) {
loadMovie("loadme.html", "_root.loadarea");
}
I have a site that displays images and text using php. I guess that i can introduce the php code directly into flash???? instead of importing the whole html file.
any advise would be wicked.
How Do U Target A Movie Clip In An External Swf File?
Hi All,
I have 2 files- Main.swf and web.swf.
Web.swf contains thumbnails, which when clicked will load movieclips that contain images. Loading is done on the fly based on the thumbnail clicked. Each movie clip is being loaded using the below code-
var container:MovieClip = new MovieClip();
stage.addChild(container);
container.addChild(movieclip);
Now the Main.swf calls the above web.swf on runtime using the below script-
var request:URLRequest = new URLRequest("web.swf");
var loader:Loader = new Loader()
loader.load(request);
addChild(loader);
Works fine and slideshow works too. The problem arises when i click on other links in this main.swf. I am able to unload the above swf file BUT the last loaded MC in the web.swf (container) still remains! I used the below code to remove the swf -
loader.unload();
How do i make that container in web.swf to go away? i tried loader.contianer.unload(); and i get the following error-
1119: Access of possibly undefined property container through a reference with static type flash.display:Loader.
Pls help as im trying to fig this one out....
warm regds
raj
ARGH Help W/ Loading Swf. File From Server Into Target
Ok I guess it takes me a while to catch on but I've tried the tutorials and I cant do it. Im creating a flash movie with 3 buttons, Portfolio, Resume and Contact.. The window will be approx 800x500 and when the user clicks the portfolio button I would like to appear below it a small area of numbers that when clicked would load an image on the right of the movies browser window. It would be a portfolio type site to view my images. I do not want to include all these images in the flash file because they would take up alot of mb's. Id like to store them on my server and when the corresponding number is clicked the image would load into the existing flash movie and at a approximate location in the browser window. Although I've gone thru the number of tutorials on loading a movie clip or swf file and tried the target it never works. Without sounding like I want the forum to help me build my site this is one stumbling block I cant overcome so any help in guiding me to a tutorial or book on how to do this would be greatly appreciated. Thanks in advance!!!
Target Path Not Working In My Externally Loaded SWF File
Alright, so I've tried quite a few things with no luck. I have a scrollbar that works in the swf fine, but when loaded into my mainmovie container I get this error...
Target not found: Target = "/scrolling text " Base = "_levelO.swf container"
Basically I understand this to mean that the externally loaded movie cannot find the instance name /scrolling text. The code is as follows that I have set to the scrollbar button in the externally loaded swf....
on (rollOver) {
tellTarget ("/scrollingtext") {
nextFrame();
}
gotoAndStop("down1");
}
Any suggestions? I tried changing the target to _root.scrollingtext with no luck. Also tried _parent. So I'm sure I'm just not thinking about it right but Any help would be greatly appreciated. Thank you ahead of time.
How To Use GotoAndPlay() In Actionscript File To Target Object On Stage?
Good day!
Im new to actionscript 3, and id like to know how to use gotoAndPlay to target an object (drawn from hand to stage) on the stage using actionscript file?
My code is this:
Code:
package
{
import flash.display.MovieClip;
public class moveframe extends MovieClip
{
public function moveframe()
{
parent.getChildByName("stick").gotoAndPlay(2);
}
}
}
It will only generate an error message saying: "Call to possibly undefined method gotoAndPlay through a reference with static type flash.displayisplayObject.
parent.getChildByName("stick").gotoAndPlay(2);"
I dont know what this error message means, but does anyone knows what the problem is?
I tried to trace the X position of the child named "stick" using: traced(parent.getChildByname("stick").x); to make sure that the object is already existed, but it produce the X position of my "stick" object which means that it is present. but when i try to use gotoAndPlay(2) it will make an error.
does anyone knows any alternative way to refference the movieclip object that has been put to stage?
thank you..
How To Use GotoAndPlay() In Actionscript File To Target Object On Stage?
Good day!
Im new to actionscript 3, and id like to know how to use gotoAndPlay to target an object (drawn from hand to stage) on the stage using actionscript file?
My code is this:
Code:
package
{
import flash.display.MovieClip;
public class moveframe extends MovieClip
{
public function moveframe()
{
parent.getChildByName("stick").gotoAndPlay(2);
}
}
}
It will only generate an error message saying: "Call to possibly undefined method gotoAndPlay through a reference with static type flash.displayisplayObject.
parent.getChildByName("stick").gotoAndPlay(2);"
I dont know what this error message means, but does anyone knows what the problem is?
I tried to trace the X position of the child named "stick" using: traced(parent.getChildByname("stick").x); to make sure that the object is already existed, but it produce the X position of my "stick" object which means that it is present. but when i try to use gotoAndPlay(2) it will make an error.
does anyone knows any alternative way to refference the movieclip object that has been put to stage?
thank you..
JavaScript To Open Window And Target Frame In Flash File
I know how to open a pop-up window using JavaScript and I know how to control a Flash file (.swf) using JavaScript, but I'm having trouble creating a link in HTML that opens a new window and targets a frame in the Flash file in the new window.
Looking for a JavaScript code.
-dmacaula
JavaScript To Open Window And Target Frame In Flash File
I know how to open a pop-up window using JavaScript and I know how to control a Flash file (.swf) using JavaScript, but I'm having trouble creating a link in HTML that opens a new window and targets a frame in the Flash file in the new window.
Looking for a JavaScript code.
-dmacaula
Newbie Movement Question - Move Number Of Pixels NOT To Target Or Even PRECISE TARGET
Like a lot of people im using the code below to move a movie clip my question is this - how do i move the clip exactly a set number of pixels from its current position (lets say 20 pixels) rather than setting a target?
(what im using now)
onClipEvent (enterFrame) {
if (_root.go==1 && root._x<300) {
_x = _x+2;
}
}
ive tried lots of things but there must be a simply answer - someone please help.. thanks.
My second question is how do i move something to a specific x target ie not use <300 or such like - ive tried != and stuff like that but to no avail..
1st question more important right now though - thanks!
Apply Glow Filter On Target MC While Dragging An Object And Rolling Over The Target
I can get my filter to apply to a movie clip if i simply rollover or roll out of it. When the mouse rolls out, the filter is set to undefined. The problem I am having is that I want the object that is in effect the hit area to glow (have a filter applied) when the draggable object is being dragged over it.
This would make is easier for the user to visually identify that where they are currently hovering over, whilst dragging, is the area that they should drop the object.
Part of my code looks like this
Code:
this.onRollOver = function () {
if(_global.isDragging == 1){
this.filters = glowFilterArray;
}
}
this.onRollOut = function () {
_global.isDragging = 0;
this.filters = undefined;
}
_global.isDragging is set to 1 at the onPress stage, when startDrag occurs.
_global.isDraggin is set to 0 onRelease of the draggable object.
Are there any ideas for a solution?
Action On Button, Tell Target, Error=target Not Found
Hello, beings of helpfulness!
I am working at a non-profit and trying to make a website from a Flash template with minimal, but some Flash experience. The template has multiple timelines (main page, content pages, and buttons). This part I am still learning. On the home page, I have an image (mc) that loads, with an instance name of "girls." Menu buttons take the viewer to corresponding content pages, which is when I want the image on the main page to dissapear to make room for the content. When the viewer selects the home page again, I want the image to appear again. At first I put in the following action (except for the home page), alpha=0. It worked! And now it doesn't! I did play with the button timelines some. I tried taking the actionscript out and putting it in again, to no avail.
The action in my button is
on (release) {
tellTarget ("_root.girls") {
_alpha=0;
gotoAndPlay(11);
}
}
And the error I now get is: Target not found: Target="_root.girls" Base="_level0.instance58.instance543"
Any ideas? I'm quite stuck. Thanks so much for any help, or suggestions to do this another way.
I've attached the swf, but the compressed fla was too big. I can email it to anyone willing to fix what is probably very simple, except to the newbie with little but increasing experience!
I'm using Flash MX.
How Do You Make A Link Do The Equivalent Of "Save Target As..." For An MP3 File
Does anyone know how to make a link in Flash 5, that will bring up the "Save As..." window, which is the equialent of 'Right clicking --> Then clicking on Save Target As... Option'? This is for an mp3 file by the way.
I just want to avoid the IE plugins that might try to play it in IE, when the file is meant to be downloaded.
Link In Pop-up Window (flash File) Target=parent Window
I have a flash demo that is opened from our web site and spawns a new window. At the end of the demo is a link that directs the user to "get more information." I would like this link to open the "more info" page in the PARENT window rather than the spawned window. Currently I have my Flash link coded with:
on (release) {
getURL ("http://www.hiddenmind.com/materials.html", _parent);
}
This is not working. Do I need to add some code to the parent window and/or the HTML page where the Flash file is embedded?
Thanks for your help! I can't seem to find the solution
[][][][][][][][.] <-- Keyframe
ok, this is my prob: I have a movie with a 60 frame per second rate. I also have a textbox, with text to scroll. How can I modify the speed of the scroll object? Is it impossible to set it to different speed from the one of the root movie?
Thanks
Something On A Keyframe
I have 20 keyframes and I want a command so that if you click on a certain keyframe it will go to play an animation.
So, if I click on keyframe 10 it will go and play something on keyframe 50.
If any one has any help of some kind please reply.
Thank you very much.
3 Keyframe
I got 3 keyframe. And I want to loop 1 and 2 frame. What should I do?
I tried to gotoAndPlay in frame 1 and 2. But it cause error for it
any hints is appreciate.
Keyframe
Is there a way of placing a keyframe without it automatically joining the previous keyframe. Im trying to place a keyframe then have a gap, then place another one, so that the image appears and disappears continually. Im going this with multiple layers to get that effect whereby you have animation that moves constantly around the outline as it is redrawn.
When I add a new keyframe further along the grid, it joins up the previous keyframe and means that the image is present in between. I have to delete the frame inbetween manually each time which is reeeeally time consuming. I was hoping I could just highlight all the keyframes and keep repeating them. They all end up joining up so you see all layers.
RR
Keyframe ?
Hi, how do i gotoAndPlay an keyframe and remove all the MCs on the Screen which i have attached with AS?
ex: (there might be syntax, wroted from head)
ActionScript Code:
attachMovie('ball','ball1',this.getNextHighestDepth)_root.gotoAndPlay(2);
How would i 'clear' the frame from Mc's but not removing the variables and functions?
Swf In Keyframe?
hello. I am new to flash. I followed a tutorial online that showed me how to make a simple movie that when you press a button a sound plays, and when you press it again, it stops playing. This is working perfectly. My problem is that I want to put this movie inside of another one. What I tried doing was to import the .swf into the library and then drag in onto the stage into a new keyframe. The movie shows up, but it just loops forever and doesn't function.
What is the proper way to include a .swf file into a different movie???
-
"Do your duty in all things. You cannot do more, you should never wish to do less." Robert E. Lee
LoadMovie In A Target Without Inherit Of Target Properties?
hi,
I load a SWF-FILE in a target MovieClip with loadMovie(). After that I want to read the _width and _height of loaded MovieClip (from the SWF-FILE), but I only get the properties of the target MovieClip.
loadMovie ("test.swf", "dummySwf");
trace("height:"+dummySwf._height+"width:"+dummySwf ._width);
//put out the properties from target, not from new clip :-((
any idea?
thanks
Target A Specific Frame In And Instance Using Tell Target
is it possible to target a specific frame in and instance using tell target? I can get the effect i want by using goto frame, however i want to use this mc or .swf in a movie, and i don't want goto frame to affect the whole movie, just the mc.
Target JS Button To Target Frame Swf At Different Html...how?
this is my 2nd post regarding this problem, i'm seeking for many input nad perhaps the example soource file/code...
kind like a loading specific frame of swf from a html hiperlink?!? can it be done?
- say we have a 3 frame swf, located at index1.html
- then i have a button(gif/jpeg htmlpage not flash), located at index2.html
- what i wanna do is when i click the button(JS) on index2.html, it will open the index1.html then start play the swf at frame 2 NOT 1(beginning)
how can we do that?
Keyframe Strangeness
I don't believe this is relevant, but just to make sure:
The FLA was originally created in Flash5 and updated to MX to replace an outdated preloader. When the preloader was updated, the LogoAnimation symbol it contained was NOT replaced. So far so good.
Within that LogoAnimation symbol, there are a number of movieclip symbols which playout until they hit an internal stop on their individual last frames, then tweenfade. Each tween obviously begins on a keyframe, and when the symbols hit that keyframe, they're playing again. Is there a way to keep them from restarting? And is this a new wrinkle in MX or some kind of anomally caused by the preloader or updating?
Time A Keyframe?
How can I use ActionScript to time how long my movie stays on one key frame...... EXAMPLE:
I want keyframe 1 to play for 45 seconds and then go to and stop keyframe 2 then 45 seconds later go to and stop keyframe 3
-Thanks-
FLASHKIT IS THE COMMUNITY OF THE FUTURE. KEEP PIMPIN FLASH TO THE MASSES!
Keyframe...frameshtml...help?
Is it possible to have a outside source such as a message board in a flash movie. I have not seen any. For example, I am designing a flash movie and I already have a message board on another url. Is there a way to have that message board show a on keyframe in a flash movie? Kinda like in HTML you have frames and in one frame you have one page and in the other frame you have another page? Thanks all.
-Tim
StopallSound For The Keyframe Only
Hello,
I have a keyframe where is music and I want to stop that music, but not the sound in other frames, how can I do that?
Greetz & thanks,
Big_Boss_Man
Keyframe Actionscript
Im using the current action script to get the arrow keys to move the movie to the next frame but I want it to be able to go the next Keyframe not the next frame.
Can I do this easily enough I have tried also to put labels on keyframes but still couldnt get it to work.
onClipEvent (keyDown) {
if (Key.getCode() == Key.RIGHT) {
_root.nextFrame();
}
if (Key.getCode() == Key.LEFT) {
_root.prevFrame();
}
trace(_root._currentframe);
}
Keyframe Actionscript
Im using the current action script to get the arrow keys to move the movie to the next frame but I want it to be able to go the next Keyframe not the next frame.
Can I do this easily enough I have tried also to put labels on keyframes but still couldnt get it to work.
onClipEvent (keyDown) {
if (Key.getCode() == Key.RIGHT) {
_root.nextFrame();
}
if (Key.getCode() == Key.LEFT) {
_root.prevFrame();
}
trace(_root._currentframe);
}
|