ActionScript 1/2 :: Get The Message To Show Up Or Url Working?
Feb 18, 2011
Im trying to make an interactive map. I have 32 cities in a metro area, and i want to have it bring up a message when you roll over it saying "this is the city click for more information". I also want to have it so when click it itll take you to a url for the web page that has the information.
But i cant figure out the how to make the buttons to work correctly or how to get the message to show up or how to get the url working. I've got the buttons down and i have the code down to click and go to url but it not working and i cant figure out how to get the message to show up only when you have the mouse over it.
View 3 Replies
Similar Posts:
Mar 6, 2010
How can I show an confirmation message in Actionscript 3 ? I use Adobe Flex 3 and as3 for Air application
View 2 Replies
Sep 14, 2010
Is their a built-in way to show a message box in adobe air.I'm using air with the Flash IDE BTW.
View 1 Replies
Apr 14, 2011
I have a simple button in flash where I have given action script
on (release) {
alert("Welcome!");
}
to show an alert message just like javascript.But it is not showing anything.Can any one tell me how to show an alert message in flash cs3?
View 3 Replies
Jul 5, 2009
I have movie clip with instance name box in my stage. I have coded on such way. When I double click on stage it does not show any message. But if i change event DOUBLE_CLICK into CLICK.
[Code]...
View 1 Replies
Aug 26, 2009
I'm trying to make a ticker that should show my message as a "typewriter". But it behaves very strange... see attached swf. I have never worked with Flash/actionscript before, so it might be something very simple
This is my code:
var n:Number=0;
var txt:String = "testing ticker";
var len:Number = txt.length;
function tick(){
if(n<len){
txt_bussgods.appendText(txt.charAt(n)); n++;
setTimeout(tick, 1000);
}else{
stop();
}}tick();
View 6 Replies
Aug 26, 2009
I've been using CS4 to create flash 10 applications. It works well in other browsers, but IE 6 will not tell the users that they need to update their Flash Player. Instead, it will play the flash as if it's a video (keep looping from frame 1 to end) without allowing any interaction..
View 1 Replies
May 14, 2010
so apparently with the new update in IE8, it starts up with NO add-ons. Since I cannot program a code to turn on add-ons in a browser, I need to show a message when this occurs. Much like an image has alternative text in the event the image doesn't load...how can I add a message that states:
You are using Internet Explorer 8+ and need to turn on your add-ins like FLASH Player. This site is optimized for Mozilla Firefox or Google Chrome.
View 1 Replies
Mar 1, 2012
I'm working on a project for a User Interface Design class, so the emphasis is on the UI being as nice to use and non-annoying as possible. I would like to display a message to the user after they've clicked save, for example, without requiring them to click an OK button. I'm thinking of the kind of thing you see in gmail if you send a message or do some other actions, where a message appears on the screen, but the message disappears after you do something else.
I'm sure there's a way to do this in Flex (I'm using 4.6), but I just don't know what it is. I'm pretty new to Flex and I'm having trouble finding anything via Google, because the results keep showing confirmations messages in Alerts; I don't know the search terms to get the results I'm looking for.
View 1 Replies
Oct 8, 2010
I have a data grid where users can drag columns and reposition them. But there is a strange requirement that some columns should not be draged to the left of some other column. eg, assume the columns are: name, price , start date, end date, The end date should not be dragged and placed before the start date. i.e. The user can have start date, price , name , end date. name, start date, price , end date. But at no point can end date appear before start date. Is there a way to do this flex? Is there a way to know where the user is trying to drop the column and show error message ?
View 2 Replies
Apr 13, 2011
I have a flash movie, that shows a message to a user when it first loads up. When the users mouse enters the stage or moves the mouse the message disappears. However I would like to hide the message if the users mouse starts over the flash movie on the page load. Is this possible or does it need an interaction first?
View 1 Replies
Apr 20, 2011
How to show success message in frontend....when a record is inserted in backend.
View 2 Replies
Apr 1, 2012
I have a colleague who will be using Adobe Flex and adobe flash builder to design the application. The final application will be in that software. I am creating the database features and testing them using online browsers.What I want to know is that some alerts I am getting a 'prevent this message from multiple dialogues' message on the alert but this is because of the browsers. But if the application is on flex and flash builder (I don't know which one is where the app is stored coz I have never used it) then will that message appear on some alerts in that software or is it only on browsers?[code]
View 2 Replies
Dec 15, 2011
In the main class (DocumentClass) I have the following code to set up the preloader:[code]Although I am not getting any error messages, I have a strange issue going on where the first frame stays blank until the last second then flashes the preloader before going on to play the game.If you change the code "loadingPercent.setValue" to just "trace" you will notice that the game isn't even keeping track of the first 90% of the loading going on.
View 2 Replies
Nov 21, 2011
After pressing enter within a message box, the message.text ="" does not remove the enter char from the message box.
Message.addEventListener(KeyboardEvent.KEY_DOWN,handler);
function handler(event:KeyboardEvent)
{[code]......
View 1 Replies
Sep 1, 2009
I've got two preloaders that I've made from the same template, but I can't get the progress to show. It simply shows a quick glimpse of the finished image and then goes to frame two.
View 2 Replies
Mar 3, 2010
I am trying to make an interactive presentation, where you can push down on different keys and show different layers in my image. [URL]. If you open this .swf and press the "Q,W,E,R,T" keys you can see what I mean. It was working fine with the layers associated with the "Q W E" keys, but once I started adding more, I cannot press and reveal more than 3 layers at once (try pressing different combinations of three keys at once and you should see that not all of the layers appear, but each key works individually).
Here is my AS3:
Code:
import caurina.transitions.*;
mc_aerial.alpha = 0;
mc_01.alpha = 0;
mc_02.alpha = 0;
mc_03.alpha = 0;
mc_04.alpha = 0;
stage.addEventListener(KeyboardEvent.KEY_DOWN, mc_aerial_KeyDown);
function mc_aerial_KeyDown (e:KeyboardEvent):void{
[Code] .....
View 2 Replies
Jun 23, 2009
I'm having problems with a simple flash site that contains a scrolling slide show, that uses a .xml file.I was sent a .fla file that I couldn't open with MX 2004 ... I asked them to save it as a MX 2004 file. They sent it back, and I was able to open it.The problem is ... when I save it as a .swf the slide show doesn't work.The .swf & .xml files are on the same level in the directory, and the .swf path to the .xml file is correct, also the .xml to the image folder path is correct.I have spent hours going through this, and can't get it to work.I have added images to the .xml file, and they show up (I am using the original .swf) so the .xml file is OK, and again the path from .xml to the images folder is correct. This is the working .swf file (click on the portfolio link )Now ... imagine no images there, and that's what I'm getting when I save the .fla as a .swf.Other changes I make to the .fla are working properly ... just the slideshow is the problem.Did something happen when the .fla was saved as a MX 2004 that caused the .xml part to stop working?IM not a whiz at actionscript, but I have gone over it several times, and can't see anything that looks out of place.
//http://www.kirupa.com/developer/mx2004/thumbnails.htm
function loadXML(loaded) {
if (loaded) {
[code].....
View 0 Replies
Dec 29, 2009
I really hate when you read a tutorial from some "expert" and what it tells you to do is wrong. I was doing a tutorial for a XML slide show, and the last line of code doesn't work quite right:
[Code]....
For some reason that only sends the my_playback_counter to 1. And it just sits there twitching. So when I tried to change the tutorial code to:
[Code]....
View 3 Replies
Jun 30, 2010
i created a slide show with buttons, when i test it in flash it works correctly but when i put it in a html page, it does not redirect you to the page when you click on it.
View 2 Replies
Nov 4, 2011
I'm developing a new website one with a dynamic slideshow which can be found here. [URL] The problem is, after weeks of it working it all of a sudden now has issues loading the xml data into the swf. The swf loads but nothing displays in it, this worked and I changed nothing but updated the graphics which would display in it. If you hit refresh an untold number of times eventually it loads. To me this sounds like a server issue, but I'm not sure.
I've tried updating my flash player, updated the swfobject.js to the latest one I could find. I've made all my .js local on the server instead of calling externally to a source. I'm not sure what the problem might be. I've attached a working and not working example graphic to this post. I've tested this out on 7 different PC's both of which running either Windows 7 or Windows XP. Out of 7, 4 of them load the slideshow properly each and every time. 3 of them however loads it, but will randomly get the issue where it doesn't load properly.
View 3 Replies
Dec 3, 2009
I would like my dynamic text box to display the roots current frame. I have triedthis with no luck
frameNumberText_txt.text = currentFrame;
Im pretty sure the problem is because the text field needs a string value..
View 3 Replies
Mar 2, 2011
I have a simple catching game with objects falling from the top of the screen and when they are caught at the bottom I want a movieclip to appear with +5 to show the point scoring. I have set up a timer to show the mc then to delete it when it finishes. It all works apart from the mc will not disappear once the timer is finished. I have thrown a trace statement in to check that it is firing and that shows up fine. What the hell am I doing wrong? Here is the section of code:
[Code]...
View 2 Replies
Feb 11, 2010
I'm trying to make a slide-show that adjusts to the width or height of the stage, and eventually, of the web browser window. I was able to load and resize a picture by writing code on the timeline, but I got the Error #1009 (Cannot access a property or method of a null object reference) when I put this slide show into another movie clip loader (which chooses between different swf pages of the website, with the purpose of keeping the swf file sizes down). By the way, my "slide-show" loads the picture fine. When I use the movie clip loader to load this "slide-show" it works too. Only when I use the Flash Player to open it, it gives me the Error 1009. I looked around on actionscript.org, and everyone seems to be recommending the folowing code (or something like it):[code]
I also ran into some information about document classes and I figure maybe I should be using document classes to make this stuff more modular and reusable. So I put my slide-show code into an .as file, importing all the flash.xxx.* classes, and put it in a package and class and constructor function... in the same directory as my swf file, and set it as the document class to a blank fla file. Then I tested it and all I got was a blank swf. This is without the Event.ADDED_TO_STAGE code. I guess I don't know how to get the document class thingy working either. So my question is, can someone tell me how I can change my slide-show code into a working document class without the Error 1009?r?[code]
View 1 Replies
Mar 15, 2012
i am new to flash (yet i have been using it for years) by that i mean, i struggle with it a lot. i was hoping someone could help me with the "incompatible override" error message and the "duplicate function definition" message.
[Code]...
View 3 Replies
Jan 23, 2012
In my flex datagird i have a checkbox and a datgrid with seven columns. im populating values in first five column(remaining two column no values) of datgrid by an Arraycollection. now,By clicking the checkbox i want to show all seven column values and if i uncheck five columns has to show... how its possible?? heres my code
[Code]...
View 1 Replies
Mar 9, 2004
I'm fairly new to ActionScript and was wondering if anyone had an idea how this effect was done:[URL]..Click on a show date and the link zooms up and fills the screen giving show info. Then when you click the back button it shrinks back to where it was on the calendar.
View 3 Replies
Aug 26, 2010
how I embed a html5 video player only if there's flash in the browser? If there is flash in the browser I want to use it instead.
View 2 Replies
Jun 10, 2011
In my asp.net application,I want to show the .ppt file using the slide show manner.
That's to say,user can upload .ppt file to my server side,then other people can browser these ppts in the page ..
Since I have googled "embed powerpoint in web page" ,it seems that there is not a good idea to implement this and support the cross browser,so I thought the flash.
This is a slide show using the flash: [URL]
What I want is show the contents of the .ppt in this manner(it would be better if it support the animations in the ppt)?
View 1 Replies
Apr 27, 2006
I have one MC that he has an gray color, when I compel it, it is gray, everything is fine so far. I had to create one param in the HTML pra to be able to change at any time of the MC color ex:"meuFlash.swf?&cf1=ff3300>...", any time that I change this MC color , my MC change too. I create this. [AS]new Color (fundo_mc.fundos_mc).setRGB (parseInt (cf1, 16));[/AS] My problem is the following one, when I speak in the HTML that I do not want to use this color "ff3300", I only want to use "meuFlash.swf?...", mine MC are all black, it are not of the gray color that I already had left, I do not know because it is all black.
View 2 Replies