473,394 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

problems with stop(), cant play _mc's more than once

crabpot8
i have two seperate movie clips that have been giving me the same problem. in both of them i have a stop() command on the last frame so that they only play once. one i call by using click.gotoAndPlay(1); and the other using line.gotoAndPlay("grow_line").

they both run great the first time they are on the stage, but if i put them on the stage in another frame on my main timeline, then they dont play at all. i am getting better at flash, so i know where to look for problems, but i haven't been able to find a solution. any help would be great! i am willing to email the .fla, its only 2 megs right now

~crabpot8
Aug 10 '07 #1
3 1830
update: it must be a problem with my frame names. when i reference gotoAndPlay(18) (rather than "send_mesg"), it works properly. i would like to use the names, however, so if anyone could help me i would really appreciate it
Aug 11 '07 #2
nomad
664 Expert 512MB
update: it must be a problem with my frame names. when i reference gotoAndPlay(18) (rather than "send_mesg"), it works properly. i would like to use the names, however, so if anyone could help me i would really appreciate it
few pointers here.
in your layer section have one called Labels. this is where you would add your send_mesg at.

in your action script for gotoAndStop("send_mesg")
use this
this.gotoAndStop("sendmesg") I would try not using in wild cards ie - _ /

hope that works.
nomad
Aug 14 '07 #3
hm. im not sure if i understand what you are saying about the wild cards...i am saying stuff like this.click.gotoAndPlay("sendmesg") and i do have a seperate label layer in my mc's. i need go to and play cuz there is animation that i want to play within the movie clips. basically i have a line "grow" itself, and then small balls of "data" travel down the line in either direction with sendmesg and getmesg. i use a mc called line, with a label layer, an actions layer that simply has stop on the last frame of each animation,and an animation frame that contains the shapre tween to grow the line, and the motion tweens to send data and get data, all spaced about ten frames apart.

thanks in advance,
crabpot8

few pointers here.
in your layer section have one called Labels. this is where you would add your send_mesg at.

in your action script for gotoAndStop("send_mesg")
use this
this.gotoAndStop("sendmesg") I would try not using in wild cards ie - _ /

hope that works.
nomad
Aug 17 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Josh | last post by:
I am having a problem with sound in my program, it takes information from a TargetDataLine, put's it in a temporary file, then takes it back out of the temporary file and plays it using a...
8
by: Tim Bücker | last post by:
Following scenario: The user opens a form, a thread is started to play a sound ... public void playSoundUsingThread() { if (File.Exists(fileLocation)) PlaySound(fileLocation, 0, 0); //...
17
by: Lloyd Sheen | last post by:
This IDE is driving me nuts. I needed another button so I copied an existing one, changed the Text and the id and position by drag and drop. Well then I run and get the following: Control...
0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
21
by: matvdl | last post by:
I have a system that was originally developed in asp - the pages are saved in SQL (there are over 10,000 pages) and saved to a temp directory in the server when requested by a client. I have...
1
by: Dan Watson | last post by:
I applogogise... This isn't a VB.NET issue - but my ISP dosnt give's me tough love when it comes to just VB newsgroups here goes: HI guys... I am having a serious bug with my program called...
7
by: Timo Haberkern | last post by:
Hi there, i have some troubles with my TSearch2 Installation. I have done this installation as described in http://www.sai.msu.su/~megera/oddmuse/index.cgi/Tsearch_V2_compound_words...
1
by: John Veldthuis | last post by:
I want to pass some startup commands to my application using a shortcut. I have worked out how to do this no problems at all. I have a module and in it a SUB Main. In Main I do the parsing of the...
10
by: Cliff | last post by:
Greetings, I have been trying to teach myself C++ over the past few weeks and have finally came across a problem I could not fix. I made a simple program that prints out a square or rectangle...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.