ActionScript 3.0 :: Get Goldshare And Bank Value Separately

Oct 17, 2009

I want to be able to call 2 values from the mysql db Currently I only get the first one.Any order works.Now I tried to change the parameters in the flash file.I get the 2 values but they are the same.How would I get goldshare and the bank value seperately.[code]

View 3 Replies


Similar Posts:


Professional :: Create A Game Bank?

Nov 12, 2010

I want people to be able the input the amount of money they want to transfer from one var to the other, then choose if they want to deposit or withdraw using a button. They will then get a 5% intrest every Saturday 00:00.I have:

var named totrewarded (ur points) (dynamic text)
var banked (amount in blank) (dynamic text)
var transfer (amount to transfer from tot to bank) (input text up to 6 chars)

[code]....

View 11 Replies

ActionScript 3.0 :: Retrieve Bank Account Balance?

Jan 17, 2010

How I would go about pulling my account balance from my bank through actionscript. I assume this would be a HTTP REQUEST, but not sure. I don't want to do transactions or anything, just read the balance.

View 6 Replies

ActionScript 3.0 :: Creating A Question Bank From Scratch?

Mar 19, 2011

I want to create an online q-bank with questions pertaining to a specific medical board examination. This is similar to the way kaplan and other companies creates Q-banks for standardized exams. The reason: No banks exist for these board examinations

what tools would you use to create a Question bank that has the ability to sort questions by user settings, implement timers, keep track of overall performace, display explanations for each questions, and have the options for video explanations. Is ActionScript up to this task?

View 2 Replies

ActionScript 2.0 :: Create A Graph Of An Exponential Function For Interest In A Bank Account?

Sep 24, 2009

I'm trying to create a graph of an exponential function for interest in a bank account or something. Here's the code I have so far:

Code:
var i:Number=0;
var j:Number=0;
this.createEmptyMovieClip(graph, 1);

[code]....

View 2 Replies

CS3 Move Multiple Sprites Separately?

Sep 28, 2010

I have a function that adds a player to a sprite containerwhen that player is clicked a hit test is done on the tiles surrounding that player that it can move to and put into an array.all that works fine.my problem is after I add more than one player to the stage I can only move the latest addition when I use MapInfo.player.x = (hexagon_width * .25) + hexagon_x_position-90;I thought if I used getChildByName I might get around making a custom event.but I get an Error #1009: Cannot access a property or method of a null object reference. when I use the code below

trace(MapInfo.getPlayer);// =MapInfo.player.name
var targetisplayObject = MapInfo.player.getChildByName(MapInfo.getPlayer);
target.x = (hexagon_width * .25) + hexagon_x_position-90;

[code].....

View 1 Replies

ActionScript 3.0 :: Tweenlite To Add Tweens On A MC 'separately'?

Nov 20, 2010

Anybody knows if it's possible with tweenlite to add tweens on a MC 'seperately' like you can with caurina tweener? the MC will always need to move to X 300 , but depending on circumstances may also need to be tweened to Y or rotated or scaled or alpha'd or colored or filtered. And I also planned to test if it "succeeds" in applying FP10 rotationY to 180 (3D flip around axis) but if that fails applying scaleX to -1 (so it does a simple flip around axis instaed).... basically depending on how the user has set publish settings.

[Code]....

View 10 Replies

ActionScript 3.0 :: Load Swf And Images Separately?

Dec 31, 2010

For each level in my game I have a large bitmap that I need to load. I would like to load the bitmap as the player gets to that level rather than all the bitmaps loading right at the beginning.And this is where I get stuck. I want everything else to load during the beginning pre-loader, but I don't know how to exclude the images from being preloaded at this point. I'd prefer not to load anything externally either.

View 3 Replies

Controlling Vanishing Points For Each MovieClip Separately?

Jul 20, 2009

I'm using the new 3D tool in flash to let pictures rotate around there center. To not let it look distorted I will have to adjust the vanishing points for these images separately, however I can't find an option to control them separately. The seem linked for all my 3D movieclips. This will result in having only 1 moviclip animated right. So the question is: how do I control the vanishing points for each movieclip separately?

View 1 Replies

