Question about Macromedia Flash MX

4 Answers

Button script i'm new to flash,how i create option for file menu

Posted by on

Ad

4 Answers

  • Level 1:

    An expert who has achieved level 1.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 6 Answers

/*
Drag a Menu component to the library and create a Button caled file_btn and paste this code into
the script keyframe.
*/
import mx.controls.Menu;
// Create a menu.
var my_menu:Menu = Menu.createMenu();
// Add some menu items.
my_menu.addMenuItem("Open");
my_menu.addMenuItem("Close");
my_menu.addMenuItem("Save");
my_menu.addMenuItem("Revert");
// Add a change-listener to Menu to detect which menu item is selected.
var menuListener:Object = new Object();
menuListener.change = function(evt_obj:Object) {
var item_obj:Object = evt_obj.menuItem;
trace("Item selected: " + item_obj.attributes.label);
if(item_obj.attributes.label == "Open"){
//do this
}else if(item_obj.attributes.label == "Close"){
//do this
}else if(item_obj.attributes.label == "Save"){
//do this
}else{
//do this for revert option.
}
};
my_menu.addEventListener("change",menuListener);

file_btn.onRelease = function() {
my_menu.show(file_btn._x,file_btn._y + file_btn._height);
};

Posted on Sep 19, 2008

Ad

How can i connect vb in flash with button??

Posted on Sep 12, 2008

Ad
  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 1 Answer

Always try to post complete problem anyway.
give the frame lable name to 6th frame.


on (release)
{
gotoAndPlay (" ur frame lable name ")
}

Posted on Jan 02, 2008

How to link 1 frame to 6 frame with button give me script

Posted on Dec 28, 2007

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi there,
Save hours of searching online or wasting money on unnecessary repairs by talking to a 6YA Expert who can help you resolve this issue over the phone in a minute or two.

Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.

Here's a link to this great service

Good luck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

I want to put a password on my flash drive


Plug your Maxwell USB flash drive into your computer.


Click on the "My Computer" icon at the top of your computer screen.

Double click on the Maxwell USB icon.


Right click in a blank space in the middle of the window to pull up a small menu.


Select the "New Folder" option from the menu to create a new folder on your Kingston USB drive.


Drag all of the files that you want to protect into the new folder you created.


Right click on the folder that you created and select the "Properties" option from the menu.

Go to the "Sharing" tab and click on it.


Scroll down to the "Make This Folder Private" box and check it. Click the "OK" button and wait for the window to close.


Use your Windows log-in password to open the file.


There are also encrypt/password protect programs downloadable on the internet some are freeware some are pay programs

http://download.cnet.com/truecrypt/3000-2092_4-10527243.html

True Crypt Free



hope this helps

Nov 12, 2012 | Maxell 4 GB USB 360 USB 304 - 503201 Hard...

Tip

MultiBoot USB Flash - Survival Guide


Grub4DOS is a boot manager
that can be easily installed to a USB flash.
It allows booting multiple operating systems
from a simple graphical user interface.

laikexpert_5.jpg

1.) Format the USB flash drive in the FAT32 or NTFS filesystem. (Windows)
(
Download and start HPUSBFW.EXE )http://dl.dropbox.com/u/4040651/HPUSBFW.EXE
-REMINDER!!! all data will be deleted on the USB flash-


1.a) Download necessary files
Grub4Doshttp://dl.dropbox.com/u/4040651/grub4dos-0.4.4.zip
Grub4Dos gui Installer 1.1
http://dl.dropbox.com/u/4040651/Grub4Dos%20gui%20Installer%201.1.rar

1.b) Extract the downloaded zip files into separate folders.
For example:
Grub4DOS to C:Grub4DOS
Grub4Dos gui Installer 1.1 to C:
Grub4Dos gui Installer 1.1

2.)
If your flashdrive is not already plugged into the computer, plug it in now.

2.a) The next step is to run the Grub4DOS Installer.
Browse to the Installer's unzipped folder using Windows Explorer.

2.b) Run the grubinst_gui.exe program (Windows XP)
Right-click on grubinst_gui.exe Run as administrator (Windows 7)

laikexpert_6.jpg

2.c) Once the program is started, select the Disk option,
then click the Disk Refresh button and then select
your flashdrive from the dropdown box.
IMPORTANT:If you accidentally select the wrong drive,
you may not be able to boot your system without doing a boot repair.

2.d) Now click the Part List Refresh button,
then the dropdown box and finally select the Whole disk (MBR) option

2.e) Click the Install button to install Grub4DOS to the MBR
of the flashdrive.
Hopefully, you'll get the message that the installation was successful.

3.) The next step is to copy the grldr file to the flashdrive's
root folder.Using Windows Explorer, browse to the folder
where you unzipped
the Grub4DOS program and copy the file to the flashdrive.

3.a) Grub4DOS is now installed on the flashdrive.

4.)Download file
menu.lsthttp://dl.dropbox.com/u/4040651/menu.lst

4.a)You need to copy the menu.lst file to USB Flash

4.b)Create a folder Boot on a USB flash drive.
in this folder create new folders
Splash
menus

4.c) Download file
Snaiyahttp://dl.dropbox.com/u/4040651/Snaiya

4.d) On USB flash-open the folder Boot
Within-we see Splash folder. Copy the file Snaiya into it.


5.) Add Puppy Linux on a multiboot USB flash

laikexpert_0.png

5.a) Download the Puppy ISO imagehttp://www.puppylinux.org/

5.b) Create a folder Puppy on a USB flash drive.

5.c) Take from the downloaded ISO, file
PUP_420.SFS (from the folder Puppy)
Rename it to pup_420.sfs
and copy it to
USB flash.

