A simple flash function

This is a discussion on "A simple flash function" within the Flash & Multimedia Forum section. This forum, and the thread "A simple flash function are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Oct 12th, 2007, 01:06
Reputable Member
Join Date: Sep 2007
Location: Tehran - Iran
Age: 29
Posts: 434
Blog Entries: 2
Thanks: 7
Thanked 7 Times in 7 Posts
A simple flash function

Hi,
I want to try a simple function in flash but it wont work :
the function is :

Code: Select all
function grow() {
    this._xscale += 10;
    this._yscale += 10;
}
but when i call it in a button it wont work :

Code: Select all
on (press) {
    _root.objectName.grow();
}
whats the problem ?
__________________
Designing For Communicating
Website : http://www.datisdesign.com
Weblog : http://blog.datisdesign.com

Last Blog Entry: Throughout IRAN (Dec 10th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Oct 12th, 2007, 14:31
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: A simple flash function

Could you please post your file? This might take some goofing around with to help figure out.

Looking at your code I don't see any errors...

Cheers,

Scott
Last Blog Entry: Yay!? (Oct 8th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Oct 12th, 2007, 15:24
Reputable Member
Join Date: Sep 2007
Location: Tehran - Iran
Age: 29
Posts: 434
Blog Entries: 2
Thanks: 7
Thanked 7 Times in 7 Posts
Re: A simple flash function

Here is the file...
Attached Files
File Type: fla sample.fla (32.0 KB, 3 views)
__________________
Designing For Communicating
Website : http://www.datisdesign.com
Weblog : http://blog.datisdesign.com

Last Blog Entry: Throughout IRAN (Dec 10th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 simple things in flash perplex me.. please help cosmicbdog Flash & Multimedia Forum 6 Dec 22nd, 2007 09:48
Just want simple Background Song (.mp3) and a simple start/stop. BlackReef Flash & Multimedia Forum 4 Jun 28th, 2007 07:04
Simple Flash 8 problem (Hopefully)... fantombe Flash & Multimedia Forum 3 Aug 31st, 2006 10:19
simple flash for navigation 2 onlinegamesplayer Flash & Multimedia Forum 2 May 23rd, 2006 08:03
simple flash for navigation onlinegamesplayer Flash & Multimedia Forum 16 May 10th, 2006 16:45


All times are GMT. The time now is 11:12.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42