ActionScript 2.0 :: Get The Two Values In A Two Dimensional Array Separately?

Jul 5, 2011

How can I get the two values in a two dimensional array seperatly. I mean in myArrow[1,1] I want the two values seperatly.

View 1 Replies

ActionScript 2.0 :: Control The Volume Of The 3 Objects Separately?

Sep 20, 2005

On frame 1 from the root I've the following script:

[Code]...

For some reason all three sound objects play at 5% of the volume (the volume that was set for "WhenTextAppears"). I want to controle the volume of the 3 objects seperatly,.... I thought the code above should do the trick but it doesnt.

View 1 Replies

ActionScript 2.0 :: Preloading Movie Clips Separately?

Nov 4, 2004

I was wondering if this was possible, so that i would just have a movie load with a plain bg color and then have movie clips placed on the stage which start to show based on the percentage that they are loaded. here is the code i was messing with which didn't seem to do the trick[code]...

View 2 Replies

ActionScript 2.0 :: Pageflip: Load Each Page Separately

Jan 18, 2005

I just found the "famous" pageflip and encouterd a problem. I need to load each page seperatley.. cause loading the pageflip takes a while (its 1 mb) example:[URL] I tried putting this on every pageMC: _root.mymovieclip.loadMovie("page1.swf") followed by a preloader script, but that didnt work the pageflip can be downloaded here: [URL]

View 3 Replies

ActionScript 3.0 :: Color Grid Rows Separately At Run Time?

Aug 11, 2009

I want to color some lines of datagrid under some conditions at runtime. How can i color a single row of datagrid? It may be background coloring or text coloring.

View 1 Replies

ActionScript 3.0 :: Make 2 Different Buttons Open Same Movieclip Separately?

Aug 9, 2010

I got a website that has different buttons that each open a different movieclip (a window with content).
But some buttons will have to open the same movieclip as the other button...

So, to make it bit better to understand than my weird explanation above:

Button1
}---- Open Movieclip (content window) 1
Button2

[Code]....

View 7 Replies

ActionScript 3.0 :: Control Movie-Clip Instances Separately?

May 29, 2009

I have a project with two text boxes, "nameBox" and "controlBox" and a button, "createButt",I want the code to control boxes that are made in ActionScript separately, so if i put Hello into the nameBox and press createButt it will create a box with a variable attached called the playerName being the name that is entered in nameBox, when i type the name of the block into the controlBox the block will start to move, the problem is though, doing it with two blocks on the stage it will only move the block every two frames and any more will be slower, is there any way to make this code move the specified block every frame?[code]...

View 1 Replies

ActionScript 3.0 :: Listing Each Class In Imports Separately Instead Of Using A Wildcard?

Feb 9, 2012

I just wondered, what is the benefit of listing each class in imports separately instead of using a wildcard?[code]Is there any benefit at all?

View 3 Replies

ActionScript 3.0 :: Accessing File Located On A Separately Mounted Volume (mac)

Oct 24, 2008

This is not web-based. It is a projector file running locally off my my hard drive and connecting to files on another server on my network.

I'm trying to link to this file through the following code:

loader.load(new URLRequest((path == null) ?
"file:///10.10.100.255/my_file.xml" : path));

(obviously that IP is not real)

but it can't see it. However, it works fine connecting locally.

Does URLRequest not work for finding files on another server?

View 1 Replies

Flex :: Change The Fill And Stroke Separately In A Vector Graphic?

Oct 13, 2011

If I have a rectangle which has a fill of blue and stroke of orange how can I change the stroke to black and the fill to red using actioncript.

When I use the following code it changes the entire rectangle to 0x008000 (green). Either the fill is covering the stroke or it is changing both the fill and stroke to 0x008000 (green).

var myColor:ColorTransform = myRectangle.transform.colorTransform;
savedColor = myRectangle.transform.colorTransform;
myColor.color = 0x008000;

[Code]....

View 1 Replies

ActionScript 3.0 :: Class File Be Stored Separately And Accessed On A Website?

Mar 14, 2012

Is it possible to host a class file separate from everything else on a website where it can be edited when needed? For example, I'm thinking that in the Linkage section of the movieclip you would put the path to the location of the as file on the website, so [URL] <--well I guess without the ".as".

