473,462 Members | 1,128 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Compile error 1061 displays when attempting to play timeline animation

Hi,


Scenario: Click on button and timeline animation plays (the animation is a panel that rotates from the back to the front
)
AS - 3.0
CS5

Error:
Scene 1, Layer 'actions', Frame 1, Line 11
1061: Call to a possibly undefined method play through a reference with static type Function.

What does this error mean and what code needs to be added to fix it?

Any help will be appreciated.

Expand|Select|Wrap|Line Numbers
  1. AS Code:
  2. import flash.events.MouseEvent;
  3.  
  4. bullet_btn.addEventListener(MouseEvent.CLICK, bullet);
  5. function bullet(event:MouseEvent) :void
  6. {
  7.     spinbul_pt_1.play();
  8. }
  9.  
  10. function spinbul_pt_1(){
  11.     bul_pt_1_MC.play();
  12. }
Dec 17 '11 #1
0 1501

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

Similar topics

5
by: Paweł | last post by:
void __fastcall TRabatyForm::Edit1iKeyPress(TObject *Sender, char &Key) { if((Key < '0') (Key > '9') Key = '#0'; } Why? I need to filter alloed key do digits only. Pawel
3
by: Tony Johansson | last post by:
Hello Experts! Why do I get compile error here in this small class template. The compiler error give this error c:\Documents and Settings\Tony\kau\cplusplus\test12\start.cpp(9): error C2440:...
2
by: Gustavo | last post by:
After updating Windows 2000 I began to get a weird compile error message: Deleting intermediate files and output files for project 'pp - Win32 Debug'. --------------------Configuration: pp -...
3
by: Peter | last post by:
Hi, I am trying to compile an existing project (originally c) in .NET (rename .c files to .cpp). After fixing some problems, here are the ones that I don't know how to deal with:...
6
by: Thomas Connolly | last post by:
I have 2 pages referencing the same codebehind file in my project. Originally the pages referenced separate code behind files. Once I changed the reference to the same file, everything worked...
0
by: Jim Heavey | last post by:
Internal Compiler Error: stage 'BEGIN' Hello, I had an application which was working just fine and I decided to modify all database access within the application to utilizie a new Namespace that I...
3
by: Wayne Allen | last post by:
I am receiving a compile error when attempting to include Directshow in a managed C++ program using Visual C++ 2005 Express Edition Version 8. The ..NET framework is version 2.0.50727. To...
2
by: Lonewolf | last post by:
hi all, I realize the example on MSDN for IPCChannel has compile error in VS2005 pro. Either I'm missing something or there's something seriously wrong with MSDN on that section. I reproduce the...
8
by: farseer | last post by:
Can someone please assist me in understanding why i am receiving this error: " error C2440: 'type cast' : cannot convert from 'LRESULT (__cdecl CMyToday::* )(HWND,UINT,WPARAM,LPARAM)' to 'LONG' "...
0
by: Rod | last post by:
I've upgraded a Visual Studio .NET 2003 app (C#) to Visual Studio .NET 2005. It is a WinForms application, and it uses Crystal Reports 11 Release 2. After going through the upgrade process with the...
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
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,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.