In JavaScript I know there is a way to write text onto the document when performing an onclick function. Is there a way to do this in ActionScript? I would like people to be able to click on quiz questions I made and have the answers (along with the word correct or incorrect) to write to the document.
I have this code: [ AS] {document.write("<embed name='midi' src="+mide+" loop='1' autostart='true' hidden='false' width='300' height='100'>")} [/AS]
I want to define a position for this object on the screen. How and where can I put a position? I have tried with document.left=400 or document.style.left=400.This is actually a part of a flash project.
I have two Flash files on a page. One is a side bar with links and the second one is an image gallery that gets an XML file specified via FlashVars. Now, the side bar is embedded like this:
I want to write a document class to be run within Flash on another computer. I would have the encrypted message in the code and when the class is run it returns the decrypted message.
I can see there're many 3rd party libraries around. However without assuming the other person has the same library installed, has flash got an encryption class (or similar) built in? Or I'll have to write the encryption myself?
I want to define a position for this object on the screen. How and where can I put a position? I have tried with document.left=400 or document.style.left=400, NO luck.
I have a text file at a remote URL which is populated by a javascript statement. The text file looks like this:
[Code]....
myFile.load("[URl]"); This loads in the txt file just fine, but it loads in everything. Is there a way for me to lose the "document.write(' 0 ');"and just send the "92" to the dynamic text box?
Can I set the style of another document from it's parent document? At the moment its giving me the error 1119: Access of possibly undefined property StyleManager through a reference with static type DesignCardForm.
light onto a little confusion I am having, I have a menu that already loads in images via an XML file on a menu, what I am trying to do is when an image/meni Item is click I would like to load in an swf into the same place as the image Item loads into! am I making any sense.on a click event, do I use in the XML file the <link>link to swf</link> ????this is what I have in my xml file that loads in the images so far;
Code: <image name="image 12" path="img/img12.jpg" title="Lorem ipsum 12"
I have swf movies that load in on a timeDelay on Click, but can't get to unload correclty when another click happens, I was directed to this adobe file:
[URL]
but never used before and don't really understand, would anyone beable to help implement to my onCLick script?? this is what I have on my onClick;
I have a 6 button menu system: when user clicks on a main menu link it will highlight red and light up a light right to the left of the link letting them know they have clicked successfully. After the initial click it will bring down a sub menu with links. However, after they release the mouse button, the little green indicator light goes off. I want that little green light to stay on until they move the mouse outside of the slide panel with the sublinks. how do I keep that light on until user moves mouse outside of the bounding area of the sub-panel with sub links? what code do I need to insert?SECOND:When I go to publish in html, my slide panel which contains the sublinks is chopped off. How do make it were the submenu goes over and on top of my webpage contents right below it instead of increasing the size of my table.
Here is a copy of my code. I will be posting an image in about 30 minutes or less: // ON CLICK EFFECT - The main menu's sub-menus will slide down once user clicks on a button.// The sub-menu will raise up and disapper once the user's mouse leaves the sub-panel area.
I would like to listen to onclick events in my java script code for a flash application.My intent is to automate Flash components and if i can hook on to events like onclick
I'm having a problem with the scripting for a movie i created in flash CS4. Below is the actionscript for the movie:
[Code]....
Currently what happens is that when the page loads, the movie automatically plays. What i'd like to happen is for the move to NOT play till it has been clicked. Then after it has played i'd like it to go to another page on the site.
I have a rotating menu that uses mousescroll and onClick functions to rotate around the menu, I have the onClick function working how I want it but I can't seem to get the MouseScroll to work the same as the onClick. this is how the menu looks [URL] if anyone would be able to I can post a link to files which would give a better idea of whats happening.
I'm looking for some help animating a vertical accordion menu to swoop out after swooping in. I hacked a crappy menu I found, made from AS 1.0/2.0(?), and I used AS 3.0 on the main timeline to make it slide into stage.The first tier buttons expand & collapse using some AS crap I don't understand, but I finally figured out how to get the second tier buttons to trigger collapse onClick.The thing is: I also want the second tier buttons to slide the entire menu back of stage onClick and I can't figure out how to do it!Do I need to add some AS function to the individual buttons or should I be putting some AS 3 into the main timeline?
what i am trying to do is add some script to buttons within a movie that will fade/tween the background movieclip to a predefined (not random) colour.does anyone know of any resource/posts/tuts to do this?so the user clicks a button and the main bg mc goes from say, yellow to orange with a faded transition?
i ve an animation of many symbols(mc). I want that when they all finish into a resultant graphic, i click a button on stage and the whole result moves to the right and another object appears
I could use some help on a bit of code for a shooter game I'm working on. I have enemy objects that appear on screen or move around on screen and I need help with code so that when you click on the object is disappears from the screen.
I have a simple movie consisting of 6 layers (photos). Each layer is set to display for 30 frames then fades into the next layer to give the impression of a slideshow. I have used a code snippet against the 1st layer so that if the mouse button is clicked it will go to a particular website.
function fl_ClickToGoToWebPage_6(event:MouseEvent):void { navigateToURL(new URLRequest("http:blahblah.com"), "_self"); }
This works fine, however, once the clip goes beyond layer 1, if you press the mouse button again, it still goes to the web site specified even though I do not want it too. I have tried to add a second code snippet so that if it is on the 2nd layer it goes to a different web page and so on, for each layer, wanting it to go to a different web page. If I have more than 1 code snippet, as soon as it gets to the frame the snippet is on, it fails, and if I only have the 1 snippet, it runs for the entire duration of the clip
i have 5 images i wish to use for the slideshow, but i have no idea what to insert in the actionscript so that once the page loaded, the image will change in the order like (1 to 2 to 3 ... ) every 10secs and when i click on the image it will also load the next image without waiting for that 10secs.and which frame do i insert the actionscript code?
Anyone know of a method whereby when i click on a movieclip on my stage i can create a bounding box which will allow me to click on any corner and re size the box manually......?
I have a mc that when clicked moves off screen, however when it starts to move, once the mouse cursor is off it, it moves back to its original position because my onOut event is to have it move back to the original position.
How do I avoid the onOver activating after the mc has been clicked?
(p.s. - I'm wanting the button to also lead into the next frame and to never be seen again).