ActionScript 2.0 :: Check Platform With Pc/mac?

Dec 1, 2005

is there a way to use actionscript to figure out if a player is using a pc or mac?

View 1 Replies


Similar Posts:


ActionScript 3.0 :: 1180: Call To A Possibly Undefined Method Check -> Var RightCheck = New Check();

Oct 2, 2009

See [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 Replies

Actionscript 3 :: Check The User Selections On Dynamically Generated Radio Buttons And Check Boxes In Flex?

Jan 27, 2011

The 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]...

View 1 Replies

Loading Flv Or F4v On Silverlight Platform?

Dec 17, 2009

is there any possibility for loading flv or f4v on silverlight platform?

View 2 Replies

IDE :: Create A Platform Game?

Aug 29, 2007

I have this problem when i go to shot and then have shot the gun all movie clips accessed after shooting dont stop playing but repeat continuously[code]...

View 1 Replies

ActionScript 3.0 :: Classic Platform Problem

Feb 22, 2009

I have a character on the stage (_ball_mc) which you control with the arrow keys. I also have a rectangle movieclip on the stage (this). I want this rectangle movieclip to act as a block platform.ie. When the character jumps ontop of it he can walk across it, if he walks into it from the left he cant move left any further, same with the right side.These movieclips are not being created at runtime, they are
on the stage.

My registration point of the character is bottom right,

my registration point of the block is top left

I've used the following ENTERFRAME with not much luck.Stopping the character from moving any further when he walks into the block seems to be ok. I'm having trouble getting him to land on the block without conflicting with the leftDown and rightDown.As this is such a common gaming element, I figure there must be some documentation on this ?

View 1 Replies

Youtube Cannot Use P2P Technology Flash Platform

Dec 13, 2010

Can write server-side scripting LCCS has a good server-side frameworkBut why youtube did not use p2p technology flash platform

View 5 Replies

Jquery :: Choosing A Platform For SAAS

Oct 15, 2009

Our team is about to start a SAAS web application geared toward small businesses. This is a completely new experience for us; we are a system/ linux/php development organization and no experience whatsoever developing client side software except for simple html/php based CRUD support applications.We are evaluating both Adobe Flex and JQuery. We can't seem to choose between the two. Our priorities are:Productivity - We have to launch the soonest possible time.Overall User Experience - Resulting apps have to look professional and user must have pleasant experience using our product. I think this not a problem with both platform, though we will probably automatically lose 10% of potential users who don't have flash installed.Skill Reuse - We will all have to learn new language(s) and RIA platform on this project and hope we can use it again on more projects. BTW, we are a software contracting organization and this is our first foray to consumer apps. We are hoping though that we can leverage the skills we gain here for our clients.

Data-centric - Lots and lots of CRUD operations.3-tier - Business logic will reside on PHP server and data will be on the MySQL. The RIA will only present the data to the user.User accessible data will be large - This is why we decided to use RIA. We can't refresh the page when user just made few alterations/additions.Security is paramount - I don't see any security implication on choosing one platform over the other but perhaps the community has some ideas? We are carefully studying this. We frequently hold competition among developers who can implement a test app faster by using a flex or jquery. We would love to hear what the community have to say though.

View 7 Replies

Java :: Which Is A Better Cross Platform Language

Sep 17, 2011

If you wanted to distribute a program to as many OS as much as possible what's the best language to use? I'm considering user's convenience here. For example, they don't need to download java run time, flash or .net framework if they don't have it. Also once they download it, they don't need to compile it themselves.

I'm also considering developer's convenience, in that on one compile, the program compiles different version of OS for you and you don't need to install different os to compile it. Here are the features of the program I'm thinking: Stores text and image to database Uses keywords Can browse information in the webserver via xml Can share(upload and download) information from the web server via xml Can compile and edit related articles via keywords It's something like a blog with advance features and can exist on and offline

View 5 Replies

Flex :: Online Platform For Application?

Sep 28, 2011

Is there any platform/compiler for creating flex application online? Any version will work. I know some action script online compiler but not able to find any flex online compiler.

