______how To Make Flash Buttons To Play .exe ?____
By means a flash button I try to control a .exe file as action bellow :
on (release) {
fscommand ("fscommand("EXEC", "thiago.exe");");
}
It has not worked.
(using flash five)
Can someone tell me what´s wrong ?
Thanks
KirupaForum > Flash > Flash 8 (and earlier) > Flash 5
Posted on: 11-07-2002, 10:49 PM
View Complete Forum Thread with Replies
Sponsored Links:
How Do You Make PLAY Buttons For Your Flash Movie?
like u know, have a play button to start the movie i dont it to autoload. plz help me im a newbie once and u were too..id greatly appreciate it from the bottom of my heart to the kind soul who will help me! im using swish 2.0........by the way, i dont care about fanciness...i just want a play button!
View Replies !
View Related
How To Make Play/pause And Stop Buttons?
hi, would someone please be able to post the actionscript for these three buttons? i would very much appreciate it :)
i was wonderin if there was a way to make a pause button, with ns. but one that when you press it then press it again it wont start. so that no matter how many times you press it the movie will stay paused (now like ns.pause when you click it pauses and when you click it again it starts, i ned a dedicated pause button)
and how to make a play button? so that when its paused, the only thing to start it again is pressing the play button and that when itsplaying you can freely press the play button and nothing will happen? (again, ns.pause doen't work on the play button since if we have it there the play button is now able to pause the video)
also, how do i make a stop button? so i click it and it takes me to the start of the video and stops it from playing?
thx. phatmat.
View Replies !
View Related
What The ____? HitTest() Not Responding
I have an MC nested in 3 levels of MC's, and I have the following code attached to determine if the MC has been "shot" at a user's click (or in other words, if the MC is over the crosshairs at 0,0 on the main stage).
I attached this code onto the instance of MC "character":
<CODE>onClipEvent(mouseUp) {
if (this.hitTest(0,0,true)) {
this.eyes.gotoAndStop("dead");
this.mouth.gotoAndStop("dead");
trace("yo");
}
}</CODE>
Is my syntax wrong? Am I missing something here?
Extrememly frustrated,
Dust
View Replies !
View Related
Tell Target Replaced With ____?
I've been using flash 5 for a while and have gotten used to the "telltarget" function.
And now its obsolete and Flash MX and up are using another command in replace of "telltarget".
i just cant remember what it was.
Also, can you fix this script so it is up-to-date with flash 8? (im using flash 8)
Code:
on (rollOver) {
tellTarget ("effect") {
gotoAndPlay (2);
}
}
on (rollOut) {
tellTarget ("effect") {
gotoAndPlay (126);
}
}
View Replies !
View Related
1000: Ambiguous Reference To ____
I'm having this frustrating error showing up and I have no idea why. Let me show you my classes and see if you can spot anything wrong.
First, here's my ILode interface:
ActionScript Code:
package com.schelterstudios.lodeSystem.flash.lodes{
import flash.events.IEventDispatcher;
public interface ILode extends IEventDispatcher{
function get indeterminate():Boolean;
function get bytesLoaded():uint;
function get bytesTotal():uint;
function get suspended():Boolean;
function get priority():Number;
function get label():String;
function start():void;
function stop():void;
}
}
Then, there's my IFlexLodeInstance interface which extends it:
ActionScript Code:
package com.schelterstudios.lodeSystem.mx.lodes.lodeClasses{
import com.schelterstudios.lodeSystem.flash.lodes.ILode;
public interface IFlexLodeInstance extends ILode{
function set label(val:String):void;
function set priority(val:Number):void;
}
}
Finally, here's the class file that's composing the interfaces (minus some unimportant code):
ActionScript Code:
package com.schelterstudios.lodeSystem.mx.lodes{
import com.schelterstudios.lodeSystem.mx.utils.LodeRunner;
import com.schelterstudios.lodeSystem.mx.flexlode_internal;
import com.schelterstudios.lodeSystem.mx.lodes.lodeClasses.IFlexLodeInstance;
import flash.events.EventDispatcher;
import com.schelterstudios.lodeSystem.flash.lodes.ILode;
use namespace flexlode_internal;
[Bindable]
internal class FlexLodeBase extends EventDispatcher implements IFlexLode{
static protected var lodeRunner:LodeRunner = LodeRunner.getInstance();
private var _priority:Number = 0;
[Inspectable(category="General", type="Number", defaultValue="0")]
public function get priority():Number{
return (instance) ? instance.priority : _priority;
}
public function set priority(val:Number):void{
_priority = val;
if(instance) instance.priority = val;
}
private var _label:String;
[Inspectable(category="General", type="String", defaultValue="")]
public function get label():String{
return (instance) ? instance.label : _label;
}
public function set label(val:String):void{
_label = val;
if(instance) instance.label = val;
}
protected var instance:IFlexLodeInstance;
public function FlexLodeBase(){
lodeRunner.flexlode_internal::acknowledgeCreation(this);
}
}
}
So the problem I'm having is the compiler is throwing that 1000: Ambiguous reference error for any reference to instance.priority or instance.label
Why??? Instance is typed to IFlexLodeInstance, and IFlexLodeInstance lists method signatures of priority and label getters, and it inherits ILode, which lists method signatures for priority and label setters. What can I do to get the compiler to stop complaining?
View Replies !
View Related
Moveclips In BUTTONS: How To Make "UP" Clip Not Play Until Rolled Over
Hey guys, I really need some help I'm stumped!
I have made a button on the bottom of a flash banner that is going to be links for a webpage.
I have made movieclips and put those inside the button so when the user rolls over a link ("OVER" position)...a movie clip plays that makes a line come from the bottom of the rectangle link to the top. (so it is a tween that scrolls a black line from the bottom line of the rectangle link to the top line)
Then in the "UP" position, I put another movie clip that does exactly the opposite.. (moves the line from the top to the bottom). This is so the animation looks smooth.
My question and problem is when the flash first loads up...it plays the movie clip I have in the "UP" position.....it looks really stupid and I need to know how to make the button SKIP the "UP" position movieclip until the "OVER" position is activated.
ANY IDEAS ?? I know this is possible, I see it on almost every webpage I go to that has a flash banner.
PLEASE HELP! I appreciate all input and ideas! THANKS!
View Replies !
View Related
How To Make Flash Movie Play Once?
Hi, I'm new to Flash and have just learned to make some simple movies. I want to make an introductory movie for my website, nothing fancy - just some text and pictures popping up. My problem is they keep looping. I just want it to play once and then stop and stay still. Please show me how to do that.
If it helps for you to take a quick look at my website (it's still under construction) to see my looping movie - http://qtgallery.dynu.com:90
Thanks.
QT
View Replies !
View Related
Make The Website Play Flash Easier
we can always see websites play flash online, when I set up my own website, but I don't know flash very much
I want to put my video on it, in order to do this easily, I use Flash Video MX to convert my Video to Flash, (almost all types of video)with it I can replace the original audio with appropriate one, add video beginning and end, change the control bar styles, set text effect, not only these, I can also use it to gernerate a html page with embedded flash player of different style
with this powerful software, I can save a lot of time to make such website
View Replies !
View Related
How To Make Flash Play Only On First Load Of Page?
I have an aspx application with an embedded flash movie. I have items on the page that cause it to reload (postback). How do I make the movie play only on the first load of the page and not start over when the user clicks one of these items?
I was able to do it using -- if not page.ispostback -- but then the movie stops when the user clicks an item that reloads the page, instead of playing through.
Any help is appreciated.
View Replies !
View Related
Make End Of Video Play Another Part Of Flash?
I am trying to simply make frame 2 start only after the video finishes completely, which is on frame 1.
I made a cue point on the flv called 'ending' at the very end of the short video. In the .fla Actionscript I tell it to go to frame 2 when it reaches the 'ending' cue point.
Please help!
Here are the files
http://www.worldwideathlete.com/flashvideofiles.zip
View Replies !
View Related
How Do You Make A Flash Animation Play In Backward Using ActionScript Only?
Can it be done? For example, I have 10 frames and at the 10th frame I have a stop(); command and a button, in that button, I want an ActionScript command that plays the whole 10 frames in backward or reverse motion.
All i can think of is to copy the whole 10 frams and paste it to another layer and make the motion tween reverse. I want the .swf file to be small as much as possible. Can it be done? : )
Help me guys!
Thanks and cheers!
View Replies !
View Related
How Do You Make A Flash Animation Play In Backward Using ActionScript Only?
Can it be done? For example, I have 10 frames and at the 10th frame I have a stop(); command and a button, in that button, I want an ActionScript command that plays the whole 10 frames in backward or reverse motion.
All i can think of is to copy the whole 10 frams and paste it to another layer and make the motion tween reverse. I want the .swf file to be small as much as possible. Can it be done? : )
Help me guys!
Thanks and cheers!
View Replies !
View Related
How Do Ya Do Buttons To Play Ur Flash Mooovies
hey im a fair noober to flash mx 2004. i dun like a bit of a animation and i tried to do a play button like .click this button to play the movie. etc but with no success. btw i wanna graphic symbol as my play button so if any of u nice ppl on here cud help me , like to tell me how to do it an stuff, id be much obliged, thanks
View Replies !
View Related
[Flash 8] Buttons That Play External SWF
Hi y'all,
I'm working on a piece that has 8 external swf's that play when their corresponding button is clicked. each button instance is scripted in this fashion (with the obvious changes for file names):
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "bcr1";
container.loadMovie("VT/bcr1.swf");
} else if (_root.currMovie != "section1") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "bcr1";
container.play();
}
}
}
Clicking on any of the buttons initially plays its appropriate external swf. But if I click another button to launch a different swf, nothing happens. I am using the same container for each movie, so they should replace each other in that container. It just isn't happening. I'm at my wits end trying to resolve this. Any ideas?
View Replies !
View Related
Flash Pause Play Buttons How To
i have a video i am making in Mx2004 and im putting it in a browser via
<html>
<body>
<object width="550" height="400">
<param name="movie" value="j:A teamgate.swf">
<embed src="j:A teamgate.swf" width="550" height="400">
</embed>
</object>
</body>
</html>
and i dont care where or how the pause play button is IE Html or flash as long as it starts and stops my clip by friday. even if it is a program that does it for me, the reason i need it is because i need to narate the story and that would be hard to do without the ability to stop and start.
View Replies !
View Related
Add Skin And Buttons (play, Stop, Etc) To Play A Swf File
Hello Forum,
Is there a way to use a skin/buttons just like the FLVPlayer that will give the same control to a movie clip (aka SWF file)?
I have a few swf files that are movie clips - not video. I would like to be able to load the movie clip, and be able to start, stop, pause, mute audio just like the FLVPlayer component does, but for a swf file.
I would like to have a "component" with the buttons, etc and be able to load the movie clip using the loadMovie method, and play the movie clip. I have a clip that starts playing after I load it, but would like to load it, and have it stopped, and then play the clip using buttons, etc.
I do not want to add buttons to each of my swf files, but have one movie clip with buttons, and load a swf into it.
Any tips will help,
thanks,
eholz1
View Replies !
View Related
How To Make Psd. Into Flash Buttons
Hi there im new to flash i have a couple questions to see if anyone body can answer them for me. First is i want to flash up some stuff i cut up in fireworks and flash up the buttons, but i want to know how to import them from photoshop or fireworks into Flash MX 2004 and them import them back into Dreamweaver ?
View Replies !
View Related
How Do You Make Dynamic Buttons In Flash?
I am trying to create my first Flash website for my wife's cousin (she's a photographer).
I want to have navigation buttons that are dynamically created. For example I can use XML, PHP, etc to read folders from the server and it thus creates those choices under the menu button.
Example: Under her Gallery section button when I click it I want it to show me: Babies, Weddings, Portraits, etc as sub-buttons under this main button. The names of this are found from folder names on server. How would I do this?
Also say I want the buttons to do some special animation do I first create a template of a button in flash that behaves how I want it (fading in, stretchiing, etc) and then somehow my XML/PHP/etc can inherit these properities when its creating multiple buttons dynamically on the fly?
Thanks.
View Replies !
View Related
Challenge - Flash Buttons To Play Video In Embedded Player?
Easy Explainition getting a button to play a video on an embedded windows media player. I want the video player to stay in 1 spot always and have 12 different buttons be able to load 12 different streaming videos in the same Windows media player.
The Long Explainition:
Alright ive got a page I made with flash and what im trying to do is to get the flash buttons to play a stream video from the internet in a windows media player thats embedded into the page.
My guess is I need an xml playlist but im not sure that would work because I only want to videos to play when you click the image button.
right now I have a flash media player as an example at www.activetruth.com/parkour.html
What I did was delete the flash media player and then embedded a windows media player onto my dreamweaver page. I just dont know how to connect the to.
Please help cuz I have no idea.
View Replies !
View Related
How To Make Flash Buttons Trigger A Link
I need to make flash buttons which will trigger a html link. This is because the same button will be used lots of times, but where it leads to will be generated by a filemaker pro. Is this possible. I have tried getURL [javascript:this.href.replace()] (more of a guess than good javascript or actionscript really) but it didn't work. I haven't got any idea where to really start on this. Is it possible? Can anyone point me in the right direction?
Cheers in advance.
Ferg
View Replies !
View Related
How Do I Make Buttons Create Popups In Flash?
okay I know how to create a pop up window usually with the code:
<a href="#" onClick="MyWindow=window.open("'index.html','MyWin dow','toolbar=no,location=no,directories=no,status =no,menubar=no,scrollbars=no,resizable=no,width=60 0,height=500,left=240,top=100'); return false;">
But how do I do something like this in Flash? Create a popup window when I click a button?
View Replies !
View Related
How Do I Make Buttons Create Popups In Flash?
okay I know how to create a pop up window usually with the code:
<a href="#" onClick="MyWindow=window.open("'index.html','MyWin dow','toolbar=no,location=no,directories=no,status =no,menubar=no,scrollbars=no,resizable=no,width=60 0,height=500,left=240,top=100'); return false;">
But how do I do something like this in Flash? Create a popup window when I click a button?
View Replies !
View Related
How Do I Make Buttons Create Popups In Flash?
okay I know how to create a pop up window usually with the code:
<a href="#" onClick="MyWindow=window.open("'index.html','MyWin dow','toolbar=no,location=no,directories=no,status =no,menubar=no,scrollbars=no,resizable=no,width=60 0,height=500,left=240,top=100'); return false;">
But how do I do something like this in Flash? Create a popup window when I click a button?
View Replies !
View Related
How Do I Make Multiple Buttons In My Flash Animation?
I am new to flash, and I have no training in it whatsoever. I created a flash animation with flash CS3 for my photography website, and I want to link each of the images to different galleries on my site. When I created my first button it worked fine, but when I try to create actions to link more than one image as a button, keep getting an error that says "1021: Duplicate function definition." How do I make each image as a separate button?
I used the video of this tutorial as my guide to learn how to create a button:
http://www.adobe.com/designcenter/flash/articles/flacs3it_firstflash_pt1.html
Also, when I run the animation to test it, it loops, and I don't want it to loop. How do I stop it from looping?
Edited: 01/23/2008 at 01:29:20 PM by AkewataruAurora
View Replies !
View Related
How Do I Make Multiple Buttons In My Flash Animation?
I am new to flash, and I have no training in it whatsoever. I created a flash animation with flash CS3 for my photography website, and I want to link each of the images to different galleries on my site. When I created my first button it worked fine, but when I try to create actions to link more than one image as a button, keep getting an error that says "1021: Duplicate function definition." How do I make each image as a separate button?
I used the video of this tutorial as my guide to learn how to create a button:
http://www.adobe.com/designcenter/flash/articles/flacs3it_firstflash_pt1.html
I used the method shown in the tutorial I mentioned to create it (created a new layer for the button, selected the area of the image for the button,used modify -> convert to symbol
-> button, I edited it so it was an invisible button by moving it to the hit frame, gave the selected area an instance name of Hizumi_btn, inserted a new layer for actions and added the code I have attached to this post.
I assumed that I would just need to repeat this procedure for each of the other images in my animation, but when I did that I received the error.
I greatly appreciate any help you can give me.
Here is the code I used to create my first button.
Attach Code
Hizumi_btn.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("http://reflectionsphotographybyroxanne.com/galleries/DespairsRay_gallery_files/index.html"));
trace("I'm clicked");
}
Edited: 01/23/2008 at 01:27:14 PM by AkewataruAurora
View Replies !
View Related
Doing A Flash Presentation With Audio And Would Like Tips On Pause-play-stop Buttons
yeah im doing a project for Nokia and it requires about 3 mins of spoken audio in it..
anyhow its quite straight forward..some bar graphs..text and speak.
But i havent really done a project like this before exactly so i basically need it to work so that you are able to stop or pause the speak at any given moment..then be able to play(continue from where you stopped and left off) and be able to skip back or fwd thru-out the speak.
I think i will split up the 3 mins of speak into several smaller bits instead of having 1 great long wav on timeline..might be best????
But does anyone have any good tutorials..or open FLAS for me to see how this could best be done..
Id be very greatful!!
Cheers!
Chris
View Replies !
View Related
Help Tips Needed Please For Using Audio With Play-pause-stop&fwd Buttons In Flash
doing a flash presentation with audio and would like tips on pause-play-stop buttons
yeah im doing a project for Nokia and it requires about 3 mins of spoken audio in it..
anyhow its quite straight forward..some bar graphs..text and speak.
But i havent really done a project like this before exactly so i basically need it to work so that you are able to stop or pause the speak at any given moment..then be able to play(continue from where you stopped and left off) and be able to skip back or fwd thru-out the speak.
I think i will split up the 3 mins of speak into several smaller bits instead of having 1 great long wav on timeline..might be best????
But does anyone have any good tutorials..or open FLAS for me to see how this could best be done..
Id be very greatful!!
Cheers!
Chris
View Replies !
View Related
[F8] I Need To Know How To Make My Buttons On My Flash Site Pop Up A Closeable Window.
Hi all,
I have a template and in the template the Menu button opens up an animated wondow with an x to close the popup window. In the action script it says...
on (release) {
tellTarget ("/POP1") {
play();
}
}
POP is a movie clip i have that does the animation for the popup window, however i dont know to make the rest of the buttons open up different popup windows, if i type in POP2 it wont work and when i created another movie clip name TEST it does'nt work either. PLEASE help me
View Replies !
View Related
How To Make Buttons Trigger Flash Media Player?
Hey guys im building a movie page in flash and basicially what im doing is putting 12 different picture buttons up and I want it so each time you click a picture button it streams a different flv video into the media player.
Ive looked around and havent really found anything.
THanks for the Help
View Replies !
View Related
Creating A Simple Flash Movie With Poster Frame And Play/Pause Buttons
I have the .flv file and now I want to create a video player with play/pause buttons nad a poster frame.
I posted this over at the Adobe forums yesterday, but haven't had any response so I thought I would try here.
It's been over a year since I played with Flash last, and I have completely forgotten everything I learned.
I have a .flv file which I want to play on my website. It should display a poster frame when the page load, and not autoplay the movie. It should have the play button I made in photoshop sitting on top of the poster frame. When pressed, the movie should start playing and the button should be shifted for the pause button I made in PS (it should work just like the play/pause button in iTunes). When the movie has finished playing, it should jump back to the poster frame.
I have tried using the flvplayback component and also played around with just embedding the flv directly and inserting a play and pause button from the common library, but I can't seem to get it to work. With the flvplayback component I have managed most of it apart from using my own buttons and getting the poster frame to work (which apparently has to be done with Action script).
As I said, I know nearly nothing about this and it might just be a problem of me not knowing what terms to put into Google.
Any help/links appreciated.
View Replies !
View Related
Creating A Flash Game, Buttons Pressed = Play Movie Clip, Stuck On How To Start
Hello All, as it's Christmas time, the time of goodwill to all, I thought now would be the best opportunity to post this 'plea for help'. Don't worry I'm not asking you to create it for me I'm just looking for a 'heads up', or for (metaphorically speaking) someone to show me the door so I can walk through it.
Basically I need a wee bit of help on what I actually need, how I need to go about creating it, where I need to put it, and so forth.
Feel free to call me 'stupid' or 'moron' throughout this thread as I have accepted that in doing something like this is completely beyond my capabilities, but hey, if I get a step in the right direction I may just pull it off.
---------------------------------------------------
Right I'm basically trying to create a penalty shoot out game, where the gamer has the best of 20 penalties to score a goal.
What I planned to do goes a little something like this.
Game loads
Screen pops up, saying "blah blah blah welcome, instructions, blah blah blah"
"Please enter your name" (User enters name in a text field, this is stored)
"Please enter your team" (User enters team name in a text field, this is stored)
"Please choose difficulty" (dropdown list of either 1. Easy, 2. Medium, 3. Hard)
User then has to press 9, and the title screen goes away and the game starts.
Scoreboard at the top of the screen, a goal, a ball and a keeper on the game screen.
Scoreboard states how many penalties taken (starts at 0) and how many scored (starts at 0).
The user has the option of pressing 1,2,3,4,5 and 6 (this is where the football will go, e.g. 1 = bottom left, 2 = bottom middle, 6 = top right etc)
The user makes their choice and presses the button.
A random number is generated between 0 and 10. if difficulty is easy then any number between 1 and 9 is a goal, if difficulty is medium then any number between 1 and 7 is a goal, if difficutly is hard then any number between 1 and 5 is a goal.
Lets say the user pressed the number 4
if it is a goal then play movie clip goal4 and add 1 to the penalties taken and add 1 to score.
if it is a miss (e.g random number is 8,9 or 10) then play movie clip miss4 and add 1 to the penalties taken and 0 to the score.
Once the penalties taken = 20, then end the game.
THE END
---------------------------------------------------
Sorry if that's bored you to death, feel free to ignore it and get on with your lives whilst I wake up in a ditch somewhere on xmas day due to not being to create this simple game as I didn't know where to start etc, and spend the rest of my life on the street corners begging for money to feed my drug habit and gambling addiction.
In all seriousness though, have a merry christmas everyone and have an even better christmas if you actually help me out.
View Replies !
View Related
Need To Make Ticks Appear At Bottom And Stay After They Click Buttons, Flash Game.
The game is pretty simple, 5 buttons, when you click a button you get a point that is displayed as a tick at the bottom, once you click all 5 you get a row of ticks at the bottom. Once a button has been clicked and they get a tick, it can't be clicked again it becomes just the image of the button.
I have done all the ticks, buttons, etc, just need to know if there is a way, once they click a button and get a tick, how to get the tick/s to stay at the bottom until they click all. As you can imagine, they could click the buttons in any combination. So does anyone know how I can make it so the ticks appear in a row no matter what combination they click them in. Is there an action script?
Would really appreciate some advice please...
View Replies !
View Related
Make One MC Tell Another To Play
I have a movie clip called "inline_editing_movie" that lasts for 24 frames. On the 25th frame I would like to place an action that tells the clip to stop and play another movie clip named "new_interface_movie". This is the code I have but it never loads the new_interface_movie clip.
stop ();
new_interface_movie.gotoAndPlay();
View Replies !
View Related
How To Make Swf Play One Right After Another...
Ok, here's the deal:
I started making a rather large cartoon using Flash 5, and decided to break it up into smaller Flash files so that each could easily be exported as an swf. Then I wanted to make a main Flash program that called played all the swf files one right after the other. My problem is that I can't figure out how to make one play after the other is done playing without having a button. I don't want to use a button because it needs to all flow smoothly to make one big cartoon. Do I use the loadMovie function? If so, how? If not, what should I use. I tried the loadMovie function but can't seem to make each swf wait until the one before it is done playing before it starts.
Any help would be greatly appreciated!!
Thanx.
View Replies !
View Related
|