This should be fairly straight forward with Actionscript.
Are you familiar with Actionscript?
Are you putting your images on different frames on the timeline? If so, then you would put code on each button that directs the playhead to go to that frame.
If you're using classic buttons (not v2...
I'm using a LocalConnection to communicate between a SWF file in a popUp window (actually several popUp windows created by using divs with styles = position:absolute and visibility:hidden when the popUps are not in use) and the main SWF file on the main page. The popUp contains some combo boxes...
Thanks so much. This was the data I was looking for. It appeared that the 'var' keyword was deprecated, but I just couldn't find the documentation to back it up.
Thanks for the feedback. I assumed as much.
I went to http://us2.php.net and searched high and low for the 'var' keyword to understand just exactly what it was supposed to mean, and I could NOT find any reference to this keyword other than in a few code snippets.
If you have a link to some...
I see the 'var' keyword used in some PHP class code before declaration of variables, but I can't find documentation anywhere on what this keyword is actually doing. Can anyone point me to documentation for this keyword?
Thanks
The Mousewheel doesn't seem to work in FireFox on a fairly complex SWF file I've created on a webpage. I have a v2 DataGrid in the SWF file as well as components I have created in which I have implemented mousewheel functionality. When the mouse is over the DataGrid, the mousewheel will not...
The simplest way is to put the actionscript 'stop()' command on the last frame of your movieclip.
Add a layer in your movieclip and call it Actions.
Open the actions panel under the 'windows' menu and in the last frame of your movieclip insert a keyframe on the Actions layer then type 'stop()'...
If you're using a TextField, you need to set up TextFormat variable in your receiving file to receive the color for the font...
var myFmt:TextFormat = new TextFormat();
myFmt.color = 0x000000; // = black font
then set the TextField format and background color
title_txt.setTextFormat(myFmt)...
If you can come up with a formula for the trajectory, then you can write a function that triggers on the onEnterFrame event and have the formula continually update the bullet's _x and _y properties until the bullet hits its target.
onEnterFrame = function(){
<your trajectory code here>
}...
Please check out the link I included in my last post. It will explain everything.
Here it is again.
http://www.adobe.com/designcenter/popular_topics/click_to_activate/
One last question.
How do I bold the text? If I issue a setTextFormat in actionscript with a bold TextFormat, the text disappears again. I assume I have to embed bold fonts, but I'm not sure how to do that.
Thanks.(-:
When you say the flash at the top gets in the way, I'm not sure what you mean. I was able to navigate through your site just fine, although the flash file did have the "click to activate" tooltip pop up along with the highlighted border. However, once you click on it, it disappears.
Why not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.