Rotating A Movieclip Around Two Different Points
Hi, I've been having this problem for over a week now and eveything I try I just seem to end up pulling my hair out.
Basically I have a movieclip, which I would like to rotate about two different points at any time. I hav two buttons set up for rotation. Button A rotates the movieclip about point A (the registration point), easy enough.
I want button B to rotate the movie clip about a second point B. However I can't seem to pin down the exact location of point B. I have a rotator class which will rotate about any point, it's just finding the point I wish to rotate about that is giving me the headache.
I can set the position of point B relative to the registration point when the movieclip is created, but how do I continuously track the position of this point relative to the registration point?
I had though of creating an empty movieclip and setting it at the initial point B and also as a child of the main movieclip, in the hope that when the main movieclip moved and rotated, the child movieclip would move with it, but it seemed not to be the case
So, another solution to my problem would be, how do I contantly position a movieclip relative to another?
Any help would be MUCH appreciated
FlashKit > Flash Help > Actionscript 3.0
Posted on: 06-06-2008, 04:44 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Movieclip Between Two Points
I'm trying to generate two random points and move the movie clip smoothly like a motion tween between them and i can't figure out what type of equation i would use.
ball._x = 0;
ball._y = 0;
var x2=Math.round(Math.random()*200)
var y2=Math.round(Math.random()*200)
trace(x2);
trace(y2);
this.onEnterFrame = function() {
if(ball._x<x2)
{ball._x+=x2/30}
if(ball._y<x2)
{ball._y+=y2/30}
}
that's what i have right now but it will not go directly to the x2,y2 it will go to diagonally between the two and untill one reaches its max before stopping and then will slide vertically and horizontally, i need an idea on how to make it take a straighter path? thanks for your support.
Movieclip With 8 Points
Could you please help me to create a movieclip (rectangle shape)with 8 points and small squares on each point to resize it at runtime.
Like the Free transform tool on the Flash toolbar.
Thanks a lot.
Movieclip Streched Between Two Points
Hi,
Need help with some actionscript. I need to do the following:
First you got a completely blank stage
Then with the mouse you click and a movieclip appears and you stretch this movieclip to another point on the stage and you release the mouse button and it stays there.
Its like a drawing a line but with a movieclip. Please help,
Andrew
Locating Specific Points On A MovieClip
Hi everyone
So I've got a rectangle movieclip, and it's registration point is the top left corner, let's call it point A. Now let's define the top right hand corner of the rectangle as point B. Now writing a function which rotates the rectangle about point A (its registration point) at the touch of a button is easy.
However, I would also like the same function to rotate the object about point B when a different button is pressed, so I need to know a way to locate point B, regardless of the current orientation of the rectangle.
I can't simply rotate about the point rec.x + rec.width as the rectangle might have already been rotated before I wish to rotate about this new point.
I have a class which allows me to rotate about any point, it's just writing the code which will always find this point B that I'm having trouble with.
Any help would be greatly appreciated
Regards
Stonehambey
Rotating Movieclip
Hi Guys,
I want to use a button to rotate a movieclip by 30 degrees each time I click the button.
The code I'm using below only rotates it once:
on (release) {
setProperty("circle", _rotation, _rotation+30);
}
Sure it's a quick fix, any ideas?
Cheers
O.
Rotating Movieclip
I want my movie clip to always rotate (on the spot) to aim at the mouse but it must stop at about 80 degrees (and also at -65).
BTW the movie clips are called _root.cursor (follows mouse) and _root.Patterson.larm and _root.Patterson.rarm (the ones who rotate simultaniously)
(Srry about my old post i guess no one knows how to do all that.)
Rotating Movieclip
I need to attach a button inside a movie clip so that when a user clicks on the button the movie will rotate by 45 degrees. I have tried lots of different things but nothing seems to be working. Any ideas?
Thanks Corby
Rotating The Movieclip
We are generating the curved path using drawing APIs at runtime. What we have to do is we have to move a movieclip in the direction of the drawing with all turn. This curves are the very complicated patterns.
I have used different conditions and calculate the angle of rotation at each point. But now the problem is that when once we turn by some angle clockwise then back to anticlockwise it gives jerk.When I try to implement the Tween class, it has the problem with timer.As the timer sending the points for curve generation is itself a 15 msec timer. then how to tween and rotate the movieclip with less than 15 msec interval.
Rotating A MovieClip
Hi! I have a problem, wich i didn't think will be a problam at all. So, i need to make a moviclip, wich can be rotated, by dragging a button inside the mc. Do you have any ideas how to do that?
thanks a lot
Rotating Movieclip
im pretty new to flash and i am creating a program where i can load multiple movieclips and place them in a room and they. now i am trying to be able to rotate those clips using the space button. i can't figure out how to write the scripting for the duplicated movieclip. please help.
function myTest() {
var ClipName;
ClipName = "container"+i;
container0.duplicateMovieClip(ClipName, i);
this[ClipName].loadMovie(stuff.getSelectedItem().data);
i++;
startDrag(Stuff.getSelectedItem().data);
on (keyPress "<Space>") {
this._rotation += 90;
};
}
thanks alot!
Dynamically Rotating A Movieclip
Ok here is my problem. Probably just overlooking something but who knows. the movie is posted here: http://www.cdtfc.org/prac/Movie2.swf
it is just something basic i threw together for an example so i apologize for its rough looks. The arrow points to #4. If I click on the button that says #2 I would like to make the movie clip rotate either way until #2 is where the #4 button is. and then from that point i would like to maybe click on the #3 button and make the movie clip rotate until it is being pointed at by the arrow. I would like it so the movieclip actually moves along not just jump there. so with the buttons in any spot around the movieclip I would like to click anyone of them and have them move to where the arrow is. If you can help me I would greatly appreciate it. Thanks a lot.
Rotating A Movieclip That Contains Actionscript
Hi
I have a movieclip which contains some cars which move around using actionscript.
In the main movie I have put an instance of this movie and it works fine. I can resize this movie and it still works, however when I try to rotate the movieclip it then stops working.
Is there a way I can rotate a movieclip and still let the actions inside it run.
Please help, thanks
Rotating A Movieclip When Key Is Pressed
I am making a game and I playied with a few tutorials and I have been able to move a movieclip in all directions when keys are pressed. But I have not been able to make it so when I press a key the movieclip rotates
Still Cant Fix My Rotating Movieclip Problem Please Help
hi all,
I posted a day opr so ago and have recieved no reply and know that what i am trying to do should be able to be done and that i am probably just missing something. Went back and tried again but nothing so please if anyonme knows the answer i would love to hear from you.
PREVIOUS POST BELOW
I am building a flash movie and would like to know how to do something to get me to the next step of my project.
i have a movieclip in my library called "paver" which then contains a button with the following code:
on (press) {
x = "paver" + i;
trace (x);
startDrag("");
}
on (release, releaseOutside) {
stopDrag();
}
i added the trace command to see what each clip was being named.
then on the stage i have a button which has the following code:
on (release) {
i = i + 1;
_root.attachMovie ("paver", "paver" + i, i + 1);
_root["paver" + i]._x = 500;
_root["paver" + i]._y = 500;
}
now that works fine each time the button is pressed a new instance of the movieclip is placed on the clip
the problem is that i tried to put a command like
on (keyPress <"Up">) {
_rotation += 15;
}
so that i would rotate each instance of the clip.
the problem is that each time i clicked the button and tried to rotate the new peice it always rotated the first instance of the clip that was ever placed;
hence y i did the trace to see what the naming convention was doing.
I thought i could maybe add to the button conatined in the paver clip a
on (press) {
eval ("paver" + i);
["Paver" + i]._rotation +=15;
}
then continue with the start and stop drag commands
any ideas how i could be able to rotate each indiviual instance of the paver clip once they are all placed on the stage.
or any other ideas how to rotate individual clip instance.
Any help would be great
I can send the file by email to anyone who is willing to help.
Cheers Pixelmagik
[F8] Rotating MovieClip On RollOver
Hi. I have a couple different MovieClip Symbols that I want to activate on Rollover and stop as the mouse moves away. Any suggestions on how I should go about making this happen? The visual, if this helps, is two concentric gears (one larger and one smaller) that I want to activate their rotating motion tweens on rollover yet be motionless otherwise.
Any help would be much appreciated.
Cheers!
Rotating A Movieclip OnMouseOver Help Please
Hi there,
I want a simple effect. When you rollover a movieclip, it rotates. when you roll off it, it stops rotating. But when you roll off, I don't want it to go back to it's start point - I want it to just stop in it's tracks. So then when you rollon to it again, it carries on rotating from its last position - not from the start again.
I have looked all over the net (google) - and I can find rotate AS. But not one slightly more complex with rollon and rolloff added. Trying to nut this one out, but i'm really newb.
Please help
Rotating A Nested Movieclip
I am trying to rotate a nested movieclip by pressing the nested clip then pressing a rotation command. It works when the clip to rotate is on the _root layer but not when it is within another (which must not rotate). I need to maintain this nesting because I have a zoom and pan function associated with all movieclips in that layer.
This is the code that I currently have:
Rotate button -
on (press) {
ChangeRotation = getProperty("/rotate", _rotation);
setProperty("/rotate", _rotation, Number(ChangeRotation)+15);
}
Nested movieclip -
on (press) {
startDrag("", false);
}
on (release) {
stopDrag();
}
on (release) {
setProperty("/rotate", _name, "");
setProperty("", _name, "rotate");
}
Rotating MovieClip On Slope
How can I rotate a movieclip so that when I move it, it will rotate slightly depending on the angle of the ground. The only thing I can relate this too is the old school sonic games. How would I find the curve of the ground and apply it the moving character?
Problem In Rotating A Movieclip
hi ,
I am new to Flash and have a little knowledge in action script. This actually is from a tutorial and here i am trying to rotate a _mc(movie clip) as in tutorial they show a working swf. but actually it is not please try to help me...
onClipEvent (load) {
radius=50;
degrees=0;
}
onClipEvent (enterFrame) {
angle=degrees*(Mathe.Pl/180);
degrees=degrees + 2;
xposition=radius * Math.cos(angle);
yposition=radius * Math.sin(angle);
this._x=xposition + _root.center_cross_hairs._x
this._y=xposition + _root.center_cross_hairs._y
_root.center_cross_hairs._visible=0;
}
Rotating A Nested Movieclip
I am trying to rotate a nested movieclip by pressing the nested clip then pressing a rotation command. It works when the clip to rotate is on the _root layer but not when it is within another (which must not rotate). I need to maintain this nesting because I have a zoom and pan function associated with all movieclips in that layer.
This is the code that I currently have:
Rotate button -
on (press) {
ChangeRotation = getProperty("/rotate", _rotation);
setProperty("/rotate", _rotation, Number(ChangeRotation)+15);
}
Nested movieclip -
on (press) {
startDrag("", false);
}
on (release) {
stopDrag();
}
on (release) {
setProperty("/rotate", _name, "");
setProperty("", _name, "rotate");
}
Rotating A Movieclip -> Pointing To Mousepointer
Hi fellas. I've done this code but the clip seems ot be likea radian or maybe like 45 degrees off - it does not directly point to the mousepointer.. can anyone figure it out why it is like that?
onEnterFrame = function(){
var dx:Number = _xmouse - arrow._x;
var dy:Number = _ymouse - arrow._y;
var radian:Number = Math.atan2(dy,dx);
arrow._rotation = radian * 180 / Math.PI;
}
Tearing My Hair Out Rotating A Movieclip
I hope you guys can help because searching the internet has not so far come up with anything.
I have a Flash movie built using ActionScript, that is going to serve as a product lookup wheel. Elements of the wheel are built up of instances of a circle clip "mcCircle". Around the edge of the outermost circle I have several buttons arranged (these are actually instances of a text field, not true Flash buttons) and clicking on each 'button' will allow different information to be displayed on the wheel.
This 'selector' is a movieclip 'catSelect' which contains 'catSelect.circle' (an instance of mcCircle) and 'catSelect.btn1', 'catSelect.btn2', etc.
The registration point of the movie clip mcCircle is in the centre of the circle but when I attempt to rotate the whole catSelect clip, it rotates around the stage origin 0,0. Strangely though, when I test rotate catSelect.circle only, this rotates around the centre, as expected.
Is this a common problem and are there any steps I can take to get around it?
Many thanks.
What Happens To Relative Coordinates When Rotating A Movieclip?
And yet another question...
I'm trying to do a drag and drop script in which a picture will be dropped into a rotated rectangle. As a result of this, the picture will end up on top of the rectangle with its exact rotation, position and dimensions (it will cover the rectangle).
I was wondering if it's necessary to use algebra to calculate the rectangle's width, height and x & y positions or if I'm just missing how flash interprets the coordinates of rotated movie clips. Also, the rectangle is inside of another movie clip so I was succesfully using localToGlobal to translate the relative coordinates (this worked until I started rotating the rectangles).
So far I've been able to rotate the picture properly but the dimensions are a bit off and the x and y positions are just plain wrong...
I hope this wasn't too confusing, thanks
Rotating 3D Skew Movieclip Event Help
-----
edited
-----
Hi i've after the effect on:
i'm after the effect here www.naaf.no/pollen/
Where when you clicked the region it'll came up and animate.
these is where i'm stuck with..
I can not put the pieces back in the same position after animating.
where in www.naaf.no/pollen/ the pieces goes back in it place "in the same position" mine go back with the rotation all wrong...
Please help me
Collision Detection Within A Rotating Movieclip
I am working on a snowboarding game, And have two points of collision detection on the board:
x-----xOne at the Front of the riders board
One at the Back of the riders board
These two points of collision are placed within the rider.movieClip, and not on the _root timeline, as the rider movieclip can rotate etc as it rides through different gradients of slopes.
I have used a largely basic method to obtain the X,Y positions of each collision point, using the following method:
Code:
var backX:Number = _root.rider._x+_root.rider.backDetection._x;
var backY:Number = _root.rider._y+_root.rider.backDetection._y;
(the same for the frontX and frontY) As you can see, it simply adds the offset of the detection points positions from the riders x, y therefore when the rider movieclip is rotated during gameplay, the rotation is not accounted for and it still searches for collision in exactly the same positions.
I am using this for collision checking:
Code:
this.hitTest(backX, backY, true)
which is placed on the ground movieclip (what the snowboarder is riding on)
Can anyone suggest a better way of doing such collision checking, or how to account for rotation? is localToGlobal() the answer?
Cheers for any help.
Trying To Play A Rotating Movieclip In The Timeline
Hi,
I'm having a few difficulties trying to get my movieclip to play in the timeline when I press a button. For example, i've got 3 buttons: Home, Music production & mixes. When I click on any of the buttons I would like it to trigger the same movieclip. Here's the code:
ActionScript Code:
//Nav buttonshome_Btn.addEventListener(MouseEvent.CLICK, goHome);prod_Btn.addEventListener(MouseEvent.CLICK, goProd);mix_Btn.addEventListener(MouseEvent.CLICK, goMix);function goHome (e:MouseEvent):void{gotoAndStop("Home");}function goProd (e:MouseEvent):void{gotoAndStop("Production");}function goMix (e:MouseEvent):void{gotoAndStop("Mixes");}//rotating circle code 1stage.addEventListener(Event.ENTER_FRAME, rotate);function rotate(evt:Event):void{ var dx:Number = stage.mouseX-myCircle.x; var dy:Number = stage.mouseY-myCircle.y; var angle:Number = Math.atan2(dy,dx); myCircle.rotation = angle*180/Math.PI;}
I think it's got something to do with the following line of code:
ActionScript Code:
stage.addEventListener(Event.ENTER_FRAME, rotate);
Which just plays the mc when I publish the swf. If I could play it each time I click a button that would solve my issue, it's probably something simple, but i'm new to actionscript.
Appreciate any help
Many thanks,
LM
BitmapData GetPixel On Rotating MovieClip?
This may be more of a math question as I try variations on this problem. I'm trying to get the rgb value from a pixel area on the stage that a bitmap is rotating in. I made it work for the y by adjusting the getPixel location in the bitmap, but I think I need to use some sin/cos to "rotate" the x/y location for the getRGB...
am I making this harder than it needs to be?
any ideas?? fla attached...
Thanks!
Rotating A Movieclip To Flip Vertical
Imagine the movie clip is a business card. The text and images are dynamic
I want to 'flip the card' (bring the top of the card towards me and the bottom away) to rotate the card around to see the back of the card
I would really like to do this in actionscript. Can anyone point me in the right direction?
Rotating Dynamic Data In Movieclip
Hello,
New to ALL of this. Thanks in advance for your help. This is probably as much of a PHP question as a flash question. I'm guessing I'll need to create a movie clip on the fly?
I have a php script that queries my Db and returns and array containing the values of the variables I want to display.
They are $title, $day, $date, $blurb, $image.
I have a flash movie that displays those variables.
I have successfully coded to display 1 returned row, BUT what I really want to do is when my query returns multiple rows (arrays) I want the flash to loop through the arrays displaying the first array for 10 seconds, then replace the variables with the next array and display those for 10 seconds, etc. etc.
Using a simple while loop like this:
PHP Code:
while ($row = @mysql_fetch_array($query)) {
$title = htmlspecialchars($acts['EventName']);
$blurb = ($acts['blurb']);
$pic = $acts['pic'];
$date = ($acts['date');
}
Its just going to loop through and assign the values of the last loop. How do I go about outputting each row for use in the flash movie? And when I can do that, how do I go about creating the next movieclip on-the-fly to display the fresh row?
Any clues, hints or guidance is greatly appreciated.
Rotating Multiple Instances Of A Movieclip On Stage
hi all,
I am building a flash movie and would like to know how to do something to get me to the next step of my project.
i have a movieclip in my library called "paver" which then contains a button with the following code:
on (press) {
x = "paver" + i;
trace (x);
startDrag("");
}
on (release, releaseOutside) {
stopDrag();
}
i added the trace command to see what each clip was being named.
then on the stage i have a button which has the following code:
on (release) {
i = i + 1;
_root.attachMovie ("paver", "paver" + i, i + 1);
_root["paver" + i]._x = 500;
_root["paver" + i]._y = 500;
}
now that works fine each time the button is pressed a new instance of the movieclip is placed on the clip
the problem is that i tried to put a command like
on (keyPress <"Up">) {
_rotation += 15;
}
so that i would rotate each instance of the clip.
the problem is that each time i clicked the button and tried to rotate the new peice it always rotated the first instance of the clip that was ever placed;
hence y i did the trace to see what the naming convention was doing.
I thought i could maybe add to the button conatined in the paver clip a
on (press) {
eval ("paver" + i);
["Paver" + i]._rotation +=15;
}
then continue with the start and stop drag commands
any ideas how i could be able to rotate each indiviual instance of the paver clip once they are all placed on the stage.
or any other ideas how to rotate individual clip instance.
Any help would be great
I can send the file by email to anyone who is willing to help.
Cheers Pixelmagik
Help With Math.atan2(); Rotating Movieclip To Point At Mouse
I am trying to make a line point to wherever the cursor is when i stumbled upon the Math.atan2(); function. It appeared that i would put line.rotation = Math.atan2(1,1); to get 45 degrees or pi/4, but i was wrong. It barely moved the movieclip at all.
So what i'm trying to do is to get this movie clip to rotate along with the mouse so the line is always pointing at the cursor.
Also, how would you get movieclip to move along the line created by the line of these two points?
Thanks in advance!
Using Actionscript And The Drawing API To Animate A Line (2 Points) To 2 New Points
hi everybody - what is the best way to go about this?
at its most basic - i need to animate a line's beginning and end points using tweener to 2 new points somewhere else on the stage.
my first thought is to start with the excellent 3d spinning cube example that kirupa made on kirupa.com and backtrack from there.
http://www.kirupa.com/developer/acti...ces_depths.htm
but i'm hoping to find a much simpler and efficient way of accomplishing what i need.
the problem that i know i need to get around is this.... i have to find a way to have the Tweener class give me updated positions of the x and y of the two points which make up the lines. and somehow i have to use the drawing api to 'get inside of' tweener to update the stage accordingly - reason for this is that these lines will need to use the elastic tween and bounce around a bit.
i'd appreciate any help
cheers! - tom
Convert WMV File With Defined Cue Points To FLV And Keep Cue Points?
Hello, I need to know how to do this. I have wmv files with defined already cue points. I want to convert the video in to a FLV to play it over the net with flash, but I want to keep the cue points defined in the wmv. Is there a way to do this automaticaly or can I save the script lying under the WMV file defining the cue points in to a flv script. It is important that everything is done almost automaticaly because I have a lot of wmv files....
Help
thank you in advance
Rotating Movieclip Inside A Button, Inside A Scrolling Menu Bar
Hi all,
I'm pretty new to actionscript, and I'm kinda moving along; up until now.
I've used the the infinite scrolling menu tute at kirupa.com, created my own button graphics, and have a nice scrolling menu. On the buttons, I'm adding an image (which seems to need to be a movie clip to work), so when you rollover the button, the image will spin.
The code for the spinning works. I've tested it on the root frame of a new movie, and in the button of the infinite scrolling menu movie. I've added the code to spin the image on the "over" frame of the button timeline. With the button scene open, I run "test scene", stop it, and move between the frames. When I advance to the rolloever frame, the image spins like a top, but when I test it from the root of the movie, the image does not spin. I've also added a color change "that works" from the root when you rollover the button, but the not the spinning image.
I've added the image by editing the button from the library. I select the image, and add the code inside an onClipEvent(enterFrame) action.
I've also tried adding the code to the keyframe of the root scene in layer 1, and tried calling the image by the full path (_root.one_button.buttons.button1.spin1._rotation= blah) thinking it needs to know exacty where the image(movie clip) is at in the heirarchy to no avail. I've even went back and gave everything an instance name up unto the button I'm trying all this on.
Any help would be appreciated, since I'm about ready to shed tears over this.
Thanks!
-Sam
Rotating Movieclip Inside A Button, Inside A Scrolling Menu Bar
Hi all,
This question is going ignored in some other boards, so I thought I'd try here....
I'm pretty new to actionscript, and I'm kinda moving along; up until now.
I've used the the infinite scrolling menu tute at kirupa.com, created my own button graphics, and have a nice scrolling menu. On the buttons, I'm adding an image (which seems to need to be a movie clip to work), so when you rollover the button, the image will spin.
The code for the spinning works. I've tested it on the root frame of a new movie, and in the button of the infinite scrolling menu movie. I've added the code to spin the image on the "over" frame of the button timeline. With the button scene open, I run "test scene", stop it, and move between the frames. When I advance to the rolloever frame, the image spins like a top, but when I test it from the root of the movie, the image does not spin. I've also added a color change "that works" from the root when you rollover the button, but the not the spinning image.
I've added the image by editing the button from the library. I select the image, and add the code inside an onClipEvent(enterFrame) action.
I've also tried adding the code to the keyframe of the root scene in layer 1, and tried calling the image by the full path (_root.one_button.buttons.button1.spin1._rotation= blah) thinking it needs to know exacty where the image(movie clip) is at in the heirarchy to no avail. I've even went back and gave everything an instance name up unto the button I'm trying all this on.
Any help would be appreciated, since I'm about ready to shed tears over this.
Attached is the zipped fla file
Thanks!
-Sam
Finding Points Between Two Points
This seemed more likely to be answered here but if this belongs in Math and Physics please move it.
If I were given the following coordinates, how would I calculate the end points of the red segments? There's a 5 point gap between the endpoints and the corners.
EDIT: I've written the function, I just need the math.
Rotating Boxes-non-rotating Box/text
i have a rotating menu(boxes in circular motion). when a box is rolled over, all stop, but the text box that should appear in the middle between them, is not appearing where it should. it seems to be following the animation of its parent box.....any ideas?
jas
Moon Rotating Around Rotating Earth
I've got my earth revolving around the sun. I can't get the moon to revolve around the earth while it is revolving around the sun. Has anyone done this before, or is willing to help out?
Thanks
Rotating Menu With Non-Rotating Labels
I have a rotating menu that sets the selected button to the 3:00 position once clicked. I need the labels for the buttons to stay in the upright position as they rotate with the button. I have attached an image the help explain what I am trying to do. Anyone know of an action script that would keep the labels upright?
Cue Points
Hi
In Director you can use cue points, does flash 6 allow you to use cue points?
Map And Points
I have an access DB with all the zip codes, I want to make a map that when a new location is added it will show as a point on the map, would I have to put x and y values for every zip code and then a movie clip as the dot on every point, or is there an easyier way about this, any tutorials to get me started or anything. I'm using asp as backend.
Thanks in advance
FLV Cue Points
Hello,
I have encoded my video and added 3 cue points, BEGIN, MIDDLE, END. What I would like to do is while the streaming movie is playing and it gets to the "MIDDLE" cue point, jump ahead to another frame in the timeline of my flash movie. Is there a way to do this without writing code from scratch? I'm not very good with code.
Thanks,
T
Cue Points And XML
Hi All
Really getting me down this one.
I have a page that pulls in all it's info from an xml file (works fine). I have a video frame (from library drop down) that displays my flv video just great.
All this is controlled by actionscript ( play, pause etc.). But now I need to get to the Navigation cue points added to the videos from a selection of buttons on stage.
Is this possible?, Do I need to use an flv component?
All is working great bar the cue points
I am also posting in the Flash video and xml posts
Please help, desperate to get past this
Cheers
[F8] Cue Points And Flv
hi, repost:
(AS 2)
i have read a few tutorials and web pages about placing cue points in an flv and having them communicate with the swf that houses the flv, but i cannot seem to get it to work, can anyone help me with the code?
simple: flv has 8 points where i just need a clip on the main timeline to jump to a certain frame, bullet points pertaining to the content in the flash video. i cannot find a clear cut example that says HERE is what you put in the cue point settings, and HERE is what you put in your AS frame.
thanks!
Using Cue Points
Hello,
I'm using Flash 8. How can I make a video "go to and stop" on another frame after it is done playing so it is not left with a blank screen. Basically, I just cue points be placed at the end of a video. Please look at this page I'm having difficulties with.
http://www.nightvisionphm.com/media.htm
How do I use cue points for this. is there a script?
Thank You,
Swift75
Even Cue Points
I am trying to learn how to make an event happen with a cue point in an FLV file. I know how to put the cue point in the FLV, but how do I program the Actionscript?
Cue Points
I have put 2 cue points into the flv during encoding. The variables are events called "music" and "end" the value is default for both. I need to either load an external swf to play the loop or insert the mc on "music". At "end," I need to load a button for the user to enter the site. My video is tiger_walk4.flv.
I really really need to get this together. I have used everyone's script examples and can't figure it out. If you reply to this post, assume that I am a moron and spell everything out as mush as possible so I can find the problem.
Oh... I'm using flash 8 if that matters.
|