5.d) Copy all other files from the downloaded ISO (from the folder Puppy)
to the folder /Boot/Puppy/ (Create a folder on a USB flash)

5.e) In the menu.lst add a:

title Puppy
kernel (hd0,0)/boot/Puppy/vmlinuz ramdisk_size=100000
initrd /boot/Puppy/initrd.gz

5.f) Preserve the changes and now menu.lst looks like this:

gfxmenu (hd0,0)/boot/Splash/Snaiya
timeout 30
default 0

title Puppy
kernel (hd0,0)/boot/Puppy/vmlinuz ramdisk_size=100000
initrd /boot/Puppy/initrd.gz

title Boot from CD-rom
cdrom --init
map --hook
chainloader (cd0)

title ShutDown PC
halt

title Reboot PC
reboot

5.g) Puppy on our MultibootUSB flash-is ready for operation.
(Now we can restart our computer and see how it looks and works)

Depending on the options your motherboard, it is necessary when starting
your computer keyboard press: F8 or F12 or Esc, etc..
Thus you will appear a menu where you choose your USB flash drive.


on Feb 07, 2011 | Computers & Internet

1 Answer

Emails are not opening


Not much to go off, however a number of things you can try include Update Adobe Flash Player Internet Explorer and Java script .


Clear Explorer cache, cookies, and browsing history.

Some find that a return to classic mail improves things.


You could also try an alternative browser

create the menu tab on your homepage right click in the top toolbar you should see a number of toolbar options select the menu tab which will add File Edit View Favorites Tools and Help

click on the tools at the bottom of the drop down list will be internet options in the general tab tick in the box to delete temporary files history cookies and saved passwords


below that will be change search defaults click on settings you will see all search providers you
have if dont need any of them you can disable or remove them

hope this helps

Oct 05, 2012 | ASUS VIA Apollo Pro133A Chipset CUV4X-C...

10 Answers

Samsung scx-4300 error message "toner exhausted" how to reset printer


You need to change the software of your printer by going to TECH mode and sending some files to the printer.Give me you email so i can send you the instructions and the software if you want to.

Oct 20, 2010 | Samsung SCX-4300 Monochrome Laser...

1 Answer

I can see the top half of the Yahoo mail screen but my email messages do not appear. It says I am signed in???


This problem may be caused by any the following: (you may stop troubleshooting when the problem is solved)

1) Reboot your computer
2) Active scripting and scripting of Java Applets not enabled

In IE click Tools > Internet Options
Click Security Tab, click Internet to select Internet Zone
Click Custom Level
Scroll down to section labeled Scripting
Select Enable for Active Scripting
Scroll down select enable for Scripting of Java Applets
Click OK (Are you sure? Yes)
Click OK on bottom of Internet Options window
Close and relaunch your browser
Try Yahoo! Mail again

3) Update Flash. Yahoo! Mail uses Flash technology. Updating to the current version of Flash can resolve many issues that can occur in Yahoo! Mail:

Install the current version of flash player:

Install Adobe Flash Player

4) Clearing your Internet browser cookies and cache

Click Tools > Internet Options
Click on Delete under Browsing History
Place a check in the Temporary Internet Files and Cookies checkboxes
Click the Delete button
Click the OK button at the bottom of Internet Options
Close and restart your browser.
Try Yahoo! Mail again.

That is as far as I will go for now. There are more things to try, but I would like you to try these solutions first. Let me know if you are unsuccessful.

Dec 28, 2009 | Yahoo Mail

1 Answer

I'm trying to create a control buttons for a flash CS3 movie and will also include another set of buttons that will take you to next scene and previous scenes.


ok, i tell u one thing.

one.fla

frame 1:

create a movieClip at 550x400 and give a instance name as 'movie_mc'

frame 2: Create two buttons as btn1,btn2.give instance as same.

frame 3: press F9 and Give 'stop();'
var count = 0

file1.fla

create animation

file2.fla

create animation

one.fla

next button script is

on(press)
{
count = count+1;
movieclipinstancename.loadMovie("file"+count);
}

previous button

on(press)
{
count = count-1;
movieclipinstancename.loadMovie("file"+count);
}


May 31, 2009 | Adobe Flash® CS3 Professional Full Version...

1 Answer

Scrollbar scripting


create dynamic text give instant name text then create two button up and down
give the script on up button

on(release)
{
text.scroll -=1
}

give the script on down button

n(release)
{
text.scroll +=1
}

Dec 05, 2007 | Macromedia Flash MX

2 Answers

Skip intro button action script


Dear nic_hk, in macromedia there is an option of removing the intro by checking the skip this box or by checking the box that says 'dont show me this screen again'

About flash action script this is a complete resource for learning it along with embedded java scripting.

If that has helped you please press 'fixya'

Nov 27, 2007 | Adobe Photoshop 7.0 for PC

3 Answers

Menu


maybe the buttons you have made has no action script yet. .
here's the sample script
"on(press){
gotoAndPlay(frame number);
}"

Nov 08, 2007 | Macromedia Flash MX

1 Answer

How to create link from a button to play video


Put a button on your scene, and give it the instance name but in the Property Panel. Create a new layer in your movie and name it code Now add this code to the first frame of the code layer: but.onPress = function () { _root.createEmptyMovieClip("container", 1); loadMovie("loaded.swf", "container"); container._x = 150 ; container._y = 20 ; }

Jun 23, 2007 | Macromedia Flash MX Professional 2004 for...

Not finding what you are looking for?
Macromedia Flash MX Logo

Related Topics:

95 people viewed this question

Ask a Question

Usually answered in minutes!

Top Macromedia Computers & Internet Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18425 Answers

Folusho Adeyanju
Folusho Adeyanju

Level 2 Expert

131 Answers

Brad Brown

Level 3 Expert

17473 Answers

Are you a Macromedia Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...