ActionScript 2.0 :: An Inventory System That DOESN'T Work

Mar 27, 2005

I'm having trouble getting a certain function in my inventory to work properly.

View 5 Replies


Similar Posts:


ActionScript 2.0 :: Inventory System That DOESN'T Work?

Mar 27, 2005

I'm having trouble getting a certain function in my inventory to work properly... here's what I have...

View 6 Replies

CS3 Adding An 'inventory' System?

Mar 5, 2012

I'm making a sort of interactive graphic novel and was wondering how would I implement some sort of inventory system. Btw, I'm using Actionscript 2.0

----INVENTORY SYSTEM 001----

You see, I would like the ending screen to show a summary of what the player has done in the game.And certain points in the game would add certain 'items' into the inventory which will in turn affect what is displayed in the summary screen.The 'items' here being words or phrases.eg:

Quote:
You _______ with the _______ and proceeded to _______. But you _______.


For example, if the player chooses Path A, summary screen will show: eg:

Quote: You stabbed the unicorn with the shark fin and proceeded to shag your mistress. But you ate a pecan pie.But if the player chooses Path B, the summary screen will instead show eg:

Quote: You stabbed the tree with the shark fin and proceeded to shag the corned beef. But you smashed a watermelon and caused a civil war.

----INVENTORY SYSTEM 002----

I think with a few modifications, this inventory system could also be used to affect the outcome of the movie depending on what item the player currently owns? Please enlighten me if this system is feasible.

The player is given a choice to pick up a spoon or a fork in the beginning of the game.The player is later faced with a soup crisis. If the player has previously picked up a spoon, the soup can be consumed. Otherwise, the soup is left well alone.

View 13 Replies

Media Server :: Rtmp Streaming Doesn't Work On Mac OS System

Sep 1, 2011

i try to play video on Mac OS system using the standard embed code:
 
<object height="409" width="600"><param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" /><param name="flashvars" value="src=rtmp%3A%2F%2Fmy-server%2Fvod%2Fflv%3Amy-videoposter=http%3A%2F%2Fosmf.org%2Fimages%2Fposter_cathy_fmp.jpg" /><param

[Code].....
 
on Safari and Firefox but it doesn't work!
 
Is it a FSM problem or Flash Player problem?

View 1 Replies

ActionScript 2.0 :: Dynamic Masks - Trail Doesn't Resize And The Mask Still Doesn't Work

Oct 16, 2009

I decided to try to use setInterval for myanimation, which is just a mouse trail.However, I'm trying to get teh mouse trail to be a dynamic mask.In my previous swf this was achieved by using a holder mc with the animation inside and then using this as the mask. But this time I just canpt seem to hit on the right way to get it to work. The code I am using for the mouse trail is:

Code:
var i:Number = 0;
var myInt:Number;
var t:MovieClip;[code].....

in the function, but now the trail doesn't resize and the mask still doesn't work.

View 1 Replies

ActionScript 3.0 :: Why Doesn't Adobe Allow System.gc() In The Release Player

Jun 8, 2010

why we don't have the option to force Garbage Collection in the release player?

View 2 Replies

ActionScript 2.0 :: Find Alternatives But The Event System Doesn't Dispatch Events?

Mar 26, 2007

I noticed that the Object.watch and Object.unwatch methods are gone in actionscript 3.

I've tried to find alternatives but the event system doesn't dispatch events when properties change, There is a data binding system but I think that's just for Flex.

Does anyone know what (if any) the alternative is?

View 1 Replies

ActionScript 3.0 :: Width Doesn't Work - How To Make It Work

Apr 21, 2010

I have a button object that I need to scale to align with the variable width of an array of images.However, when I set the width in code, the button does not actually become that width. Tracing out the width gives me the correct value, but on screen.. it's off.

I've proved it to myself by scaling the same button object manually in the properties pane and visually comparing. Both of the buttons below have a width of 410.