View 2 Replies

Java :: Best Platform For Writing A Webchat?

Mar 28, 2012

I want to start to make a chat client that runs in web browsers, upon a colleges requests. Its my first time doing something like this, so i made some research about this mostly about HTML5. I did research on the platform itself, how fast and how used it is, but my most important factor was: mobile support.I plan to develop this chat for a long while for experience because, as a coder/programmer I am still inexperienced.So i was thinking in the future as well. i have a forum community with pretty limited chat access. I want to change that as well, and as an extra include mobile support.

i researched Flash, java and HTML5, the two most obvious choice in web applications, and pretty much the new comer HTML5.Flash is more widely used as web app(at least what i saw and found.), and its more designer oriented than programmer, but many chats are written in this, and are used. but there is no mobile support for it, to my knowledge. thats hinders my future plans.Java, is a robust programming language, and saw a few webchats in this, but my main issue with this is performance: its much slower than flash. But at least there is mobile support, at least the android mobiles.

as for HTML5....its pretty much still a child, not all web browsers support it fully but the major ones support web socket already, except IE9. and IE9 is the most used web browser, sadly. And i cant find any support for it on mobiles yet.And i don't know any other platforms out there in the Internet that could do the same as the above three, but i'm open.So my question is: Which is the best platform for writing a webchat, that lest me do mobile support at a latter stage?

View 4 Replies

ActionScript 2.0 :: 2d Platform, Fighter Style?

May 5, 2005

2d platform, fighter style

View 7 Replies

ActionScript 2.0 :: Detect Platform IN Flash

Apr 25, 2007

