473,788 Members | 2,725 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

crabpot8
40 New Member
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.gotoAndPl ay(1); and the other using line.gotoAndPla y("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 1851
crabpot8
40 New Member
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 Recognized Expert Contributor
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("se nd_mesg")
use this
this.gotoAndSto p("sendmesg") I would try not using in wild cards ie - _ /

hope that works.
nomad
Aug 14 '07 #3
crabpot8
40 New Member
hm. im not sure if i understand what you are saying about the wild cards...i am saying stuff like this.click.goto AndPlay("sendme sg") 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("se nd_mesg")
use this
this.gotoAndSto p("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
4127
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 SourceDataLine. currently, it does not play back. andrewjj20 the play method: class Player implements Runnable { public Player() {
8
2313
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); // winmm.dll }
17
2496
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 'Button19' of type 'Button' must be placed inside a form tag with runat=server Can the IDE not do what it is supposed to do. It seems that it is a fight to make it do anything or did I do something wrong? It would seem silly to have to create a...
0
3228
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 converted/developed with VB.NET. What I want from debugging is to be able to step into the methods in the DLLs called from ASP scripts using Visual Studio .NET. Background: For typical script debugging issues, you can read and follow the two documents on...
21
2970
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 updated this system and changed the pages that are saved to the server as aspx - everything works fine and pages can be served - but Its not impossible for a single client to request 100 plus pages in one session - as each page is requested it is...
1
1022
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 Neowin Messenger which I have only been able to get around with delay hacks, which seem to cause more problems than fix. I will try and explain the problem:
7
5466
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 <http://www.sai.msu.su/%7Emegera/oddmuse/index.cgi/Tsearch_V2_compound_words> I used the german myspell dictionary from http://lingucomponent.openoffice.org/spell_dic.html and converted it with my2ispell
1
1098
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 command line parameters and store what I need. I the create a new instance of my form that I want by DIM myForm as New Form1 And then open it by using myForm.OpenDialog
10
1880
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 using the * character. The program was just for practice but I am having problems. My main problem is, in my program I use 4 functions to change or access two variables in my code. The variables are
0
9656
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10373
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10177
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8995
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7519
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4074
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2897
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.