ActionScript 2.0 :: Check Visitor's Screen Colors (32/16) With It?
Aug 5, 2005Is there any way to check visitor's screen colors (32/16) with AS or JavaScript?
View 5 RepliesIs there any way to check visitor's screen colors (32/16) with AS or JavaScript?
View 5 RepliesHow do I check if a control/DisplayObject is on screen? This means it is displayed on screen so no scrolling needs to be done.Example: I have several controls on a form. The size of the form exceeds the screen length/width. As a result I need scrollbars. How do I check if a control is on screen?
View 1 RepliesI want to know how can I check if an object entered the screen .
View 1 RepliesI wonder what kind of class(es) I should use to accomplish this task. I have two predefined colors, 0xFF0000 and 0x00FF00 (red and green), and I would like to set a number of gradiants of colors between these two colors. [code]This generates a random color, but I don't want to generate just any random one. Does anyone know what kind of color class I should use to accomplish my task objective?
View 5 RepliesIs it possible to make a visitor hits counter using just AS2 ?
Or what is the other way to do this ?
The site is totally in flash only.
I have a html link that display the city of the person viewing the site. How can I display that information into a swf dynamic text field, using that html link?
So far I got this script half working because it display the information in the output window. How can I get it to display it on a dynamic text field?
var lv:LoadVars = new LoadVars();
lv.onLoad = function(success:Boolean) {
if (success)
[Code]...
I want to record to a XML document everytime a user loads a .swf. Simply just increase the number in the XML document by 1. The issue tho is i'm limited to the server side scripting thats available. No asp, no php, only JSP. Client side scripting(javascript,etc) would be perfectly acceptable as well.Is actionscript capable of writing to a xml file and producing the results i'm aiming for?
View 9 Replieshow to make visitor can't save/download the swf while they save page the web? i keep searching and is using swf object can prevent from downloading?
View 5 RepliesInstead of installing flash I would like my visitors to be redirected to a html version of my page if they have no flash detected.
View 2 RepliesI am new to CS5 and i'm wondering how to make a flash banner play only once for the visitor. My home page has a search engine and every time the search the result will display with the banner playing again. this is the same for navigating through pages. I want the banner to stay on the last frame. its not looping, its just replaying everytime i navigate.
View 1 RepliesI'm currently working on a portfolio-website in Flash CS5. Everything is good so far,but my only problem is the image gallary. My idea is that when the visitor moves the mouse over one of the images, a hover effect will activate - which is does. The only problem now is that I can't get the images to show in a big format when you click on each of them, for a better view of the image.[URL]..
View 28 RepliesHow do I make it so a visitor to a Flash site can change the background, maybe from entering color codes or selecting colored buttons? I mean the entire background of the screen, the one defined in the <body> tag.
View 2 RepliesI need to remove any ability for the visitor to rewind the video, I need a button that will only come up at the end of the video that will be a link to another page.Is this something I would build from scratch? Does anyone know of a way I can satisfy these requirements with an existing player?
View 3 RepliesCould anyone get me to a tutorial that will show me how to detect if a visitor has Flash when they visit your site?
View 6 RepliesI have an intro in flash to go to an html/css site. What I have right now is when the image is clicked on it jumps to a scene and plays the animation and that's it. What I don't know is the scripting afterward. I need to know what the script is to allow it automatically forward the visitor to the html site after the animation plays. The intro page is on its own page.Right now my code is on frame 1 and this is it:
Code:
stop();
import flash.events.MouseEvent;
[code]......
I am trying to build an online teach tool that shows a presentation/slideshow. It needs to have the ability to track and make sure users are staying through the whole process. The client used this example to show me what they were looking for visually:[URL] Now, I let them know that with a flash video, there would really be no way to do any sort of tracking. What I envision is creating a multi page slideshow which has you click next for the next page. This "next" button would use some sort of javascript to enable the next button after a specified amount of time. A person would be logged in during this, so every-time the person moves on to next slide, I would track their process in the database. My question is, is there any better ways to do this tracking. Also, doing simple animations like cursor movements etc, can really only be accomplished well by using flash I assume? They mentioned using voice over etc.
View 1 RepliesIs there any way I can fade in/fade out a custom cursor when a visitor rolls into/out of an active area?
View 2 RepliesSee [URL] Now there is a button called Answera, which when clicked should have a symbol (movie clip) called Check appear at the cordinated specified. Check exists in the libary (but does not have an instance name) and no where else on the stage. when I run this code I get: 1180: Call to a possibly undefined method Check. -> var rightCheck = new Check(); How is it undefinded if it exists in the libary?
View 7 RepliesThe following is my codes. This is still work in progress; so, you will see some functions with empty contents. Plus, this is my first Flex application; please bear with me. This is a quiz application that gets the questions and answers to each questions from a ColdFusion web service. There are three types of questions, True or False, Multiple Choice with single selection, and Multiple Choice with multiple selections. So, based upon the question type, the application would dynamically generate the appropriate amount of radio buttons or check boxes for the users to select. I got these working. The problem that I am having is, I am not sure how to check what the users have actually selected. In some other forums and posts on other web site, it said that I can use event.currentTarget.selectedValue to get the user selection. But when I actually do it, I got a run-time error saying, "Property selectedValue not found on mx.controls.FormItem and there is no default value." My question is, what do I need to do to capture the user selections?
[Code]...
Flash is not in my toolset, but I am an old Director jock and have spent some hours dipping my head into the Flash manual. I suppose that makes me a promising beginner-level poster. I'm working in CS5.
I need to make a simple Flash-based sound player for a website for a newly-released novel (http://www.bearriverbooks.com/index.html). I want the user to click on what appears to be an icon (or image), which kicks open a simple controller and starts playing a sound file (a radio interview, which I will probably export using Flash's voice compression). Nothing fancy. Just want the visitor to hear the sound and be able to apply simple controls (stop/start/rewind/volume).
I can learn ActionScript, I suppose, since I used to dream in Lingo, but my life would be a lot simpler if I could just publish a controller without having to roll my own. I'd like to think there's a magic button somewhere that can do this, but I haven't found it yet.
i am a beginner in action script / flex framework and i am facing a problem: i would like to have like a menu bar always anchor the bottom of the screen in normal and full screen mode... i try to set my component with bottom = "1" (so it should alway be at 1 pixel from the bottom of the stage ... But .. NO :)
[Code]....
The problem that I'm facing is in regards to the width of a sliding menu that I've created. The menu slides based on mouse x position and width of the movie. I would like the menu to fit to the entire screen regardless of the users resolution. I wanted to know if there's a way to detect a users screen width and then adjust the variable for screen width within my actionscript .fla if necessary.
View 10 RepliesHow can I make a action script controlled print screen that will save a part of a screen And can I filter a color out of it (so that only that one color will NOT be visible on the saved img) with AS
View 3 RepliesHow do i make site resize to a persons screen so that it fills their screen.
View 2 RepliesI want to make a box come from off screen then bounce back and forth and then come settled down in the middle of the screen. It can be random bouning intervels or a set amount.
View 6 RepliesI'm new to Adobe Flash CS4. I'm making an animation of some fish underwater. I have 2 small fish motion tweened to follow a large fish from left to right. When I view the animation in full screen the small fish seem to be wiped off the screen at a certain point. The tween box continues to follow it's path but the symbol disappears. This only seems to happen with larger objects.
[Code]...
If I'm creating a Flash file (ActionScript 3.0) based off of a Photoshop file, do I need to use web only colors in Photoshop? I creating a pop-up page for a site.
View 6 RepliesI'm making a side-scrolling game, with a (theoretically) infinite background. I have a block engine that places the blocks on the bitmap canvas. Now here's the catch. I'm using the bitmapData.scroll() function. Now unless I clear the screen each time the character moves, it's going to leave ghost images of the border of the screen, like this picture: zanzlanz. tumblr. com/post/18857712784 If I clear the screen each time, then it generates a lot of lag (because it has to repaint the objects again). I'm a bit lost on how I can scroll without leaving streaks of the side of the screen and without repainting the entire screen.
View 1 Repliesim making an application on the chicago bulls, its nearly finished but ive hit a problem i cant fix, when i try and move from the roster screen to any of the other screens the items on the roster screen stay visible and the script on the new screen doesnt work.URL...
View 7 RepliesI have an AIR application that will go full screen when the application starts:
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE; The stage size is 2560 x 1024. And I have 2 moniters (1280 x 1024 , 1280 x 1024) When I start the application, it shows my application on one of my moniter only.
I need the left side of the stage to be shown in moniter 1 and right side of the stage to be shown in moniter 2. Currently, both sides are shown in moniter 1, and in moniter 2, it shows nothing but my default desktop. *The blue color line is a divider for better visual purpose. How do I make the left side of the stage to appear in moniter 1 and right side of the stage to appear in moniter 2 when the application starts in full screen mode?