I'm (still) building a hybrid CD-ROM flash presentation, which is working out nicely.
One of the reqs. is launching PDF files from the presentation. This works well on Windows, using a .bat script and should work fine on MAC using Applescript (haven't tried it yet, but have found some code). Only trouble is: how can I tell from within the Flash standalone projector which platform is being used so I can fire the appropriate script?

View 1 Replies

ActionScript 3.0 :: Getting A Platform To Move Between A Certain Path?

May 19, 2010

I'm having a bit of trouble getting a platform to move between a certain path with AS3.

My code looks like this -

Code:
if (((_platform.x >= 300) && (_sp >0)) || ((_platform.x <= 50) && (_sp <0)))
{
_sp *= -1;
}
_platform.x += _sp;

where _sp is the speed at which the platform moves (currently at 7) and _platform is the instance name of the platform.

I want it to move between the coordinates 50 and 300 along the x axis. What it does is, moves along the x axis and as soon as _platform.x hits 300 I get this weird movement where the platform moves back and forth at this point.

View 3 Replies

ActionScript 3.0 :: Add A Background In A Platform Game

Apr 8, 2012

I am doing a as3 platform game based in arrays, so inside the array I inserted a variable rh that inserts the bg in the stage but it doesn't show up in the stage. The code i have is:

Code:
else if (lvlArray[i] == 'ROCKYHILLS') {
var newRockyHills:backRocky = new backRocky;
newRockyHills.x = _root.stage.width/2;

[Code]....

View 5 Replies

ActionScript 2.0 :: Making Hearth On Platform Game?

Jul 9, 2010

I'm doing a kind of plataform map, and now I need to make health (3 hearts, like Mario). I tried to do it with hittest but the hearts goes like crazy. Guess I need to make something like invulnerable or I don't know. What I want to do is three hearts, and, if the human touches a spike he loses a hearth.

View 5 Replies

ActionScript 3.0 :: Error #1009 In My Platform Game?

Jul 22, 2010

In my basic platform game I have a "hero" that can walk and jump on the "ground." There is also a door to the next scene, which is the next level.The first scene works fine, but "TypeError: Error #1006: value is not a function. at Charles3_fla::MainTimeline/frame1()" pops up once in the output. It works however, and I'm not worried about it. The second I go throught the door though, Scene 2 opens, but then starts flashing as "TypeError: Error #1009: Cannot access a property or method of a null object reference. at Charles3_fla::MainTimeline/onenter()" pops up A LOT in the output. I don't know how to fix it, and would like help. P.S. I am using Adobe CS5 with actionscript 3
 
[Code]...

View 26 Replies

Actionscript 3 :: Flash APIs For Android Platform

May 3, 2011

All i need to do is to invoke the soft keyboard from within my flash application. Is there anything I can do, without using a textfield or any such editable controls, which will pop up the keyboard.

View 1 Replies

ActionScript 3 :: Platform Game - EFrame Continues To Run

Mar 13, 2012

I am making a platform game in flash. I have a goal class (the class which contains code for the goal sprite, where when you hit it, it continues to next part of game). Inside the goal constructor, 2 event listeners are added, they are as follows:
addEventListener(Event.ADDED, beginClass);
addEventListener(Event.ENTER_FRAME, eFrame);

The beginClass function is fine, and only runs once, but eFrame is what checks if the player has hit the goal, so it is constantly running. The problem is, once the player hits the goal, eFrame continues to run, while in a menu describing the next scene to the player. My eFrame function is below.

private function eFrame(event:Event):void{
if(hitTestObject(_root.mcMain)){
var lastScore:int = _root.mainScore;
_root.mainScore = lastScore;
while (_root.lvlHolder.numChildren > 0) {
[Code] .....

Frames 2, 3, 4, are frames with just text and a button that display a message to the player, and then the player hits continue. My problem is that eFrame is still trying to be run, but the class has not been instantiated, and the method is causing extreme amounts of lag once the player continues.

View 3 Replies

Flash 9 :: Embed Fonts Cross Platform?

Nov 12, 2008

I'm working on a project in which I am writing code on a PC and someone else is creating graphics and animation on a Mac. We need to have embedded fonts to work w/xml and CSS. Is there a way to embed fonts so they work inside the fla on both platforms?

View 0 Replies

ActionScript 2.0 :: Create 2d Platform Shooting Game?

Feb 13, 2011

I am creating a 2d platform shooting game. Currently I have my main character walking around left and right and the stage background also moves left and right.

The problem I am having is that if I go to far left the charater just walks 'off stage' and into nothingness but the stage still follows. How can I make it so if the character hits a certain point he just 'stops' and cant go left no more but can go right no problem. I have tried using hitTest with another movieclip but couldnt get it working.[code]...

View 1 Replies

ActionScript 3.0 :: Platform Game Error #1009?

Feb 13, 2010

I am creating a platform game and am getting the following error:#1009: Cannot access a property or method of a null object referenceThis error happens when I remove all children from the stage on line 154 of the Robbery.as class. Im guessing that maybe it is still listening for event in the other classes but I'm unsure how to remove these from within the document class.

View 1 Replies

ActionScript 3.0 :: How To Make Character Jump Onto Platform

Sep 2, 2009

I am trying to make a character jump on to a platform this is my code. The block1, block2 etc are the blocks that I want my character to jump on

PHP Code:
var onBlock:Boolean;
var blockHolder:Array = new ArrayblockHolder.push(block1)
blockHolder.push(block2)
blockHolder.push(block3)
stage.addEventListener(KeyboardEvent.KEY_DOWN, checkBlock)
[Code] ....

The onBlock boolean is used later but my problem is that the code doesn't work.

View 1 Replies

ActionScript 3.0 :: Convert Fla Files Into Quicktime On A Mac Platform?

May 5, 2011

software that will convert fla files into quicktime on a mac platform?

View 1 Replies

ActionScript 3.0 :: Platform Game Fall To Ground Function?

Feb 16, 2010

I have gotten to a point with my platform game where I am completely stuck. I have the player movement working fine but the only thing is, it doesn't fall off the blocks.

I have a Floor class which references the Character class and tells it to stop jumping when it is on a block through a hitTestObject. I have tried to research how other games have added functions but can't seem to find one which will work in mine.

View 1 Replies

ActionScript 3.0 :: Platform Game 0 Can't Get Enemies To Face Hero

Nov 24, 2010

I'm making a platform game. The hero can move around, but the enemies are stationary. My problem is that I want the enemies to face the hero. The first enemy behaves correctly, but the subsequent enemies only behave correctly if I kill all the preceding enemies. I have added the hero and the enemies as Objects and put the enemies into an array called enemies. Both the hero and enemy objects have a direction property and an mc property that refers to their movie clips. This for loop gets called every frame.

for(var i:int = 0; i < enemies.length; i++)
{//face hero
if(hero.mc.x < enemies[i].mc.x) enemies[i].direction = -1;
else if(hero.mc.x > enemies[i].mc.x) enemies[i].direction = 1;
enemies[i].mc.scaleX = enemies[i].direction;}

View 4 Replies

ActionScript 2.0 :: Platform Game - Turning Off Variable In MovieClip

Feb 14, 2011

I am working on a platform game and I am having a problem with the script. I have a mc with my character in it named "mcMain", I placed all the script into it. Inside the movie clip I have 20 frames, the first 5 are standing, walking, jumping, crouching, and crawling. Frames 6-20 are an attacking animation. The problem is in frame 20 I want him to go back to frame one and turn off a variable (called "ram") in the movie clip.

The problem is with the variable ram (which is established in the onClipEvent(load) section of the script). I have it turn on when the character attacks and I want it to turn off after the animation is complete. The problem is it is not turning off. I have it targeted but it does nothing. I have tired both a direct and relevant target along with a _parent.ram = false;

Here is the script on the movie clip.
Actionscript Code:
//Establish VariablesonClipEvent (load) {
var speed:Number = 0;var walk:Number = 6;
var run:Number = 12;var grav:Number = 0;
var falling:Number = 0;
var jumped:Boolean = false;var jumpHeight:Number = 23;
[Code] .....

And here is the script inside the movie clip on frame 20
Actionscript Code:
_root.mcMain.ram = false;gotoAndStop(1);

View 3 Replies

ActionScript 2.0 :: Make Charater Face Mouse Platform?

Aug 16, 2011

I have my as2 code for my game im making so far the char can jump and move left and right. make him face the mouse like lets say my mouse is to the x- of my character than I would want his left facing movie clip (which I havent made yet) to be facing that way etc. where I could start heres what I have:

Actionscript Code:
onClipEvent (load) {var ground:MovieClip = _root.ground;var grav:Number = 0;var gravity:Number = 2;var speed:Number = 7;var maxJump:Number = -12;var touchingGround:Boolean = false;}onClipEvent (enterFrame) {_y += grav;grav +=

[Code].....

That's the movement code that lets me move left and right and jump with gravity

View 2 Replies

ActionScript 3.0 :: Platform Game - Disable Jump When Falling?

Nov 17, 2008

I'm making a platform game in AS3. I've sorted the left,right and jumping movement of my character - apart from one jumpingproblem:When the up arrow key is down it sets the jump var to true.ENTER_FRAME function detects when jump = true and it decreases thecharacters y position by the var velocity while at the same timedecreasing velocity by 1.5px. So my character jumps up to a certainheight then comes down - There is a hit test to stop heump/fall. BUT when the character falls off a platform he can still jumpwhen the up arrow is pressed. I've been racking my brains but I canstop the character from jumping if its falling.

View 2 Replies

Media Server :: Live Streaming With DVR On 64-bit Linux Platform

Nov 9, 2011

I deployed FMS 4.0 enterprise edition on my  64-bit linux platform. in the applications folder of FMS, i create a "dvr" subfolder and at the same time create a dvr.asc. the code is as the following :

application.onAppStart = function()
{
trace("app fme started!");
};

[Code]....
 
i expect the live stream will be recorded on the FMS server , but unfortunately nothing happened . But if i use my pc ( 32-bit windows xp platform) , everything works well. when i connect to my win_xp pc, the fms server automatically created a streams\_definst_myVideo.flv file under the dvr folder.
 
then the fms server on 64-bit linux cannot create the myVideo.flv file ?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved