Target a movie clip inside a movie clip
When I go to the symbol editing mode on the first movie clip, I drag the instance of my 2nd movie clip to the stage. I then am duplicating my work, (it is over lapping) not sure what I am doing wrong here? and I am finding that my child movie clip is taking on the parent movie clip properties. How do I stop this from happening? I thought they are to remain independent? Any help is greatly appreciated. TY.
Will the child timeline be independent of the parent timeline. My pend_mc is the child and has taken on the hand_mc properties. Also why is there brackets around some and not the others? Thank you so much for your time.
Similar Messages
-
Targeting a movie clip inside a movie clip inside another movie clip with a twist
Thanks to ned. Im able to link to a movieclip inside a movieclip.
Unfortunately one of the movieclips now are a scrollbar and scroll. Now the actionscript isnt working?
Has anyone wany ideas? Please
cal.onPress = function() {
gotoAndPlay(2);
message1.contentMain.message.total = unit1;
ThanksI wish i could say it wasnt named message 1 but it is. The code works without a scroll bar.
As soon as i put the target in a scrollbar it doesnt work?
This is my code for the scrollbar if thats the problem? maybe
scrolling = function () {
var scrollHeight:Number = scrollTrack._height;
var contentHeight:Number = contentMain._height;
var scrollFaceHeight:Number = scrollFace._height;
var maskHeight:Number = maskedView._height;
var initPosition:Number = scrollFace._y=scrollTrack._y;
var initContentPos:Number = contentMain._y;
var finalContentPos:Number = maskHeight-contentHeight+initContentPos;
var left:Number = scrollTrack._x;
var top:Number = scrollTrack._y;
var right:Number = scrollTrack._x;
var bottom:Number = scrollTrack._height-scrollFaceHeight+scrollTrack._y;
var dy:Number = 0;
var speed:Number = 10;
var moveVal:Number = (contentHeight-maskHeight)/(scrollHeight-scrollFaceHeight);
scrollFace.onPress = function() {
var currPos:Number = this._y;
startDrag(this, false, left, top, right, bottom);
this.onMouseMove = function() {
dy = Math.abs(initPosition-this._y);
contentMain._y = Math.round(dy*-1*moveVal+initContentPos);
scrollFace.onMouseUp = function() {
stopDrag();
delete this.onMouseMove;
btnUp.onPress = function() {
this.onEnterFrame = function() {
if (contentMain._y+speed<maskedView._y) {
if (scrollFace._y<=top) {
scrollFace._y = top;
} else {
scrollFace._y -= speed/moveVal;
contentMain._y += speed;
} else {
scrollFace._y = top;
contentMain._y = maskedView._y;
delete this.onEnterFrame;
btnUp.onDragOut = function() {
delete this.onEnterFrame;
btnUp.onRelease = function() {
delete this.onEnterFrame;
btnDown.onPress = function() {
this.onEnterFrame = function() {
if (contentMain._y-speed>finalContentPos) {
if (scrollFace._y>=bottom) {
scrollFace._y = bottom;
} else {
scrollFace._y += speed/moveVal;
contentMain._y -= speed;
} else {
scrollFace._y = bottom;
contentMain._y = finalContentPos;
delete this.onEnterFrame;
btnDown.onRelease = function() {
delete this.onEnterFrame;
btnDown.onDragOut = function() {
delete this.onEnterFrame;
if (contentHeight<maskHeight) {
scrollFace._visible = false;
btnUp.enabled = false;
btnDown.enabled = false;
} else {
scrollFace._visible = true;
btnUp.enabled = true;
btnDown.enabled = true;
scrolling(); -
Targeting Multiple Movie Clips
Hi everyone,
I'm fairly new to ActionScript so I would really appreciate
any help I can receive.
Right, I have a Flash file which contains a movie clip with
an instance called, 'contentHold_mc'. Inside this movie clip are 4
individual movie clips with instances entitled, 'content1_mc',
'content2_mc', 'content3_mc' and 'content4_mc'. I know these are
not the best names for instances, but this is just for simplicty's
sake. At present all movie clips run at the same time. I want them
to run sequentially. On the last frame of the instance,
'content1_mc', I want to stop the instance from playing and start
playing the instance, 'content2_mc'. On the final frame on
'content3_mc', I want to stop the instance from playing and start
playing the instance, 'content3_mc', and so on until 'content4_mc'
finishes playing. I have tried to use the tellTarget function
without success and anyway, I believe this is now deprecated.
Would anybody be able to provide me some guidance please as
to how I can achieve the previous using the 'dot' notation?
I have tried the using the code found at the bottom of this
message in the final frame of the movie clip instance that I want
to play first ('content1_mc'), however get a compiler error because
of the preceding two full stops '..'
Thank you in advance for any help I may receive with this
query.Put a stop(); command at the first frame of each of the
clips. On the last frame of the first clip put:
stop();
_parent.contentHold_mc.content2_mc.play();
repeat as needed for each movie clip.
Tell the first clip to play. -
I am trying to find a way to have my flash movie play on the
same dreamweaver page.
I have five buttons on the left. When I click each one I want
them to play a different flash file in the same location on the
right. As you click a different button a new flash file replaces
the old one in the same location on the right. Each flash file is a
different size. Also I designed this and sliced it in photoshop,
saved for web and devices the opened the html file in dreamweaver.
Can my issue with this still be solved.
Please help. Thanks
Dreamweaver novice.Look at Wimpy Streaming audio/video Player. One player can
handle all your
flash videos and MP3 audio clips. Very easy to install, dirt
simple to
update playlists later.
http://www.wimpyplayer.com/affiliates/idevaffiliate.php?id=836
--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
"carrierodesign" <[email protected]> wrote
in message
news:gdcjja$d90$[email protected]..
> I am trying to find a way to have my flash movie play on
the same
dreamweaver
> page.
>
> I have five buttons on the left. When I click each one I
want them to
play a
> different flash file in the same location on the right.
As you click a
> different button a new flash file replaces the old one
in the same
location on
> the right. Each flash file is a different size. Also I
designed this and
sliced
> it in photoshop, saved for web and devices the opened
the html file in
> dreamweaver. Can my issue with this still be solved.
>
> Please help. Thanks
>
> Dreamweaver novice.
>
> -
Flash targeting external .mov to open in QT Player
I have an all flash website (www.thesoundword.com). We are an internet radio station, and I would like to get flash to open our stream (.mov) in a QT player as opposed to a new webpage as it does now when a listener clicks "listen now". This seems to be pretty complicated, and I am out of ideas. Thanks for any help!
Powerbook G4 Mac OS X (10.4.8) 2gb RamSince your Flash file determines how the link will open it makes a very big difference.
Most users (default) have QuickTime Player set to handle any rtsp protocols.
Your current Flash file directs to your poster .mov file. Since this happens via a Web browser (over http) the browser settings would then try to load the "linked" file in a new window.
Directly linking to the rstp "feed" through your Flash file would vary based on the end users settings. But most would have QuickTime Player (or maybe Real Player) open the rtsp link in the default they've set for playback of rstp feeds.
Even Real Player can open most QuickTime formats. -
When using Remote View, mouse on target pc moves
Is this normal behavior, we have Zenworks 7.0 Desktop Management installed
on SuSE Linux 10, with the hot patch 6. When we use the remote option in
Zenworks to access a PC the mouse moves if the remote operator moves his
mouse, is this normal behavior?Charles,
yes, but see this in this documentation: http://www.novell.com/documentation/...p.html#af8kx2z
"Blocks Mouse Movements to Agent"
Shaun Pond -
How can i target a movie of which i set the name based on a variable?
Hi.
I have the attached code:
And i want to target the imgHolder
; that i have just created through the while function. I mean I
attach a movieclip from the library to which I give a name composed
from "imgHolder"+i where i is the number of the node from the xml.
After that i want to succesfully target the newly created
movieclip and get it's _x so i can attach the next movieclip next
to the previous one. After that i will have a set of function based
on the "imgHolder"+i movieclip.
But i need to know how to succesfully target the movieclip.
Thanks a lot.use the attach code option to display code in this forum.
otherwise, your code is altered and difficult to read. -
Targeting Dynamic Text Box inside moviecip with variable
Hi,
How does one target a dynamic text box to change the border
color inside of a movie clip? Example below which does not work
theName = ("answerPrint" + arryCount);
boxName = ("box" + (arryCount+1));
_root.pagePrintPartA[theName][boxName].border = true;
_root.pagePrintPartA[theName][boxName].borderColor =
0x00cc66;Thanks for the reinforcement, but I should of indicated what
was what:
theName = ("answerPrint" + arryCount);// Name of Variable
inside Dynamic Text Box Inside MovieClip
boxName = ("box" + (arryCount+1));// Instance Name of Actual
Dynamic Text Box Inside MovieClip
_root.pagePrintPartA[theName][boxName].border = true;
_root.pagePrintPartA[theName][boxName].borderColor =
0xFF0000;
By certifying this script you showed me wher I went wron (not
seeing the forest from the trees). The last two lines should be:
_root.pagePrintPartA[boxName].border = true;
_root.pagePrintPartA[boxName].borderColor = 0xFF0000;
I was targeting backwards. Thanks alot DazFaz. -
Can't get nested movie clip to play
Hi everyone,
I have a movieclip on one of the frames on the maintimeline.
Within this movieclip is a nested movieclip which itself is
contained by another clip. The first movie clip plays to a certain
frame where I've got some code telling the nested movie clip to
play at that frame but this nested clip doesn't play. I'm not sure
if I'm targetting the nested clip incorrectly or whether something
else is wrong with the code.
The .fla file can be downloaded at:
http://www.officelinkonline.com.au/Ad/
if someone would take a look. The movie clip in question is
on the layer called text5, and within this mc on frame 15 is the
code I'm trying to use to get the nested movieclip to play at that
point. The code used on that frame is:
this.innerText5_mc.free_mc.play();
stop();
pauseAnim = setInterval (this, "nextFrame", 4000);
I wondered if someone could take a look and see what I might
be doing wrong? Basically the free_mc clip just makes the word
"FREE" scale up.
Would really appreciated any advice.
ThanksThanks again. I'm a bit worried that you weren't able to see
the font that I used. All of the text used in the animations are
static text fields. I don't seem to have the option to embed these
characters since it's static text. It'll only let me embed if the
text fields are dynamic. Does this mean I have to change them all
to dynamic text fields, and if so do I need to embed the font in
every text field in every frame of the animation or can you do this
in one place?
Appreciate your continued help. -
Beginner question: linking movie clips.
I am making a dart board game. I have a target that moves around the board to each of the 82 positions a dart can land and a button stops the target. Each of those positions is its own MC and is named as such. I also have 82 MCs of a dart animation that travels to all of the possible destinations on the dart board. I need help with the scripting that will tell a specific dart MC to play when the target is stopped on a particular point. Thank you for your help in advance! I am using cs5.5.
There's not enough info to offer a solution, but here's some things to consider. When the target stops, you should have some way of determining where it is, by a position number. Figuring that out would require knowing more about how you move the target and how the button manages stopping it.
Since there are 82 possible positions for it, then your mcs that make up the dartboard could be named/numbered in such a manner (I'd recommend 0 thru 81 since an array might come in handy at some point in the design) and they could be assigned a number property equal to that. Supposed your board mc's were named as such ... brdmc_0, brdmc_1, brdmc_2, etc... Then you could assign a number to them in a loop using bracket notation to target them...
for(var i:uint=0; i<82; i++){
this["brdmc"+String(i)].num = i;
Likewise, each of your 82 dart animations could be named/numbered to match.. dartmc0, dartmc1,etc...
So when you have determined which mc the target has stopped on, you can use that mc's number to tell the associated dart animation to play, again using bracket notation... in the line below, the "boardmc" represents the brdmc# that the target landed on, and you dart
this["dartmc_"+String(boardmc.num)].play(); -
Can you turn the photos in a slideshow into a video clip?
I have a sequence of 80 or so photos that play very fast and create an animation.
Can I select all the photos and merge them together into a video clip so I can apply video effects and do a fade in for more than 2 frames?Colin, will doing the method you described allow me to apply video effects to the photos as a whole group?
That's correct. The nested sequence essentially functions as one clip, so you can edit it, transform it, add effects or transitions, or do any other operation that you'd do on a single clip unit. For example, if you need to move your series of photos somewhere else in your sequence, you'd have to select all of them; if they're nested, you just have to click one big target to move them.
I think Craig (shooternz) misunderstood your question, and assumed you just wanted to fade up the first photo, but you're talking about fading up over a longer duration, and multiple images. He had the right answer to a different question -
Playing movie with text button
I'm trying to get a movie to start once I click on a text button (play movie). So far I have this code in place and it is working. I just need to know the function necessary to start the movie to put in place of the comment I have below.
play_btn.addEventListener (MouseEvent.CLICK,playClick);
function playClick(e:MouseEvent)
//code to start movie
THANKS!If the movie that is supposed to play is the one containing the button, then you can just put play(); inside the function. But if it is some other movie, you'll need to target that movie by its instance name... mcName.play();
-
Hi All
Hope someone can help on this.
I am trying to write a powershell script (that will be compatible with 1.0 with no plugins) can move files to a folder depending on the file name. Probably easier to explain with an example
XXXX_000001_Full.zip
XXXX_000002_Delta.zip
XXXX_000003_Delta.zip
XXXX_000004_Full.zip
XXXX_000005_Delta.zip
In the above example, I would want files 1,2 and 3 moved to a new location. So only the latest full and any Deltas are left.
This is what I have so far, but not sure on how to filter by the file name.
$SourceFolder = "G:\queries\"
$targetFolder = "G:\queries\"
# Find all files matching *DELTA.zip in the folder specified
Get-ChildItem -Path $SourceFolder -Filter *DELTA.zip | where-object {$_.LastWriteTime -lt (get-date).AddDays(-7)} | ForEach-Object {
# Move the source to the target directory
Move-item -Path $_.FullName -Destination $Destination.FullName
# Find all files matching *FULL.zip in the folder specified
Get-ChildItem -Path $SourceFolder -Filter *FULL.zip | where-object {$_.LastWriteTime -lt (get-date).AddDays(-7)} | ForEach-Object {
# Move the source to the target directory
Move-item -Path $_.FullName -Destination $Destination.FullName
Thanks in advance.Hi Jamie,
I’m writing to just check in to see
if the suggestions were helpful. If you need further help, please feel free to reply this post directly so we will be notified to follow it up.
If you have
any feedback on our support, please click here.
Best Regards,
Anna Wang
TechNet Community Support -
Move & move corresponding ?
what is difference between move & move corresponding ?
Hi,
MOVE just move the values without looking at the field names. Meaning it just the moves the number of characters from the source to the target structure OR variable.
MOVE-CORRESPONDING looks for the corresponding field names in the target structure and move those values only..
DATA: BEGIN OF source,
matnr type matnr,
end of source.
DATA: BEGIN OF target,
vbeln type vbeln,
matnr type matnr,
end of target.
source-matnr = 'asdfasf'.
MOVE-CORRESPONDING source to target.
write: / 'vbeln- ', target-vbeln.
write: / 'matnr- ', target-matnr.
clear: target.
skip 1.
MOVE source to target.
write: / 'vbeln- ', target-vbeln.
write: / 'matnr- ', target-matnr.
* If you see the second output the value in matnr is moved to
* vbeln in target.
for MOVE the both structures should be same, becasue it startring copy first field of first structure to first field of second structure.
MOVE-CORRESPONDING will look for fields with similar names in both the structures and move only those fields which have same name.
move means same like
a = b.
move b to a. ( shuld be type matched)
Regards,
Gaurav
<b>Reward points if helpful</b> -
Controling Flash movies from another movie
I have a site that has multiple flash movies in it. One on
the top level within a tablecell, the other loads into a central
iframe. I want the movie in the table cell to play when the movie
in the iframe hits a certain point, but I can't figure out the
targetting. Is it even possible to use the gotoandplay() function
to target a movie that is not within the curent movie? If so what
would my targeting path look like?
Thanks.sagew wrote:
> How do you get a movie (embedded I guess) from the
library of one Flash file
> into another Flash file? I'm working from a template
file and I want to use
> something from the original template file to replace one
I messed up.
Open two files, go to library CTRL L and you can view in the
same time library of
all the open files at the moment. Than you can copy paste
simply the content.
Regards
Urami
Happy New Year guys - all the best there is in the 2006 :)
<urami>
http://www.Flashfugitive.com
</urami>
<web junk free>
http://www.firefox.com
</web junk free>
Maybe you are looking for
-
The "Normal Brush Tip" cursor is appearing as the "Full Brush Tip" cursor in Photoshop CC.
In spite of resetting all presets, restarting, etc., the Normal Brush Tip cursor is appearing as the Full Brush Tip cursor in Photoshop CC. The Full Brush Tip cursor is working as it should. Photoshop CC 14.1.2 x64 OS X 10.9
-
Taken 2 has been deleted from my iTunes purchase history, has it for anyone else?
Just went to watch it on my Apple TV and it's been deleted from my purchase history, has this happened to anyone else?
-
i have an iPhone 3g and have downloaded the latest iTunes but when i create my ringtones i dont know where to put them as i dont have an ringtone icon in my library does anyone know how to fix this it would be appreciated like how it says library and
-
Installation NW04 SP15 Error no properties in installationscript_19
While installing the sneak preview sapnetweaver 04 SP 15 , i get an error just after pushing the license agrement button. Error 2006-02-07 FJS-00003 Typeerror: (new fileMgt().GetNode(PropertyFileFullPath) has no properties (in script Installationscri
-
OK, I upgraded to OS 4.0 now at 4.02. Ever since the upgrade to OS 4.0 I get a very annoying window that pops up frequently asking for my password. I have not set up any password to protect my phone so I hit cancel and the window goes away. Then, I s