View 1 Replies

ActionScript 3.0 :: Create Several Movieclips For Each Page And Then Add The Contents Into Pages Separately?

Jul 26, 2011

how does pagination work? Is that I just need to create several Movieclips for each page and then add the contents into pages seperately?? Or is there any available tutorials??

View 2 Replies

ActionScript 2.0 :: Menu To Call And Load Image-heavy Movies Separately

Jan 13, 2010

I am trying to create a flash service tutorial to appear on a website that will be able to play and load 6 steps of a process separately when prompted with a button click. I do not want to link back and forth between web pages to do so, but rather have the files loaded on demand and played within one flash movie "viewer" to keep things clean.

Each movie is going to be somewhat image heavy. load each of the 6 step movies within one main movie file?

View 2 Replies

ActionScript 3.0 :: Dynamic Content Cross Fade Audio And Video Separately?

Jul 25, 2010

Im working on a project and I dont know how to even think through the problem, as I've only worked through Flash through AS3, and the following needs to be done completely in AS too.

I have two pieces of content - some flash video, and an mp3, both loaded dynamically with loaders etc. All this I think I have fairly well in hand. What I'd like to do make the 'hick-up' as these tracks loop, disappear by cross fading the video and mp3 across it self in the loop - if that makes any sense at all. I suspect that I'll have to delve into the timeline, but perhaps strangely, never done so.

View 2 Replies

ActionScript 3.0 :: Setting The Alpha Of MovieClip With Objects Changes The Alpha Separately For Each Object

Oct 23, 2010

[URL] i want the object to fade out but in the object there's a lot of overlapping pictures and each becomes half transparent. how to make the movieclip to change the alpha as it was without objects?

[Code]....

View 2 Replies

ActionScript 2.0 :: Changing Lots Of Movieclips Color And Border Color Separately?

Dec 23, 2008

I am in the making of a isometric level editor, and I have about 15 movie clips with more to come. I want to let people change the color of tiles to what they want from a list of colors, so how can I let them change the color of a tile dinamicly with actionscript so that it changes a tile's color while preserving changes of "shadows"? I mean I have let's say a cube and to make it look 3D I need to change each face to make a feeling of 3D and not a flat one.

View 1 Replies

ActionScript 2.0 :: 2 Flash Files - Both Files To Be Independent To Each Other And Controlled Separately?

Jul 13, 2005

i have attached a flash file.the problems are

1) i have palced 2 flash file on my web page.if i stop the sound on this file then the sound on another flash movie placed on my web page also stops.i want both the files to be independent to each other and controlled separately

2)if i click on play it shows loading.even after it loads the file it doesnt change itz status. if i click again on play then itz status changes to play.my codes for flash.....

soundUrl = "test.mp3";

// create sound object, assign properties and events
function createSoundObject(){[code].....

View 1 Replies

Professional :: Image Gallery - Click On Each Image Separately

May 12, 2011

I have a dynamic image gallery that pulls the pics into a movie clip and adds them to the container (slider) The issue i am having is that when i click on this i am essentially clicking on all the items collectively and i would like to be able to click on each image seperately...

[Code]....

View 4 Replies

IDE :: Swf Files Work Fine Separately, Don't Work When On Same Page?

Feb 22, 2010

I have run across a strange problem. When I load products2.swf by itself, I can call the two "copy" files and everything works. When I open 0342.swf (the index page), I can switch between the home and products2 pages, but I can't view the "copy" pages.I'm guessing there may be some sort of conflict with variable names, but I have been messing with it for most of today.I have uploaded all of the FLA files to here:[url]....

If you make an swf file out of each of the attached items, and open the 0342 file, you will see what is supposed to be happening.

on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "home";[code].....

View 3 Replies

Create Each "page" Separately?

Feb 2, 2010

In the attached screenshot is what I have created so far.Would it be easier to create each "page" separately, so I use what I have as a template and then create a new file at the end to link them all together?

Also, how would I link the navigational buttons on the left to each frame?

One other thing, the content box on the right, how can I make that scrollable?

View 2 Replies







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