ActionScript 1/2 :: Detect And Display Message?
Dec 30, 2009How do I make my flash website detect if someone tries to view my website using an iphone?My need is to display a message for iphone users.
View 1 RepliesHow do I make my flash website detect if someone tries to view my website using an iphone?My need is to display a message for iphone users.
View 1 Replies"The SSL Certificate is not trusted." dialog occurs in Adobe AIR application. How can I detect this situation before it happens? (Actually I want my app to bypass the warning...) check the following code:
[Code]...
I am fairly new to FMS and really am trying to learn about it. My question is simple I hope;
I would like a message to pop up to a client when they connect that the max users has been reached. I have it set for 5 users and so I would like when the 6th user tries to connect to watch the video, a little box will pop up and say "Sorry, Max users has been reached. Please try again in a few minutes."
I was able to develop something and get it output through trace commands by following a tutorial I saw online, but I could never get any sort of message box I built to pop up.
Having a problem with SWFObject reporting the correct error message for users running OSX 10.5 and below. (Currently getting the "Unsupported Operating System" swf loaded with links for the user to update there flash player) The problem with this is proceeding to the default links provided causes conflict with OSX 10.5 and below since Adobe directs them to update to Flash 11. Which will not work on that os! So what I'm trying to figure out is, IF I can detect OSX 10.5 and below with SWFobject and direct them to a 'noflash' method (ie: if you would have no flash installed to begin with).
View 1 Replieshow to display the message properly, and I am not sure if it is my for loop that is running into problems or the way I set up my message. Here is the code:
ActionScript Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
[code]...
What I try to accomplish here is to have it display the "combination of the options correctly." For example, if I select 1,2 and red, I would like the output to give me
1 Red
2 Red
and not red 1 2.
i need to display a message with some design(i.e) a movieclip on press of the fullscreen mode btn.I have created a full scren mode for a button event.. now i need to attach a movieclip with some message on press of the btn fullscreen mode event..is it possible to do? or is there any other way for my problem
View 1 RepliesI'm trying to display a message on my web pages home page to notify all viewers on some info, I need it to open automatically when the page is accessed then disapper or fade automatically.I'm trying to avoid making this a pop up because most people deativate thier pop ups.
View 1 RepliesHow do I make my flash website detect if someone tries to view my website using an iphone? My need is to display a message for iphone users.
View 1 Replieshow would I display a buffering animation whilst a netsream object was downloading video data?
View 0 RepliesApple is obviously rejecting Flash to protect it's 'App' revenue. I've been on Android phones that run Flash and display all my content perfectly smooth. It can be quite frustrating how they are trying to bury it when I still have yet to see HTML5 replicate the type of interactive content Flash is capable of producing. Is there any way to display a message on the iPad when the Flash player is not found? I'd like it to says something along the lines of: "Unfortunately the Apple iPad does not support the Flash player because their business interests do not want it taking away from their App revenue. Did you know that the Dell Streak, HTC Flyer, Blackberry Playbook, Motorola Xoom, Samsung Galaxy Tab, Toshiba Thrive, and HP Touchpad all support the Flash player?"
[Code].....
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.
I am developing a static flex application which does not have a database connection, all the values are hardcoded(its just a prototype for the original app). Now when I click the save button, i need to get a message like saving in progress... please wait, I need to display this message for 3 seconds.
View 3 Replieshow in Flex can I display a message within a Spark List component that states that the List is empty. For example if I have a List showing number of jobs outstanding, if my List is empty then I want a message displayed across the List stating "there are no jobs to perform".
I'd rather not use an Item Renderer because then it's an Item (the list is not empty) and the item can be selected.
I have a message and its visible property is false how can i make it so it becomes true when the user types anything but a number. So there input textfield and a send button if the user types hello when they click send i want the message to become true. How would you do it? restrict?
View 2 RepliesHow do I get Flash to display an echo message that comes from a php file?
View 2 RepliesI can load HTML inside AS3. My problem is to have a way to display an error message if the path is incorrect and does not exist.
Here is my code:
var path:String = "http://www.eyerix.net/pt/w/teste";
// this will load the HTML page
function textLoadComplete(event:Event):void
[Code]....
I'm creating an exercise where I have five movieclips that at first their alpha are at 0% and then they are shown randomly and I want to verify if they are all visible (100%) a text message (a dynamic text field) will be displayed. What I want you to explain me is how do I do this verification. Do I need to do this with an IF condition?
View 4 RepliesHow to show success message in frontend....when a record is inserted in backend.
View 2 RepliesI have 12 display monitors installed in different floors in a building. These monitors display announcements that will be update once in a day. I'm retrieving these announcements from db and storing in an array and displaying it all day long. In addition to this, I have a requirement to display emergency alert messages on the monitors. My Server is a windows 2000 server. I'm using asp for creating the JSON object.
For the emergency alert I am thinking of doing this:
Create a page in asp that lets user to enter emergency msg and save to db.
Create a page in asp that will check if there an emergency msg in db and show it in a asp page in json.
Create a timer that pings this json page every 1 second. If it's available then show it.
Is there any other sophisticated method available to poll the server or to send messages from server to client?
I am using Flash CS4 and the new 3d tool, so need to publish my SWF for Flash player 10.The problem I am having is that when I view the SWF on machines with Flash player 9 it obviously doesn't work. It would be nice if only the 3d didn't work, but none of the actionscript works, so my files loops ad infinitum.I'm sure many people have had this problem (and it seems to me a bit of a lack of foresight from Adobe).I have found some JS code to detect whether the user has flash or not and then display flash or an image, but I would like to detect if they have flash and which version it is, and then display either an image (if no flash) or a Flash 9 SWF or a Flash 10 SWF.
View 2 Replieswhat would be a good solution to the following scenario: a page is supposed to have a few flash buttons in it. we want to check if the user's browser supports flash (a given version i suppose) and if not - display gifs or jpgs instead.
View 1 RepliesI want to make a thing to detect and display what flash player someone is is using.
^^ i want to make something like that.
if anyone knows any sort of tutorial on how to make one of these, that would be great too.
It goes like this, we need to detect if the display is a Projector (or if the system is connected to a Projetor).the catch is this should be done from within the browser.so is it possible to do so by using anFlashActiveX (this does constrains to a single browser, so not an option)searching so far only reaveals display resolution. expecting if there is something still out there.
View 2 RepliesCan I detect the color of a pixel or an area in a Display Object?
View 2 RepliesIs there a way to detect when the user right-clicks to display the context menu?
View 6 RepliesI would like to display a message in flash "we are open" or "we are closed" based upon time. Naturally I can do this for the users local time on their system, but is it possible to work out if their time is different to UK time (GMT) and display those messages accordingly. Afterall I don't want a user to see a message "we are open" at 1pm their time - they could be in Japan and it'd be about 4am UK time.Is this possible to work out the time difference on any system?
View 1 RepliesWhy doesnt my Array work? I get this message:
"Scene 1, Layer 'Actions', Frame 1, Line 83 1067: Implicit coercion of a value of type Array to an unrelated type flash.display:MovieClip."
PHP Code:
var boxArray:Array= new Array();boxArray.push(WallLeft);boxArray.push(WallLeft2);
PHP Code:[code]...
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]...
When using Loader class to load display objects (bitmaps, SWFs...) from remote URLs, is there any way for them to be instantiated (referenced as we know, by Loader::content property) as some user specified valid subclass? For example if I had a class that extended a Bitmap, is there any way for the loaded object to be of this class?
View 9 RepliesI am a complete rookie in ActionScript2.0/Flash.I just started learning regarding a project. My problem is I want to display data from MySQL in a DropDown Menu in Flash. the SendAndRecieve functionality only aids us to receive any responses,right?(Please correct me If I am Wrong.
View 2 Replies