System.capabilities.os
Is there a way to make a MC happen only if the user is on a PC. I think I can do this with the system.Capabilities.os command but what will I have to input to cover all the Windows OS ??
FlashKit > Flash Help > Flash ActionScript
Posted on: 02-05-2003, 03:28 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
What Does System.capabilities.language Return On Your System?
I am working on a multi-lingual web site that automatically detects the user's OS or browser language by using System.capabilities.language .
Since I am running a german OS/browser, this returns 'de' in my case, but I wonder what it returns on other systems (english, french, spanish etc.)
To find this out, please copy and paste this code into a Flash doc and see what it says:
trace( System.capabilities.language );
Thx!
Mike
System Capabilities
I want to use the system.capabilities object to get the screenresolutionX and screenresolutionY.
Then I want to use these to scale my movie accordingly. Now how is that to be done?
System Capabilities
Hi everybody
why does'nt this code work:
trace(System.capabilities.screenResolution.x)
I can't understand it, because all others system capability things worked.
Thanks
Max
System.capabilities....please Help
Myabe I'm doing something wrong or I didn't understand fully the System.capabilities thing but I do have a problem here and don't understand why, so if you can help would be great!
I've made a movie that has to do something as soon as a sound is played. So I have used a "soundComplete" function and it works as hell as long as you have an audio card installed on your machine. The troubles is to find a solution for those user who don't have any audio card installed, and I thought that the "hasAudio" capability will come handy but it's not. Apparently I've got a "true" as answer even on a computer that hasn't got any audiocard on. How is it possible??
Thanx for your time
Giano
P.S
Ok got it! It seems that I made a mistake, so the "hasAudio" is useful just to know if the player installed has audio capaibility, right? So my question is, is it possible to know if an audio is played or not on a movie?
System.capabilities.os
Hi there!
Could somebody explain why, as I am running Tiger 10.4.11, System.capabilities.os returns "Mac OS 10.4.9"?
Many thanks in advance.
Best regards,
Gerry
System.capabilities.screenResolution.x
System.capabilities.screenResolution.x and System.capabilities.screenResolution.y
Can these actionscripts actually alter the size of somebodies PC resolution size, or does it only refer to the Flash movie itself?
Also, what is an example piece of actionscript using these scripts?
System.capabilities.language
Here's my problem. I use the System.capabilities.language to determine te users language. The outcome is assigned to a variable 'l1'. I need to use an if statement f.e. :
if (l1="en") {text1="Welcome"}
else
if (l1="fr") {text1="Bienvenue"}
I can't seem to get the above as right, can anyone help me out.
Thks,
Smalco
System.capabilities.screenResolution
Has anyone been able to use:
System.capabilities.screenResolution.x (and .y) ?
I think the Flash MX developer fell asleep at his desk and forgot to write it!
It doesn't even highlight the word (screenResolution) when I type it in to the Actions window,it doesn't even highlight it. I tried looking for Tech notes on Macromedia's site - no mention.
H E L P ! ! ! !
What I actually want to do is create a movie that fills the screen, but maintains a constant resolution. I' m using javascript to create a window that fills the screen with no scrollbars. The flash Movie is very big, and I want to work out the top-left rectangle that is visible. Maybe someone knows another way to do this? It's for my online operating system:
http://www.i2genius.com/coreos/core.html
Trace System Capabilities
trace(System.capabilities.screenResolutionX);
trace(System.capabilities.screenResolutionY);
Someone was kind enough to give me the above code so that I could determine a users screen resolution. What I need to do is open various websites depending on what the returned values are. If the resolution turned out to be 1024 x 768, how would I make it open page www.go.com/1 for example? What would I include to add a second option?
Thanks so much... total n00b here.
System.capabilities.screenResolution.x
I just can't get this value System.capabilities.screenResolution.x or .y display right. I get undefined all the time. All the other System.capabilities work just fine. Can anyome tell me why and what can I do?
Thanks!
Help Bug In System.capabilities.screenDPI?
I'm writing a piece of ActionScript that changes the font size of a text field based on a computer's settings. To keep track of the system settings, I put in the following debugging code:
Code:
for (var prop in System.capabilities) {
trace(prop + " = " + System.capabilities[prop]);
}
For a time, all was well in the kingdom. Whenever I modified my computer's screen resolution, things would show up when I tested the movie. By default, I have my monitor set at 1920x1200, and a screen DPI (i.e. PPI) of 120. And these values were showing up properly whenever I tested the code/movie in Flash. But a darkness in The Force was rising on the horizon... I next tried modifying my screen DPI from 120 to 96. When I next tried to test the movie, the System.capabilities.screenDPI property suddenly showed up as being 72!!! I thought it might have been because I hadn't rebooted my reboot-philic Windows XP machine, so I shut down Flash MX and rebooted. When my computer came up again, sure enough, the text under my desktop icons was microscopic; but when I tried testing the movie in Flash, it was still showing up as 72. I tried changing it back to 120 and rebooting again, hoping that my computer and/or Flash just "hiccuped." However, the disturbance to The Force was too great. No matter how many times I tried changing my screen DPI, rebooting, and testing the movie, screenDPI was now "stuck" at 72. I also tried modifying the screen resolution again, but sure enough, screenResolutionX and screenResolutionY were still behaving properly. I also checked to see if it might have something to do with version of Flash Player that I have on my computer, but I have version 7.0 r19 installed (which is the latest version, I believe). Has anyone else ever encountered this problem? Does anyone know of a solution?
'System.capabilities', Conflicts
I keep on getting this error message. If I publish the file twice, it is ok.
..Local SettingsApplication DataMacromediaFlash 8enConfigurationClassesFP8Systemcapabilities.as: Line 7: The name of this class, 'System.capabilities', conflicts with the name of another class that was loaded, 'System'.
{
running Flash 8 on windows, although this occurs on the Mac too. Any help would be appreciated. I googled for this problem and found another unsolved case: http://www.actionscript.org/forums/archive/index.php3/t-86822.html
System.capabilities.screenResolutionX
How do I go about getting the screen resolution of a multi monitor setup?
I have an extended desktop on my laptop that is 2560 x 768 in total and yet
System.capabilities.screenResolutionX returns 1280.
Am i doing something wrong or is this just not possible?
Thanks
System.capabilities.colorDepth?
Is there a way to check the client PC's color depth similar to System.capabilities.os, etc.?
The System.capabilities.color is the most worthless object EVER. Heh.
System.capabilities.screenResolutionX
Hello,
Regarding System.capabilities.screenResolutionX in FMX, how would I achieve a movie clip on my stage to automatically alight to the left of the screen/browser depending on the viewers screen resolution?
Many thanks for the help...
System.capabilities.colorDepth?
Is there a way to check the client PC's color depth similar to System.capabilities.os, etc.?
The System.capabilities.color is the most worthless object EVER. Heh.
Help With System.capabilities.screenResolution.x
Hello all,
I am trying to write some script that will let me know the current screen resolution, i try something like this, but it doesn't seem to work:
myvar = System.capabilities.screenResolution.x;
Anyone have any ideas?
Thanks in advance,
Lumstar
______________________________________
And The Star Continues To Shine....
Issue With System.capabilities.hasAudio
hi all,
just have a quick question for you.
i am using the System.capabilities.hasAudio to test if the system has audio capabilities. i have a windows nt 4 computer that does not have a proper sound driver installed and thus could not play sounds yet it returns true when i use the script.
any ideas? does anyone have another script to test audio capabilities of the pc/system?
thanks
Adding A Property To System.capabilities
hi guys,
can someone tell me how to add a property to the System.capabilities class?
i made a function to calculate the flash version as a number (since System.capabilities doesnt) and it returns the version as a number: 7, 8, 9 etc..
im really not sure how to do this...should i create another class? one that extends or something, or use prototype...? im really just a beginner when it comes to classes so some help would b appreciated!!!
Parsing System.capabilities.version
I want to display just the version number like
"7"
when using System.capabilities.version. But it gives me
"WIN 7.0.19.0"
I tried parsing it like
Number(System.capabilities.version)
But we all know what happens there (Nan). So is there a way to get the "7" out of that string without too much trouble?
Thanks!
System.capabilities.language Doesnt Work?
Hi together,
i tested the
System.capabilities.language;
I tested it on an english system, but evey time i got "de".
Why?
Download exe+fla
Can anybody help me or test the system.fla?
Thanks
FlashKasper
Flash MX Capabilities
I am going to try and make a serius attempt at an isometric tile engine and game.
I would like to have real time fighting, collision detection, path finding, z sorting, controll input, a gui, enimy ai, jumping (third demension) and the list goes on. I have pretty extensive skills in programming in C++ and have done alot of work with flash and dynamic inputting.
I want to know before I get too involved if it is possible to make this in flash, I can figure out the code, and optimize it to near perfection if it takes me days.. question is though, will frame rates be ok?
I know it's hard to say from my information, but it should be obvious if this sort of thing is far to intense for flash.
XML Socket Capabilities
I have to write an app that listens in on an xmlsocket for 1-4 events a second with close to 400,000 events per day.
Each event represents a city in the world. Every event detection will trigger a blip on a global map.
Is flash capable of handling something like this?
ren
Need Zoom And Pan Capabilities
I have a client that wants images to gradually get bigger as visitor to site clicks on button and drags it down. He also wants to be able to pan the image by clicking on L, R, U, D, arrows. Does anyone have any experience with this? The transition from normal to zoom must be smooth.
Thanks
Flash's Capabilities.
Hi.
I've got an issue i've posted a couple of times, but not really getting anywhere.
Using flash as well as some cd burning software i'd like to do the following:
Burn 3 files onto cd.
install.exe file to install the others. -> the installation would consist of moving a vars.fla and game.exe file to a new location. c:/programfiles/flashgame for example. aswell as creating a shortcut to the game.exe file in the start menu.
The game file would access the vars.fla file for saving/retrieving information.
Is this possible with flash? and how would i go about doing it?
Flash Capabilities
I was wondering if there was any way flash is capable of doing webcam, picture in picture application?
Thanks,
Albert
HTML/CSS Capabilities..
hey guys, i was hoping someone could point me in the direction of a list of css attributes and html tags that are acceptable in Flash 8.. just wondering how intricate I can get with these pages
thanks
-steve
Client Capabilities
Is there any way to get information on the client / end-user machine specifications / capabilities?
I know about the flash.system.Capabilities class:
http://livedocs.adobe.com/flex/3/lan...abilities.html
but i'm specifically interested in client memory. A total memory/RAM would be good but a free/used/total would be great.
I basically want to be able to figure out how much memory is available to the client so that I can make an intelligent decision on caching strategy.
Thanks!
D
Capabilities.screenResolution
hi,
I have developed an application that requires screenResolution info from system. based on the screenResolution it will construct its own appearence.
i used Capabilities.screenResolutionX, Capabilities.screenResolutionY to do the same. It was working fine.
the problem is after launching the application, when the user changes the screnn resolution, i should get "change event" from the system to my application. is there any idea.
Capabilities.screenResolution AND If/then
Hi all,
Im not much of a scripter so might need help if to see if this can be done.
First of all the situation. I have a standalone project designed for 1024x768. I want it scale down when its hsown on 800x600, but I dont want it scaled up above 1024x768.
Im using Fscommand "fullscreen" and "allowscale" but was wondering if I could do something like this. [code is NOT correct, Im not that good]
detect screen resolution using
System.capabilities.screenResolutionX
System.capabilities.screenResolutionY
if System.capabilities.screenResolutionX<1024 & System.capabilities.screenResolutionY <768
then
allowscale=true
if System.capabilities.screenResolutionX>1024 & System.capabilities.screenResolutionY >768
then
allowscale=false
You get what I mean... the arrows may be the wrong way around as I can never get them correct!!!!
I would really appreciate any help you could give.
Jeremy
Flash CS3 3D Capabilities
Are the 3D capabilities of AS3 and Flash CS3 Pro better than the last versions? I am making a 3D engine in Flash MX 2004 but I am experiencing a few problems with lighting and rendering and surface distinction
Edited: 09/21/2007 at 03:19:01 PM by thunder_storm
FMS Capabilities & Alternatives
Hi,
a) Can we do the following with FMS?
- File transfer between two people.
- Sharing PowerPoint presentations
b) Are there any alternative technologies to FMS? In other words, does FMS have any competitors in the market?
Many Thanks,
Essaeyu
Audio Capabilities
Hello all,
A couple questions for you all:
Can you adjust bitrate & pitch on an MP3 in part of a flash movie? Ie, if I built a sort of dj tool in flash, could you import a track and adjust it online?
Does anyone have links to some more info on flash and audio mixing?
Cheers,
-D
Basic Email Capabilities
hello there. i have a site where the user fills out a form, then has the option to attach a file, like with an email. the first part is easily done (from what i've researched). but i haven't had any luck on the second. i konw absolutely nothing about perl or cgi or php, asp, whatever. does anybody know how to attach a file, or know a place for good tutorials for the above languages? i'd appreciate it.
joe
Question About Flash Capabilities
I'm trying to architect a Flash-based training component for a large ASP web application.
I want to run the main application in its browser window as it would normally. I want the flash player to run in a child window and respond to specific actions taken in the main browser window.
Is this possible without a round-trip to the server? Is it possible with a round-trip to the server?
I'd be grateful for any insights.
Big Question (internet Capabilities)
well, I have been working with flash for a long time now, but there is something that I have no idea on how to do. I am making a game, and I want it to be multiplayer (1 on 1) I wish to know how to make a list of players online, be able to connect to one, and be able to transfer variable values between the two users to play the game. I know this is a lot to have explained to me, so if anyone knows of a tutorial somewhere, or something like that please reply with a link. Thanks.
Flash Capabilities Question?
I apologize if this is off-topic for this forum.
I'm an experienced Flash user but new to this forum. I'm looking for ideas on how to accomplish the following:
I'm building a site for an athletic team uniform manufacturer. They want to allow visitors to their site the ability to design their own uniform. That's the easy part.
They also want visitors to be able to add team names to their uniform designs. Simple, straight text is not a problem, but they want to be able to warp the text into available shapes (like a vertical arch or bridged arch). I'm just at a loss as to how to do this.
They have another site previously built in SVG, which has some built-in support for warping text, but the quality isn't very high and not many users have the Adobe SVG viewer, and I'd like to steer them away from that.
Any help is greatly appreciated.
Sherm
Testing Streaming Capabilities
I thought Flash had the ability to simulate streaming in order to see preloaders and streamloaders in action.
Am I just blind when I can't find any way to do this in Flash MX 2004?
Flash X Text Capabilities
Does the newest version of Flash have better text handling capab.? (leading, etc.) I'm currently using Flash 5.
Ad Banner With Rotating Capabilities?
Hey Guys,
I'm pretty new to this so bear with me.
I am currently making a small simple advertisement, within the flash ad, there are 4 simple ads for different companies. I want to be able to have Company 1's ad play, then Company 2's etc.
I decided instead of just putting this all on one timeline I figured it is time that I learn how to link ext swfs. What is the easiest way to make this work with AS?
I was thinking of creating a blank MC
then loading each ext swf into it. But how do you allow the ext swf to play in its entirety? Then know that once its finished, to load the next company ad swf.
Any help is appreciated!
Limits And Capabilities Of Flash?
I have used Flash to create individual graphics but never a whole site.
It seems quite popular and, as more people have Flash support as standard, more relevant.
Having said that, what are it's limits?
1 - Can it handle detail submission forms?
2 - Can you build a forum in flash?
3 - Could it handle a catalogue and shopping cart / purchasing features?
4 - If not, would you use Dreamweaver to author just as much as was necessary and then continue with your Flash or is there a better solution?
5 - How would you upload a Flash site, as I was always under the impression a site's pages had to have .htm(l) as suffixes.
So there we are.
I suspect I know the answers to some, but I would like to see the ideas of other users, as there must be several different perspectives.
Thanks!
Questions About Flash Capabilities
Hi,
I have a few questions about Flash's capabilities.
Does Flash progamming's script, Actionscript allow me to create multiple objects, make them invisible, and/or overlap them. For example, could I make three different animal flash objects. The animals would be invisible but are on top of each other, meaning in the same location of the website. I would then make a flash button object with animal's icons. Would I be able to program it so that if I click on a particiular animail icon, the icon would then activate through actionscript, making the animal flash object visible to the users?
Also, if Flash is capable of this code, would I need to somehow link Flash with Php/MySql in order for the code to execute?
Another thing I don't understand is why Actionscript needs a backend in order to be a functional application. For example, when we are scripting codes with Actionscript, it is functional right? So why do we need to implement a backend server like php/mysql in order to create web applications? Or is the php/mysql more like a memory card that and Flash is like a video game, whereas php/mysql saves the actions/codes that Flash does? Now I know that php.mysql is by itself a strong programming tool, and that they are not just a "memory card", but could they also be used for this purpose?
My last question is more in dept relating to Flash applications. If I want to create a Flash shopping cart for my e-commerce site, I would have to implement it with a backend server like Php/MySql right? There are many books out on how to implement Flash with Php/MySql, but I was wondering if I have to understand the mechanics for making a shopping cart for both Flash and Php/MySql? For example, if I decided to make the Flash Cart using actionscripts, when I follow the tutories from the books, am I simply going to just have to code a few lines in order for actionscript to go through Php/MySql or will I have to translate every important Actionscript function/codes to Php in order to access the MySql server?
-Fla5
Flash Screenshot Capabilities?
Does Flash have provisions to take a screenshot of itself and export it to a file on a server? For instance if a client creates something within a SWF and I need to be able to see the creation at a later time. Exported as a JPG or some other bitmap format.
Thanks.
Detecting Auidio Capabilities
Greetings,
During most of my career, I've been an Authorware developer, now I find myself drowning in Flash. Times, they are a changin'.
I need to know if it's possible for me to develop a .swf file that, when embedded into an Articulate presentaiton, has the ability to check to see if the user's PC has audio capabilites and that the audio is not mutted, or shut off? You see, if they don't have audio, we don't want them to continue with the course. Instead, they need to use one of our PCs in the training center to complete the course. If it's not possible with it being embedded in an articulate pieces, then how about on it's own?
|