Flash 10 :: Creating Flash Ads That Can Be Clicked?
Aug 11, 2011Do I have to have some CS version to create Flash ads or can I use some sort of Actionscript compiler? I just want to create very basic Flash ads that can be clicked.
View 1 RepliesDo I have to have some CS version to create Flash ads or can I use some sort of Actionscript compiler? I just want to create very basic Flash ads that can be clicked.
View 1 RepliesI want to do is create a mindmap that zooms in on a branch when you click on it... (using actionscript, not motion tween). At the same time the red square of the overview menu (view example-files below) should also align with that branch... once you click on the overview menu, the whole thing should zoom out to its "up-state"...
View Mind Map "up-state" here.
View Mind Map "zoom-in" here.
View Overview Menu here.
it possible to create a button in flash that when clicked the flash interface extends to fit fullbrowser?
View 4 RepliesI am testing a FLASH animation ad that has links to a website.When I click on the links, it opens firefox but it doesn't go to the link!I have added the links and the file names in the Adobe Flash Settings Manager, restarted several times, restarted in Safe Mode and it still does not work!I cannot find any information on this. My coworker also tried it and it does not work for him on IE on Windows.HOWEVER, If I have SAFARI open it works fine, and If I drag and drop the .swf file into either browser and then click on the links it goes to the web page.
View 3 RepliesI do not have a good background in flash, I tend to avoid it as I look at actionscripting and think, Time.
Problem is, And I already have this already made too, A black bubble that when a button is clicked, A small black circle appears and expands, Fading away as it does so.
I already made that, And it works, But the bubble is only there for the time that I click the button. If I let go of the mouse button before the bubble has fully expanded, It stops expanding and cuts off.
How do I get the bubble (Which I have as a movie clip in library already) appear and stay appeared one the user has clicked and let go of the mouse button?
Some times when the URL is clicked it navigates to the videopage, but I am hearing audio but not seeing any video. Why might this be?
I am using the latest version of Flash Player 10. The SWF in question was created in Flash 9 (CS2).
var s1 = new SWFObject("flvplayer.swf","single","560","400","7");
Good day to everyone. I'm here today to seek help about Flash CS4 and ActionScript 3.0. The story starts when one day, my boss asked me to make a flash presentation about their upcoming user training for a newly developed software. I was enthusiastic and excited about it because it's been a long time that I did not use Flash (note that I don't have any experience in ActionScript 3.0). At first, everything was a bit rough as I need to recall how to properly use the frames to create a successful animation. As I was about to finish the project, my boss approached me again and asked if I could insert a menu page in front so that the users won't have to replay the whole thing again just to look for a little something on that part of the movie. So yea, at first I was abit hesitant to accept. I said that it will work with Powerpoint. But she's a total pusher and I was forced to say yes. Now I'm having this problem about how to make a flash button load a swf movie.I've tried searching all over the net for tutorials but most of the times the "getUrl" and other stuff are said to be outdated.
View 1 RepliesI am trying to create a flash banner add that utilizes the google maps flash api to display a store locator tool similar to this: [URL]
I have been given an extremely tight deadline and am basically clueless on how to get these technologies jiving;
Question 1: How do I add a filter to a movieclip from actionscript,More specificly, the "adjust color" filter, and I want to decrease brightness, saturation,hue, and contrast... by actionscript...If you dont know what I mean, use the circle tool to create a circle, convert to movie clip, click the "filter" tab, then click + and add a adjust color filter, you'll see what I mean...Question 2: I need to output text to 'text' documents, no I cannot use shared objects for this, as it is a program for a client, and it isn't safe enough for me.
Code:
var archive:Array = [];
archive[7] = "Hello I am the 8th archive";
[code].....
I want to add an OnRelease get URL to each thumbnail. The flash gets the URL from the XML file. How to link a URL to each thumbnail when clicked? This is an example that I've been following, but I also need to get the URL from the XML file and open it in a new window when the thumbnail is click: [URL]. Any ideas to adding actionscript or code to the existing flash and xml files?
View 5 RepliesI am making a game for the university I attend. I am having students choose between college and high school by two buttons to see if they choose the correct answer. Then I want it to display the number correct on a result page I will have them print out for the instructor of their freshman seminar class.Can flash remember if a specific button was clicked? I have each button with a unique name and could it tell which one was clicked to help me figure out results?
Otherwise, I was wondering if there was a way I could have flash keep track of "points" so I can display the number correct. Would it be possible if I gave each button a numeric value and somehow added up the numbers from each button to put over a total score of 12 (that's how many questions there are)? Could it be done in a dynamic text field?
what i want is that if we check on say product A then on product C in flash menu then when in product C page ,product A should be highlighted with different color
View 15 RepliesIn Flash, is there any event when the user clicks a hyperlink in a TextField?
View 4 RepliesI'm just getting off the ground as an AS3 programmer and I'm having a lot of trouble getting Flash to recognize my packages. My intention is to keep a code library of all my AS3 source data and have Flash simply go fetch classes from there.
I have set Flash's source path to the following to accommodate my library:
C:Documents and Settings<username>My DocumentsMy DropboxCodeAS3src
However, when I attempt to include a class into a .fla, Flash gives me an error that it can't find the AS class files in the .fla's folder at compile time. So it seems to not be detecting the AS class files in the source path I have set.
Within src, the folders are structured as follows:
srcsivyrmap<AS classes here>
In my AS files themselves, I have written the package and class declarations as follows:
Code:
package sivyr.map {
// Includes
include "flash.display.Sprite"
[code]....
And when I write an include to grab one of these classes, I write it as:
Code:
include "sivyr.map.Grid"
I am working through an audio player demonstration in the book "Foundation Actionscript 3.0". When I try to publish my AudioDemo_final.FLA file I get the following error, "Adobe Flash CS3 - Error creating flash movie file. Destination directory does not exist. Change your publish settings."The following is displayed in my output panel >> Error opening URL 'file:///C|/Sites/flashcoder.net/FAS3/Audio/AudioDemo%5Ffinal.swf'My file directory is set up like this:AudioDemo_final.flasong1.mp3com.fas3.smc (folder)Main.asSounds.as
I used the tutorial here: [URL] to achieve the above, which I did. Then I tried putting AS on the buttons I made to import external clips and they stopped working completely. I've tried putting the AS on the main time line as well as on the btn itself, I've even tried recoding the script from the tutorial. I've attached the file which should work to me. if the btn code is deleted from the main timeline the menu acts as it should but doesn't link any where.
View 1 Replies[URL]there are 5 links on the right side homepage, about us, our coffee, services, contacts my question is about the sliding effect when any of these 5 links are clicked. when any of these links are clicked whatever page content is currently visible, that content slides away to the right and then the content of the link that has been clicked slides from the left and this page content appears, how is this created.
i am guessing that the rectangular area where the content for all the 5 pages appears can be a containing movie clip, and when any of the 5 links are clicked on each of those links in the action script code for on release code will be written to display the appropriate page however how can i get that sliding effect of pushing the existing content away to the right and display the links content which would slide from the left, how to go about doing this i am guessing it would be an action script code.
I've set up a function to pause the sound in an mp3 player whenever certain things are clicked on the page, using ExternalInterface, but I'm having a problem in IE.The setup is this: I have a video page that calls up a list of YouTube videos using RSS.he most recent video is displayed on the page in a div called "display". Then all the rest of the videos in the feed are displayed as thumbnails and links...If you click one of them, then the main 'display' video is replaced and it starts playing. All of that works fine.hat I want is for the mp3 player on the page to pause the music whenever a video is started.The ExternalInterface function works properly. Whenever one of the LINKS is clicked, the mp3 player stops and the video starts, etc.
The problem is that I also want it to stop when the MAIN video is clicked. Obviously, since this is an external video loaded from YouTube, I can't access the FLA to add its own ExternalAccess code.I've tried adding an ID to the video object and then using it as the selector in jQuery to call the stopMovie function...no go. I've tried adding a class to it, and then calling the stopMovie function when the class is clicked. I've tried putting the click function on the div that the video loads into...nothing works. If I remove the main video and just have an empty div, then click the div, the mp3 player stops...but if I load the video into the div and click it, nothing happens (in IE...it DOES work in FF).The Actionscript:
import flash.external.ExternalInterface;
ExternalInterface.addCallback("stopMovie", pauseSound);
function pauseSound(str:String):void {
[code].....
Environment:
Windows 7,
Internet Explorer 8,
Flash ActiveX 10.1.53.64,
wmode=transparent
Just wrote a small test page that you can load in IE and Firefox or any other Browser.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
[Code].....
So clicking any colored shape should produce an alert (except for the green one in IE, not sure why but I hope that's off topic and not related to my issue).
Clicking the Flash container in Firefox will work Perfectly fine. You should get alert boxes in this order containing: span, div and body. Flash bubbles the event to the HTML. But this is not happening in IE.
So why is Flash in IE not bubbling events to HTML?
Edit: As mentioned by Andy E this behavior can also bee seen in Google Chrome which to my knowledge is not using ActiveX to embed the flash movie into the page.
i have mc with 10 objects instead of writting code for each i want same action prefermed on every clicked object with 1 code is there way to do it?
View 2 RepliesMy document class is Main.as (it extends MovieClip). The following code is in my Main.as.I've declared all these variables in my class definition:
private var holder:MovieClip;
private var leftButton:SimpleButton;
private var rightButton:SimpleButton;
[code]....
Sorry if this is a little n00b-ish. I'm working in AS3. I've got an array of 8 buttons. I'm currently hiding the button that is clicked using e.currentTarget. How can I tell flash to make all the buttons that aren't the currentTarget to become visible (i.e. if a button has been hidden by previously being clicked, how do I tell it to become visible again when another button is clicked?)
[Code]....
I have a flash shooter game and after a user shoots a bottle, i play the destroy animation and remove it from the screen. The problem is when the user click too fast, like superman fast it enters on the method twice, no matter what.
Here is the code:
public function bottleHasClicked(bottle : BottleBase) : void {
bottle.mouseEnabled = false;
collectedBottles++;
[Code]....
The first thing i do is to disable the object mouse, and it still happens. I only enable it when im gonna show the bottles again.
I want to make a clicked function that recognized the item being click
Here is my try, but It didn't work:
package {
import flash.display.MovieClip;
import flash.events.MouseEvent;
public class main extends MovieClip {
[Code]....
I understand that I should set 2 things inside the ClickedF of addEventListener but I really don't know how to do it T_T
inside a MouseEvent.CLICK function, I usually used e.target to address the movieClip that I clicked, but that only work with a movieClip that doesn't have any children (such as text and other symbols) inside. When it has children inside, the e.target return the child inside the Mc but not the Mc itself. The e.currentTarget didn't work, either; it returned [object MovieClip] but not the instance name of the Mc.
View 3 RepliesThis is really confusing (the title of this thread probably doesn't make any sense at this point), and I'm not actually quite sure what I'm trying to do is possible, but I figured I'd throw it out there.
Basically, I have created a speaker-looking button (speakerON_btn) that plays the audio in Flash. It works fine -- starts automatically and stops when it's at the end or when somebody clicks on it.
Then, I put this Flash file into an HTML... works good. However, on this HTML page, I also have a PDF link (that links to what the audio is discussing). I have been asked to stop the audio when the user clicks on the PDF to open it. I don't want the PDF to open in the same window, so I can't use that as a method to stop the audio.
Is there any ActionScript I can add to the Audio Flash file that will tell it to stop when a user clicks on a link outside of Flash?
Also, if the above is impossible, would it be possible to add ActionScript to stop the audio if I were to build the entire HTML page as a Flash file? If that's a possibility, what ActionScript would need to be added to the my speakerON_btn?
I am trying to make my buttons do this (<-- Link). What I can't figure out is how to make the button stay red after the user clicks it and then go back to white when the user click on another button. Here is my file (<-- Link) so far. and here is my Code:
[Code]....
I am making a site with a scrolling photo gallery. The site is located at [URL]I have a scrolling thumbnail gallery that is perfect for me. I am happy with it with one exception. I used the loadmovie function to make it and for some reason it takes a long time on slower internet for the movie to initially load. What i would like to do is have the movie open up fairly fast and the individual pictures can load once they are clicked. I want to use xml however i don't know how to do it.
I would like to keep the same setup on my photo page but i want to use xml because i think it would be better on loading. I am interested in this type of gallery. [URL] I found this online and put it on my server. I love this gallery I just want these effects and xml layout in my gallery. I dont even have to have the cool fade effects i just need the site to load faster and the pictures to load individually.
Am working on a website and just doing the final tests and evrything works apart from in internet explorer 7 when i click on the hyperlink( flash button) it says it can't find the url, which doen't make any sense as it works fine using mozilla.
View 1 Repliesending a piece only when all the buttons are clicked.
Code:
stop ();
nature.addEventListener(MouseEvent.CLICK, buttonClick);
function buttonClick(event:MouseEvent):void{
gotoAndPlay("label 1");
}
[code]....