'browser' Check?
hi everyone, ...curious about some 'pre-checks' for a site ...
normally (maybe not!!!) the enter site consists of a choice, if you want html or flash and then enter. now i was thinking if there is a script, that checks by itself if you have flash and takes you to the flash site. if you dont ... takes you to the html. that way you dont have to put up an 'enter' page w/all those decisions of browser sizes and etc. that most people skip reading and dont care for anyways.
in addition ... are there any 'pre-checks' that a good page should have? if so, any links for tuts or material to read up on?
thanx in advance.
Tek-Tips > Adobe(Macromedia): Flash Forum
Posted on: 12 Apr 03 17:14
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Browser Check
Hi,
Is it possible to check version of a browser from actionscript level? Thanks in advance for any help provided on the subject.
Browser Check
I want to set a mc's visibilty according to the browser, ie explorer the mc is visible, and netscape the mc is not. I know I can check the browser in javascript and I am already doing that but I am new to js and do not know if i can send a variable back to the swift. here is how I am checking the browser.
drag_DoFSCommand=function(command){
// CHECK THE BROWSERS
is=[];
is.dom = document.getElementById?1:0;
is.ua = navigator.userAgent.toLowerCase();
is.ie = is.ua.match(/msie/)||0;
// ONLY FOR IE
if (is.ie){
if (command=="moveOn"){dragIt=true;}
if(command=="moveOff"){dragIt=false;}
else if (command=="closeIt"){window.close();}}
}
thanks for the help.
Browser Check
Is there a way to check the Version and Type of your Browser, and Flash Version from inside Flash? I was told you can do this without the help of javascript, but I have never done it without javascript.
DIV Over Flash - MAC Browser Check
So yeah,
Here's the site
http://www.makeoutpointrecords.com
let me know if the div layer is above the flash. I've used a combination of solutions found here using Z-INDEX(ing) and EMBEDDING the flash with WBMODE.
I had the site previously XHTML compliant it wont be now since i used the embed tag. But if anyone has a moment to test it out on a mac id love you forever. ANd if it doesnt work and you have suggestions to make it work leave those also please. If it doesnt work and you can help me make it work on a MAC willing give give you a few free photos form photos.com.
Thx
Hiten
Can You Check To See If My Swf Works On Your Browser
and let me know what flash your running and the browser if possible
my swf seems to only load on some computers and I havent been able to figure out why just yet
link is
whatifdesigns.biz/flash.html
thanks you!
Marc
How To Check If Web Browser Support Flash?
Please advise:
I am using PHP to generate html output. Is there any way to check if user's browser have Flash movies (swf) enabled, so that if not, I can output static image instead of swf.
Thanks!
Beginner....browser Check Problems
Hi all,
I'm new here so bare with me...
I have a little flash movie in a site I just finished. I exported the movie using Flash MX. It saved a jpeg to display when the plugin was not detected. Everything works fine.
the problem is, that when the image shows up, a 5 pixel space shows up underneath it. I have an image sitting flush with another image...so I can't have that space showing up.....the space doesn't show when the plugin is detected.
Has anyone ever had this problem...how do I fix this?
Check Ip, Browser, Plattform Scripts?
hi guys,
i need to know how I can script my flash movie so that its detect following things:
IP
Browser
Plattform
Flash ( i know this )
Thanks in advance if someone has a fla file or the script.
Dave
How Do I Check If Browser Is Flash Compatible?
Hello,
I am making a flash site (I am brand new to flash), how do I construct my page to check if the browser accessing it is flash compatible(also flash version compatible.. i use mx so they need flash 6)? I assume I have to construct a page in html(or something else) that will check the users browser, detect compatibility, and then send them to my flash page or to another html page (if this is the case, can someone give me a hint or send me to a link that shows me how to do this). Furthermore, if the user is not compatible, how do I direct them to download flash player? (I am assuming an html page with a link to macromedia)... If there are examples or information on this flashkit.com that explain what I want, you could just send me there and I will figure it out. Thanks a lot... this site is dope and massive.
Making The Browser Check For Updated .swf?
I have a design website i am toying with. ( http://www.geocities.com/acidbeat311/MetalPlanet.html ) I noticed when i use Mozilla, it still keeps the old version of the file that is stored in the temporary files. What HTML code could I use to make the browser check for an updated .swf file?
How To Check If A Video/swf Has Already Played On A Browser
Hi - I am looking for a way to track if a video has already been played on someone's internet browser. I have a still image that comes to life from a video, so I really dont want to use controls but on the flip side the video will always play on launch of the page. I provided a mute button to give some control to stop sound but this is a site that gets a lot of repeat traffic. My client has contacted me saying that they have recieved several emails from users saying that the more they travel to the site the concept becomes less edgy and more annoying. I was wondering if anyone has ideas how to solve the issue I am facing. Is there a way to track cookies, cache, or temp internet files through actionscript?
Thanks in advance for any ideas...
Szimm49
Loading Movie, Browser Check, Etc.
Okay,
I was hired by the University of Memphis to help out doing a GIS mapping service containing regional info. The powers that be have decreed that they would like something, and I quote, "sexy" to open things up, and I have been tagged with the job of creating a Flash opening. Now that I have created the main movie how do I set up the browser check, loading movie, and whatever else I need to get this dog to bark? Help!
Thanks, Anton
Check If Movie Is In Browser Cache (Preloading)
Hi scripters,
I am currently working on an advanced preloader, with a preloading animation. It has the following structure:
-Animation in (preloader shows up)
-Preloading of items in queue(the actual preload of the items)
-Animation out (preloader disappears)
The problem is as follows: everytime an user opens a window in my application it gets the "animation in". I don't want this, because the window is the same for every item so a preload when the window opens for the first time is sufficient.
To accompish this, I want the preloader to check (before "animation in") if the swf is loaded in the browser cache. If it is, it can skip the preloading (thus not showing the irritating preloader "animation in"). If it isn't, the preloading animation should start and load the movie in the cache. Does anyone have a solution for this problem?
I Already tried to solve this problem with shared objects, but this doesn't work if the user has flushed the browser cache (because shared objects are located in a different folder than the browser cache).
Another posibility would be a timer, that checkes how long the loading takes for an item. For example: if an item is loaded in less than one second, the "animation in" is not showed. With this construction there is a second problem: The preloader loads the items from a queue, so with 6-7 items the whole proces would take up to 7 seconds!
Does anyone have a solution for this problem?
Sorry for my bad english
Thank you in advance
Check If Movie Is In Browser Cache (Preloading)
Hi scripters,
I am currently working on an advanced preloader, with a preloading animation. It has the following structure:
-Animation in (preloader shows up)
-Preloading of items in queue(the actual preload of the items)
-Animation out (preloader disappears)
The problem is as follows: everytime an user opens a window in my application it gets the "animation in". I don't want this, because the window is the same for every item so a preload when the window opens the first time is sufficient.
To accompish this I want the preloader to check (before "animation in") if the swf of the window is loaded in the cache. If it is, it can skip the preloading (thus not showing the preloader). If it isn't, the preloading animation should start and load the movie in the cache. Does anyone have a solution for this problem?
Sorry for my bad english
Thank you in advance
Check If Movie Is In Browser Cache (Preloading)
Hi scripters,
I am currently working on an advanced preloader, with a preloading animation. It has the following structure:
-Animation in (preloader shows up)
-Preloading of items in queue(the actual preload of the items)
-Animation out (preloader disappears)
The problem is as follows: every time an user opens a window in my application it gets the "animation in". I don't want this, because the window is the same for every item so a preload when the window opens for the first time is sufficient.
To accomplish this, I want the preloader to check (before "animation in") if the swf is loaded in the browser cache. If it is, it can skip the preloading (thus not showing the irritating preloader "animation in"). If it isn't, the preloading animation should start and load the movie in the cache. Does anyone have a solution for this problem?
I Already tried to solve this problem with shared objects, but this doesn't work if the user has flushed the browser cache (because shared objects are located in a different folder than the browser cache).
Another possibility would be a timer, that checks how long the loading takes for an item. For example: if an item is loaded in less than one second, the "animation in" is not showed. With this construction there is a second problem: The preloader loads the items from a queue, so with 6-7 items the whole process would take up to 7 seconds!
Does anyone have a solution for this problem.
Sorry for my bad english
Thank you in advance
Check If Movie Is In Browser Cache (Preloading)
Hi scripters,
I am currently working on an advanced preloader, with a preloading animation. It has the following structure:
-Animation in (preloader shows up)
-Preloading of items in queue(the actual preload of the items)
-Animation out (preloader disappears)
The problem is as follows: every time an user opens a window in my application it gets the "animation in". I don't want this, because the window is the same for every item so a preload when the window opens for the first time is sufficient.
To accomplish this, I want the preloader to check (before "animation in") if the swf is loaded in the browser cache. If it is, it can skip the preloading (thus not showing the irritating preloader "animation in"). If it isn't, the preloading animation should start and load the movie in the cache. Does anyone have a solution for this problem?
I Already tried to solve this problem with shared objects, but this doesn't work if the user has flushed the browser cache (because shared objects are located in a different folder than the browser cache).
Another possibility would be a timer, that checks how long the loading takes for an item. For example: if an item is loaded in less than one second, the "animation in" is not showed. With this construction there is a second problem: The preloader loads the items from a queue, so with 6-7 items the whole process would take up to 7 seconds!
Does anyone have a solution for this problem.
Sorry for my bad english
Thank you in advance
Check If Movie Is In Browser Cache (Preloading)
Hi scripters,
I am currently working on an advanced preloader, with a preloading animation. It has the following structure:
-Animation in (preloader shows up)
-Preloading of items in queue(the actual preload of the items)
-Animation out (preloader disappears)
The problem is as follows: everytime an user opens a window in my application it gets the "animation in". I don't want this, because the window is the same for every item so a preload when the window opens for the first time is sufficient.
To accompish this, I want the preloader to check (before "animation in") if the swf is loaded in the browser cache. If it is, it can skip the preloading (thus not showing the irritating preloader "animation in"). If it isn't, the preloading animation should start and load the movie in the cache. Does anyone have a solution for this problem?
I Already tried to solve this problem with shared objects, but this doesn't work if the user has flushed the browser cache (because shared objects are located in a different folder than the browser cache).
Another posibility would be a timer, that checkes how long the loading takes for an item. For example: if an item is loaded in less than one second, the "animation in" is not showed. With this construction there is a second problem: The preloader loads the items from a queue, so with 6-7 items the whole proces would take up to 7 seconds!
Does anyone have a solution for this problem?
Sorry for my bad english
Thank you in advance
DHTML Flash Layer Over HTML Browser Check?
Okay, I'm trying to put a flash animation in a DHTML layer over a normal HTML site I'm building for my girlfriend. http://www.BunBunsBigWords.com.
Problem is it doesn't work in some browsers. The flash movie isn't transparent and covers half of the site...
I pulled apart weather.com, which uses one of these floating flash DHTML layers. It seems that they use a javascript to detect for different browsers and then hide or show the DHTML flash layer depending on the results of the browser check.
I tried to modify it for my site, but I don't know enough Java Script, and couldn't get it to work. Does anyone know of a script that I can easily modify to do this?
Update Browser Check Files For Old Dreamweaver Version?
I'm still using Dreamweaver MX 2004, because my school hasn't upgraded its free (VPN-tied) options, and I can't afford to buy an updated version myself.
Unfortunately, the "Target Browser Check" only goes up through IE6, and has "Mozilla 1.0" but no Firefox.
Does anybody know if there is a way to update the files that Dreamweaver uses for its CSS/HTML browser check, without buying a new version?
Reality Check: Flash CS3/AS3 Check Syntax
I need a quick reality check. I've finally started playing around in CS3/AS3 on my Mac. Whenever I click "check syntax" I get a very limited error response: specifically, I get actual syntactical errors (e.g., a missing brace or paren), but I get NO COMPILER ERRORS (e.g., use of an undefined method or property). These compiler errors trigger at runtime, but not having them during authoring makes coding and debugging unnecessarily difficult.
Is this really how it's supposed to work?
In Flash8/AS2, we had compile-checking right in the AS file. If I attempted to access an undefined method or property, the error-checker would catch that right away. No time-consuming compile was necessary to catch these obvious errors (see example below). But AS3 doesn't seem to be as clever.
Am I missing something?
Thanks much!
-------------EXAMPLE---------------
Attach Code
import flash.display.BitmapData;
class myClass{
var _bmp:BitmapData;
function myClass(){
_bmp = new BitmapData(500,300);
_bmp.methodNotDefined();//unknown method of BitmapData triggers an error
myVar = 5;//unknown property of myClass triggers an error
}
}
HELP Check Box W/ DYNAMIC Check Value?
I was wondering if you can make the Check Box component have a dynamically-loaded check value.
I would like to have it read the "&price1" variable from a text file.
If you know how to do this, please help.
thanx!
Full Browser Flash, Vertical Scrollbar Just Like Browser?
In short:
http://www.subdisc.com/
Look at the right scrollbar, how do I accomplish this?
The height of my site site is bigger than the Stage.height.
I could use a browser scrollbar via Java, but since I want to be free in design of every component I would rather use a flash scrollbar.
But how?
Full Browser Flash Detecting Browser Size Help.
http://akmphoto.net/akmdesign_new.html
Anyone know the AS to make it automatically check the size of the browser for the listeners.... _notice when you resize the browser it works perfectly...but not when it first loads up...any ideas?
Code:
// ***Stage aligned top left
Stage.align = "TL";
// *** Stop the stage from scaling with the browser window.
Stage.scaleMode = "noScale";
stop ();
// initiate postitions and scaling values for objects
fluid._x = (Stage.width + 200)/2
fluid._y = Stage.height/2
bottomstretch._height = Stage.height;
rightstretch._height = Stage.height;
topstretch._width = Stage.width;
rightstretch._x=201;
tutoriobutton._x = Stage.width - tutoriobutton._width
bottomo._x = (Stage.width + 200)/2
// end initial position setting
//create a listner that checks to see if the browser window is resized
sizeListener = new Object();
sizeListener.onResize = function() {
// change movieclip properties when the window is resized.
topstretch._width = Stage.width;
fluid._y = Stage.height/3;
fluid._x = (Stage.width + 200)/3;
bottomstretch._height = Stage.height;
rightstretch._height = Stage.height;
//*note* 200 is the width of the left column
tutoriobutton._x = Stage.width - tutoriobutton._width
bottomo._y = Stage.height/1;
bottomo._x = (Stage.width + 200)/2;
};
Stage.addListener(sizeListener);
Full Browser Movie, But Use Browser Scrollbar When Needed
Is there any way to make a full browser swf that, at a certain point, stops scaling to the stage and allows the browser to use it's native scrollbars?
For example, say my flash site has a top bar (it's y is always 0) and a bottom bar (it's y might be stageHeight - 15). Is there any way to tell the movie to stop scaling if the bottom bar's y is less than say 300, and from that point have the browser display it's scrollbars allowing you to scroll the content?
Where To Get New Browser Profiles For Browser Compat Checks?
Does anybody know where I can get updated browser profiles for the browser compatibility check tool ("target browsers") in Dreamweaver MX 2004? My current list only goes up to IE 6 and Mozilla 1. I've looked around on the Adobe website and can't find anything, even in the Exchanges.
Thanks for your help,
Stephen
Fullscreen Swf In Browser Without Any Of The Browser Elements...
Hi Guys,
I've made a demo using FlashMX.Naturally, its a fullscreen demo (800x600) involving a lot of different movies loading & unloading at different levels.
I want to post this demo on the web, maybe a leaner version of what it is. And i want to keep it fullscreen. Obviously enough, i will have to embed it in a browser. Therein lies the problem. I wanted only the swf to be visible, and none of the browser-window elements to be visible. How do i go about it???!!!!
Any ideas...do i need to embed the flash movie using some javascript?? If yes, then what is it???
plz HELP!!!!
Regards & thanx,
Avrinder
How Do I Open Browser In The First Browser ?
I made the function..
getUrl("http://www.flashkit.com")
in the same browser of www.flashkit.com i want to open a new browser
of google.com... how do I do that??
I tried do geturl again but it open me a new browser.. .[/url]
Browser Inside A Browser
Hello all.
This is my first post. I have a question that might not even be possible but we'l give it a shot anyway. I would like to have a browser inside my flash movie. Basically I have a portfolio of sites that I have done and would like the sites to pop up in the flash movie with in a small window with all the browser functionality.
I know that I can do this by re-creating the sites inside flash and doing a screen print of a browser, then creating the site in the browser img. But that is not completely what I want. I want the browser inside Flash to be dependant upon the browser the user is using. Say the user is using Firefox, I want the browser to come up in Firefox vs. IE, Opera or anything else...
Does anyone know if this can be done? I am using Flash MX 2004 Pro. Thank you very much for any help or direction.
Pc Browser Vs Mac Browser Problems
My flash movie takes up the whole screen on a MAC and doesn't on a PC. It looks really small. first of all, I want the movie to be scalable but I want it to show up smaller than it does on a MAC. All i have on the source code is "width=100%" "height=100%" what the hell should I do?
also, I want to make the first page animation a separate flash movie, then load another URL so people don't have to see the first page over and over again. how do you make it so when the first animation ends, the next URL window pops up? any ideas guys?
www.dirtypop.org
thanks for your help, anyone.
Pc Browser Vs Mac Browser Problems
My flash movie takes up the whole screen on a MAC and doesn't on a PC. It looks really small. first of all, I want the movie to be scalable but I want it to show up smaller than it does on a MAC. All i have on the source code is "width=100%" "height=100%" what the hell should I do?
also, I want to make the first page animation a separate flash movie, then load another URL so people don't have to see the first page over and over again. how do you make it so when the first animation ends, the next URL window pops up? any ideas guys?
www.dirtypop.org
thanks for your help, anyone.
Browser Display Size Of Flash Movie / Need To Have Browser Match Movie Size
Hello,
I am having a problem getting my flash movies to come up in the broswer w/out any extra space around the movie. I have published all 3 ways out of flash, and even made may changes to the Dreamwever file with no luck.
Is it possible to have my movie pop up and the browser be 600x440 w/out extra background?
Please send help!
Thanks,
xcaliber_1
Check This Out
I'm quickly learning that people are all very opinoniated
but none to helpful
In need of help with the flash guestbook
CHECK IT OUT IT'S MY FIRST
I JUST finished my very very first fully actionscripted movie. It's a very very small file, the swf itself is LESS than 1kb, and I'm so very proud of it. Check it out here http://www.skycastleprod.com/demo/aboutintro.html
Anyways, I know this is soooo easy for some of you guys, but I'm so happy and proud of it that I thought I'd post it here. It's generated randomly every single time, and all of it is done using one movie clip. Anyways, I'm just really happy!!!! Have a nice day!
Riki
Can Somebody Please Check This
Hello,
I have just about had it with this thing. I am not that proficient in actionscript and would really love to learn a few things for starters:
I have two buttons forward & next
Next button:
on (release) {
_root.text.gotoAndStop(_currentframe -1);
}
&
Forward button:
on (release) {
_root.text.gotoAndStop(_currentframe +1);
}
I have a text box on my main timeline called text and I am calling external files with links above it. How do I get these buttons to work properly? Is it possible to record which page the user has last viewed in a textbox.
Any advice on this would be very helpful. I already have the links working to load the files it is the functionality that I put on those buttons that is giving me lots of trouble.
Thanks
WOW Check This
WOW! check out this site it is an insperation to new flash users like myself just thought i would share it with you. Go to http://www.brainwaves.nl/ and click FLASH HIGH END
Can Someone Check This?
I basicly have a puzzle. I have buttons inside of MC which are the pieces to puzzle, with the script below on each button. Everything works fine except the _rotation part. Is my logic wrong or syntax??
Note: The z is and instance of the same MC. It is used to have to pieces snap into place.
on (press) {
grab = true;
if ((_x != _parent.z._x) && (_y != _parent.z._y)) {
startDrag ("");
}
}
on (keyPress "<Space>") {
if (grab == true) {
this._rotation = 90;
}
}
on (release) {
grab = false;
stopDrag ();
if ((_x != _parent.z._x) && (_y != _parent.z._y)) {
if (this.hitTest(_parent.z)) {
_root.i++;
_x = _parent.z._x;
_y = _parent.z._y;
}
}
}
CHECK IT OUT
I thought the title might bring more people to help me, im still working on that Skull smiling etc.
the picture is on
http://www.geocities.com/corruptedrebels/skull.jpg
when i use the pointer tool to distort it
(make the mouth drop) for some reason it creats a NEW skull picture
IM DESPERATE HELP PLEASE
needs to be done
Please Check This Out
When this action script is executed from a button:
on (release) {
gotoAndStop (56);
}
It plays the movie on frame 56. The movie plays and stops. But when I click on the same button again, it wont play the movie again. Any hints??? Thanx in advance!
Check This Guy Out LOL
http://www.useit.com/alertbox/20001029.html
"Summary:
Although multimedia has its role on the Web, current Flash technology tends to discourage usability for three reasons: it makes bad design more likely, it breaks with the Web's fundamental interaction style, and it consumes resources that would be better spent enhancing a site's core value. "
wow what a dork
Planethouse
Ok..Check This Out
Im sort of *new* at this..I know alot..But i dont understand where u put the codes,such as if you want a Loading bar... PLEASE help me..
Check This Out
What would be the best way to replicate the opening image at http://www.atelier-image-in.com and the scrolling buttons whenever you click on any portfolio item? I've seen a couple of tutorials for the scrolling items, but none come close to that. I would appreciate any response. Thanks.
Check This Out
im loading jpegs dynamicly....how to put preloader on each of them or something similar to tell to the user that image is loading...
i cannot solve this problem with my main preloader ...is start show itself after 30% ..any idea please guys...
thanks
Itīs Just A Little Help I Think But I Donīt Check It
I have a little flashmenue in a html document. The Rest is just text with a few anchors. I want to know what should i put in the flashmenue that it will link to each anchors i wanted to?
Example: Services - link to the bottom of the text to the anchor named "services" ...
please help me - Iīm getting crazy....
Check If You Got One
Is there any method by which it can be found out that the person who is viewing my web site doesn't have flash player....and to display him a message to download the flash player if doesn't have it?
On Top Check
is there a way for action script to detect if the Standalone FlashMX player is on top or not ????
i wan't to make a Standalone EXE menu with a nice BG music that can launch exe's so when an exe is started the sound has to stop and when the exe is closed the sound has to continue
i tought the best way to do this is with an on top check from the player , but i have no clue how to do this...... PLZ help me
Check This Out
while trying to find out how to link to applications/folders on the user's computer in Flash, i found this:
http://www.virtualplastic.net/html/art_htm.html
check the last paragraph on section 1, where he says:
"If you would like to use scripts (onClick...) change the url by scripting using window.location.href="run:x:pathexecutable.exe"; or if this doesn't work (?) with a double url change: window.location.href="javascript:window.navigate( "run:"+appName+"")";. In this case don't forget to double the backslashes if you use them. You can download a zipped .js file containing a small Open() function that does this here."
there's gotta be a way to make this work in flash, to get a button in Flash to link to a file/application/etc. is there any way?
let me know please
stealth_space@hotmail.com
thanks
~Lorenzo
Check This Out
http://www.idefilm.se/Robot/robot.htm
I am really bad at modelling in 3dmax and i need some help.
I have made the modell above in swift 3d v3, but it's not at all like i want it to be ( more complex ). Could someone give me some pointers or even take a crack at it. I only need a 3ds fil then i can animate it in swift.
please someone!!
ps. the link is in swedish but I think you will get the hang of it.
Please Check This For Me
Could someone smarter than myself check this code and tell me if it should do what its meant to do.
It's code on a square shaped mc, and a ball(mc) is meant to bounce off each side. ie. hit the left side of square and ball bounces back left. etc..( in effect making it a solid object)
if (this.hitTest(_root.ball)) {
location = this.getBounds(_root);
if (_root.ball.nowBx < this.location.xMax -1) {
_root.ball._x -= 5;
_root.ball._rotation = -_root.ball._rotation;
}
if (_root.ball.nowBx > this.location.xMin-1) {
// bounce ball back left
_root.ball._x += 5;
_root.ball._rotation = -_root.ball._rotation;
}
if (_root.ball.nowBy < this.location.yMax -1) {
// bounce ball back down
_root.ball._y -= 5;
if (_root.ball._rotation>=0) {
_root.ball._rotation = 180+_root.ball._rotation;
} else {
_root.ball._rotation = -(180-_root.ball._rotation);
}
}
if (_root.ball.nowBy > this.location.yMin-1) {
// bounce ball back up
_root.ball._y += 5;
if (_root.ball._rotation>=0) {
_root.ball._rotation = 180-_root.ball._rotation;
} else {
_root.ball._rotation = -(180+_root.ball._rotation);
}
}
}
|