Code:
navigatorDown_btn.width = 410;
navigatorDown_btn.x = (stage.stageWidth/2)-(navigatorDown_btn.width/2);
trace(navigatorDown_btn.width); // output: 410

View 4 Replies

ActionScript 3.0 :: Using System Capabilities To Work Out If In A Browser

Aug 13, 2009

I want to run a switch to detect if Im using my application insode a browser or just run in a player during testing. I'm wondering why I cannot findwhat Capabilities._internal gives me yet....

View 1 Replies

ActionScript 2.0 :: LoadMovie() Only Work On A Local System?

Oct 17, 2004

why a loadMovie("movie.swf", "_root.targetMC") would work on a local system, but when put onto a server (with EXACTLY the same file dir setup) would just lock up trying to transfer data? And I am talking about files that just contain one line of text, and nothing more. WTF?

View 2 Replies

ActionScript 2.0 :: Turn Based Battle System Won't Work?

Sep 6, 2009

Basically I am making a Turn Based battle system. Each Frame is an attack. So for the enemy I did this:

(in scene Frame) attack = Math.round (Math.random ()*2)+0;

so it would randomly attack

then I also put in this in an object INSIDE my enemy clip

onClipEvent(enterFrame){
onClipEvent(enterFrame){
if (_root.attack == 1 || _root.attack == 2){

[Code].....

you see what ive tried to do here havent you?

why isnt it working? it plays, the random value thing works(used dynamic text box to check this) so what am i missing? (using AS2)

View 17 Replies

ActionScript 2.0 :: System.security.allowDomain(domain) Exactly Work?

May 30, 2008

how does it work?

Code:
var domain = "http://www.mydomain.com";
System.security.allowDomain(domain)

View 2 Replies

Media Server :: Convert A Windows App To Work On A Linux System?

Jan 17, 2010

For the past while, my developer has been working with me on a small project to put together a live interactive whiteboard app, powered by Flash Media Interactive Server. Well, everything is finished & ready to go, but there seems to be a big problem:
 
The app was developed & tested on a windows machine, while my server and all my website files (to integrate with) is on a Linux system.
 
It's been a month since this problem arrose, and there had not been any further progress with this project for the time. My developer doesn't seem to know much about how the 'conversion process' works, if there is one.
 
Do you know if this is possible (to convert a windows-programmed app to work on a linux system)? If so, do you know roughly how it should be handled?

View 2 Replies

Professional :: Test The Buttons To See If They Work On System (localhost) And Not On A Random Website

Apr 16, 2010

I have just created a flash navigation menu in which I imported to dreamweaver to link with the rest of my website. But if I want to test the buttons to see if they work on my system (localhost) and not on a random website, what url do I put? Or do I have to wait until I put my pages on the server and simply paste in the address?

[Code]...

View 3 Replies

Media Server :: Flash Media Live Encoder Doesn't Recognize System Speakers?

Jan 6, 2012

When using Adobe Flash Media Live Encoder, it doesn't seem to recognize my system speakers, so I can't record system audio.

View 1 Replies

Swf Into Fla Doesn't Work?

Jul 23, 2009

I have a swf that is pretty complicated, you can interact with the page and go to different keyframes and it stops and/or starts depending on buttons, but I want to put it in a fla or something so I can put other swfs next to it and build it up and put several of them together as one.

I don't care about making it too complicated, I just want one interactive swf to go to the next compiled swf when that movie ends, but when I try importing it or loading it it just runs straight through without stopping or paying any attention to the scripting.

View 16 Replies

ActionScript 3.0 :: System.useCodePage - Getting Error 1120: Access Of Undefined Property 'System?

Aug 7, 2009

I got a textfile who i am reading on a serverside script and passing it as a script to my client side as3 code. The problem is that i am using characters like ä,ö,ü,ß and this isn't well displayed. I tried System.useCodePage but the compiler complains about : 1120: Access of undefined property 'System'. It doesnt matter if I tried this on the first line of the 'Action' in the first scene or in the first line of the first .as file i am loading. (btw i am only working with .as file and not in the timeline). When i am importing flash.System.* the compiler complains he dont know useCodePage.

View 3 Replies

ActionScript 2.0 :: CS3 'if' Doesn't Work But 'else' Does

Apr 8, 2010

I am trying to more between frames using the data returned from a node n_EventID in an xml, when the node returns "1408" I want to move to frame 1 but if it returns anything else I want to move to frame 2. The part where the code moves to frame 2 seems to work perfectly but I can't seem to move to frame 1 when "1408" is returned.

xmlResultFinish = new XML();
xmlResultFinish.ignoreWhite = true
xmlResultFinish.onLoad = loadXmlResultFinish;

[code]....

View 5 Replies

Flash Doesn't Work On Some IE's?

Apr 14, 2010

I'm having a problem, where random IE's are not able to display my .swf file. All the IE's are IE8 with the latest flash pluggins and all security's are set at Medium, however some IE's get just a grey box and other's get the full flash file. What's going on? It works fine in Safari and Firefox of course, but why so much difficulty with AS3 Flash9 in IE? here is a link to the site, and it's the big image changer at the bottom of the front page.

[URL]

View 2 Replies

.swf Fullscreen Doesn't Work?

Nov 19, 2009

But my proublem is that I have a flash presentation.The defalt for moving the slide screens back and forth are left and right arrows.It works fine when tested or even the .swf fileBut then the left and right buttons don't respond when I go to fullscreen.

View 5 Replies

ActionScript 3.0 :: SWF Doesn't Work In IE

Dec 10, 2009

Is it common for AS3 apps to not work in IE? Is there a way to make them work? I have a movie clip in my library linked to a custom class Main and I have nothing on stage. Just one frame. Everything is built inside that movie clip. I add that movie clip to stage through a document class and everything works perfectly in Firefox and Chrome but when I open it in IE, it's just a blank page.

View 6 Replies

IDE :: Pop Up Doesn't Work In IE But In Safari?

Apr 12, 2007

i followed the instructions oh how to make a centered pop up window here :i'm using a mac..nd it works in Safari... but when i try to use explore to open it, the pop up window doesn't come up...why is that.......? did i do something wrong?here is my website:and please click on 'message' to see for yourself.

View 5 Replies

IDE :: Pop Up Doesn't Work In IE But In Safari

Jan 9, 2004

i followed the instructions oh how to make a centered pop up window here : [URL]

i'm using a mac... and it works in Safari... but when i try to use explore to open it, the pop up window doesn't come up..

here is my website: [URL] and please click on 'message' to see for yourself.

View 6 Replies

ActionScript 3.0 :: Selecting Items From An Inventory

Dec 9, 2010

So you start off with all of the items in the inventory. You do not have to collect them.I have 8 MovieClips on the stage each with a different instance name. I made a class called Rebound and linked all the inventory MoivieClips to the Rebound class as the base class. they each have their own unique class.What I'm trying to do is select one of them. when you release the mouse off the movie clip (MOUSE_UP)it goes to frame 2 of its movieclip and making a variable I made up called isSelected = true.but when you click another item in the inventory I want it to deselect the item you clicked first so it goes back to frame 1 and isSelected = false. The problem I'm having is that it selects the first item when you click it. But when I click another the first stays on frame 1 and isSelected stays true. So if I click all 8 in a row they all become selected.[code]I thought this. called on every movieclip of the Rebound class?So instead of this. if there is something that can choose all of the movieclips that belong to the Rebound class I think I could use that instead. If there is such thing.

View 1 Replies

ActionScript 3.0 :: Selecting Items From An Inventory?

Dec 9, 2010

So you start off with all of the items in the inventory. You do not have to collect them.

I have 8 MovieClips on the stage each with a different instance name. I made a class called Rebound and linked all the inventory MoivieClips to the Rebound class as the base class. they each have their own unique class.

What I'm trying to do is select one of them. when you release the mouse off the movie clip (MOUSE_UP)

it goes to frame 2 of its movieclip and making a variable I made up called isSelected = true.

but when you click another item in the inventory I want it to deselect the item you clicked first so it goes back to frame 1 and isSelected = false. The problem I'm having is that it selects the first item when you click it. But when I click another the first stays on frame 1 and isSelected stays true. So if I click all 8 in a row they all become selected.

here's the class

Code:
package {
import flash.display.MovieClip;
import flash.events.MouseEvent;

[Code]....

I thought this. called on every movieclip of the Rebound class?

So instead of this. if there is something that can choose all of the movieclips that belong to the Rebound class I think I could use that instead. If there is such thing.

View 1 Replies

ActionScript 3.0 :: Selecting Items From Inventory

Dec 6, 2010

I have 8 MovieClips on the stage each with a different instance name. I made a class called Rebound and linked all the inventory MoivieClips to the Rebound class as the base class. they each have their own unique class.What I'm trying to do is select one of them. when you release the mouse off the movie clip (MOUSE_UP)it goes to frame 2 of its movieclip and making a variable I made up called isSelected = true.but when you click another item in the inventory I want it to deselect the item you clicked first so it goes back to frame 1 and isSelected = false. The problem I'm having is that it selects the first item when you click it. But when I click another the first stays on frame 1 and isSelected stays true. So if I click all 8 in a row they all become selected.[code] if there is something that can choose all of the movieclips that belong to the Rebound class I think I could use that instead.

View 7 Replies

ActionScript 2.0 :: F8 DuplicateMovieClip Doesn't Work

Jan 15, 2009

this is what i have on the maintimeline:[code]I have 4 moveiclips called: redhex, bluehex, greenhex, and yellowhex.what the above code should do is make a 15x15 grid of hexes (yes i wanted all 4 hex mc's overlapping each other at each space on the grid.).Before i added the lines to dupllicate the blue, green, and yellow hexes also... the redhex movieclip duplicated exactly as it should.But after adding the lines to duplicate the blue, green, and yellow hexes also, in the same locations... Nothing at all showed up when i tested the movie (not even the redhex's)

View 4 Replies

ActionScript 2.0 :: Key.isDown Doesn't Work?

Apr 12, 2009

In the actions of a movie clip,I want to use something like:

PHP Code:
if(Key.isDown(W)){
//do stuff
}

But,it does not take anything else than LEFT,RIGHT and some others.I even tried ASCII:

PHP Code:
if(Key.isDown(100))
{}

It doesn't work.Then how do we use keys like W,A,S,D?

View 1 Replies

9-slice Scaling Doesn't Work

Sep 18, 2009

I've made a rounded rectangle with a gradient fill and another rounded rectangle over it with a transparency to create kind of a glossy effect. Both objects are part of a symbol in the library of the FLA file. Then, I activated the checkbox to create a scale-9 grid, and the Export for Actionscript checkbox in order to add this symbol from AS3. Next I made sure that every rounded corner was completely included in the slices on the edges of the grid. Well, no matter what, the object is scaled as a normal graph: the rounded corners appear bigger and deformed.

View 4 Replies

ActionScript 2.0 :: [F8] : DuplicateMovieClip Doesn't Work

Mar 12, 2010

this is what i have on the maintimeline:

Code:

initialize();
function initialize() {
for (i=1, r=0; r<15; r++, i++) {
for (c=0; c<8; c++) {

[code]...

I have 4 moveiclips called: redhex, bluehex, greenhex, and yellowhex.what the above code should do is make a 15x15 grid of hexes (yes i wanted all 4 hex mc's overlapping each other at each space on the grid.).Before i added the lines to dupllicate the blue, green, and yellow hexes also... the redhex movieclip duplicated exactly as it should.But after adding the lines to duplicate the blue, green, and yellow hexes also, in the same locations... Nothing at all showed up when i tested the movie (not even the redhex's)

View 8 Replies







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