ActionScript 2.0 :: Fixing A Slight In Platforming Engine?

Dec 20, 2004

Right, so I've got this engine down:[URL]..EDIT: Arrow keys to move, a to jump.It seems fine at first, but as you can see, if you jump with a platform overhead, you get stuck in that platform - that happens because the registartion point of the mc (the '+') is at the feet of the character. It needs to be this way so that it registers on the ground.

[Code]...

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Slight Scrolling Glitch?

Jun 6, 2011

I've nearly finished a core part of a project but I'm having one very annoying glitch when it comes to a scroll bar. This is my code:

(Thumb = Scroll Button
Track = Scroll Bar
Content = the Movie Clip containing scrollable content

[code].....

View 0 Replies

ActionScript 3.0 :: Video Set To Loop But With Slight Pause At End

Sep 26, 2008

I have a video looping via AS3; only thing is the video slightly pauses at the end before it loops. I have tried the following, but no matter which method, I get that pause:

(METHOD 1)
container.myVideo.autoRewind = true;
container.myVideo.addEventListener(VideoEvent.AUTO_REWOUND,
loopVideo);
function loopVideo(event:VideoEvent):void {
container.myVideo.play();
}

(METHOD 2)
container.myVideo.addEventListener(VideoEvent.COMPLETE, playAgain);
function playAgain(evt:VideoEvent):void {
container.myVideo.seek(0);
container.myVideo.play();
}

View 1 Replies

Flash :: Short Movie And Have Run Into A Slight Snag?

Jun 1, 2010

wratts here gang , im doing a short flash movie and have run into a slight snag . i want to create the effect of a chase through space at high speed ( starfeild ). so far my efforts have left me scratching my head .

perhaps one of you know some Action script that can help me out .

View 1 Replies

IDE :: Slight Variation On The Complex Button Not Working?

Dec 4, 2009

I'm following the complex button tutorial (http:ur....), though I'm trying to alter it a bit so that I can have an animating movie inside the movieclip, but be able to use another movieclip (or button or whatever) to define the size of the first, since the first is so big just about any movement on the stage triggers its movement.

View 5 Replies

ActionScript 2.0 :: Create Slight Movement With Movie Clip?

Jul 2, 2009

All i need is to add is mouse movement so when you scroll up down left right the movie clip moves about 50pixels in each direction..any tutorial script I have found does not add a width and height restriction making me drag the movie off the screen.

View 13 Replies

ActionScript 2.0 :: Slight Delay Between Pressing The Key And The Symbol Moving?

Jul 24, 2005

Here is the code I am currently using. (The instance name being mcBox)One problem I am having is a slight delay between pressing the key and the symbol moving.Another problem is I would like the movieclip symbol to play its own timeline when a key is pressed.

[Code]...

View 2 Replies

ActionScript 2.0 :: Fixing Ambiguous Combobox Reference?

Jul 26, 2010

I have two frames in my Flash piece. On one frame I have a combobox called source_id, and on the other frame I also have a combobox called source_id. Now I know I could rename these but I want to keep them the same for various reasons.

View 1 Replies

ActionScript 2.0 :: Fixing Messy Dropdown Animation

Nov 17, 2011

There are three buttons on the stage. The second button opens a dropdown menu and pushes the third button. I solved this by changing the _y position but it's crude! Then, when you press button#3 or button#1, the dropdown menu goes up and all the buttons realign to their initial positions. Here's the script for button#1 and button#3 (activeZone is a hidden Movie Clip that triggers the animation):

[Code]...

View 2 Replies

ActionScript 2.0 :: Flash Project And Fixing A Few Things?

Aug 6, 2007

fixed the issues, sorry for posting, delete this

View 1 Replies

ActionScript 3.0 :: Flash Fixing Date Countdown?

Dec 13, 2010

I would like to get this date countdown working. Right now it is inaccurate in its count.t's off by almost 30 days.

Code:
//Create a date object for 3/25/2011
//HOW TO ADJUST FOR TIMEZONE?

[code].....

View 1 Replies

ActionScript 3.0 :: Fixing: TypeError: Error #1010?

Apr 10, 2011

Code:
TypeError: Error #1010: Un trmino no est definido y no tiene propiedades.
at main_fla::MainTimeline/hero_move()

[code]........

View 2 Replies

ActionScript 3.0 :: Ellipse - Draw The Top Of A Screw Which Is At A Slight Angle As Its In Perspective

Nov 8, 2009

Trying to draw the top of a screw which is at a slight angle as its in perspective. I've tried doing this with the drawEllipse tool but its doesn't seem to be able to let me tell it I don't want it positioned straight, I want it rotated a little bit. I've tried doing it with curve To but it looks rubbish, but then I have only used 2 anchor points.

View 5 Replies

ActionScript 3.0 :: Slight Delay In Button Sounds During Sound Stream?

Jan 30, 2009

I have some sounds on buttons:

Code:
var mySound:Sound = new myLibrarySound();
myButton.addEventListener(MouseEvent.CLICK, playSound);
function playSound(e:Event):void

[code]....

... and that works fine. I then have some streaming music:

Code:
var myStream:Sound = new Sound();
myStream.load(new URLRequest("myPath.mp3"));
myStream.play(0);

... and that works fine too. Now, however, the initial button sounds have a slight delay -- I'd estimate about 150-250 ms. It's enough that rollover click noises happen about the time you click, and click noises happen about the time you release, etc. Now, here's the KICKER. It only happens in FIREFOX. CURSE FIREFOX. Seriously. I've been having so many Flash issues in FF3, it just drives me nuts. Firefox and wmode is a pain, Firefox and sound is a pain, Firefox has been crap for Flash development lately.

View 2 Replies

ActionScript 3.0 :: Fixing Stage Size Independent Of Resolution?

Jan 13, 2010

I'm sure it's been posted about a million times before but I've been trying vars searches and seem to always be coming up with answers to do with the exact opposite of what I'm trying to achieve! I'm creating a flash Movie that is 800 x 600 pixels in size and I'd like to fix that size so that it will always be 800 x 600 regardless of the screen resolution of the computer running it. At the moment it seems to scale by default and is winding up looking ugly on other people's computers.

View 3 Replies

ActionScript 3.0 :: Fixing A 1021:Duplicate Function Definition

Nov 1, 2010

I know where the duplicate function is, but I can't figure out how to remove it without causeing more errors.

[Code]....

View 2 Replies

ActionScript 2.0 :: Fixing Bug In Code That Swaps Cards Onmousemove

Oct 22, 2009

i was in the very initial stage of my code but now i have completed my file and need some help fixing a bug in the file.The basic idea is to arrange the cards in order user seem fit but the problem i am facing is that when i swap cards on mousemove a particular card doesn't have its properties updated it shows xpos ypos and its col and row id as undefined until i click on it and then only the card takes its properties I know i am not setting something properly some where but am kind of totally clueless about it.I am attaching the fla and xml here . the xml is only for the increasing or decreasing the length of the columns and rows.

View 1 Replies

Professional :: Rotation - Slight Pulsing As The Symbol Rotates When The Animtaion Plays

Aug 14, 2010

I've got a symbol that's circular, and I'm trying to make it rotate. My problem is that everytime I rotate it (45 degrees per frame), the dimensions change slightly on me. It's a circle with a height and width of 364 pixels. After rotating it clockwise 45 degrees, the new dimensions are 386.9 by 397.4. The result is a slight pulsing as the symbol rotates when the animtaion plays. I can't figure out what's happening, and it's SUPER frustrating.

View 5 Replies

ActionScript 3.0 :: Fixing Flash's Dodgy Rendering For Small Elements?

Feb 23, 2009

Eversince I've worked with AS3, Flash always seems to have some odd way in rendering pixel-precise vectors. For instance, Friday I tried to draw a roundRect with a line around it. However, when zoomed at 100% it looks crappy and not how it's meant to look:So, when zoomed in in Photoshop you'll see more clearly that it's off:But whenever I zoom in with Flash itself, it looks OK:The quality is set to High, so that can't be it. Is there any flag in AS3 to make Flash render vectors more accurate?

View 1 Replies

Actionscript :: Flex Charting - Fixing The Background Grid And Multi-line Plotting

Jan 19, 2011

I have two requirements for a flex charting component:

1) The grid lines should always remain fixed to a scaling I define using an array of data. Something like a graph paper sheet.

2) Plot multiple line series data over this grid.

How does one get complete control over the background grid lines? I have tried a combination of annotation elements and setting the linechart background elements. If I get the grid right, I can't plot over it (Probably due to the scale). how would one go about designing a graphpaper like interface for linecharts in flex/actionscript?

View 1 Replies

Professional :: FLV - Video Slight "jump" When The Movie Is Looped

Dec 14, 2010

I have an FLV video that I am attempting to loop. I have tried various methods, but all of them cause the video to have a slight "jump" when the movie is looped. I can't seem to get this to go away... See the following link: [URL] Here is what I have tried:

- Using JWPlayer

- Using Flash embed method

- Using an SWF to display the FLV Currently, in the link above, I have an SWF displaying the FLV. But, I am willing to try anything.

View 5 Replies

ActionScript 2.0 :: Change The "news" Section Without FIXING The Whole .fla And Exporting And Uploading It

Feb 13, 2002

If i have a huge website, and i want to be able to change the "news" section without FIXING the whole .fla and exporting, and uploading it, would it be possible to do this without all of this stuff. can this be done through passwords, inputting text boxes, and dynamic text boxes?

View 1 Replies

Media Server :: Fixing The "Failed To Make Debug Connection ..." Error?

May 15, 2010

I am trying to start making an admin client side application to monitor our service, including its properties that simply cannot be done through Administration Console, like blocking IP addresses of offending users.My problem is that even before I start using the Administration API (on which I will comment further down), I tried to f.e. inspect theshared objects and streams of the application through the Admin. Console, but I get a popup "Failed to make debug connection, please check that the application is in debug mode." Configuration files are unaltered from install, which means xPendingDebugConnections is set to 50, AllowDebugDefault is set to false, BUT in the serve side main.asc file I have "application.allowDebug = true;"Also, on a related note.

I can see that the Administration API lists the API itself, but there is vague to no mention at all where to connect first? I recall spotting somewhere suffixing the RTMP URL with something like "_fcs_debug" or something, but you can see how this frustrates me - I really don't like to google stuff that is supposed to be in the documentation The application instance usually accepts connections from regular non-admin clients, with proper parameters, which are irrelevant for admins unless these are users too (double membership, you can say)

View 11 Replies

ActionScript 3.0 :: Get Best 3D Engine?

May 17, 2010

I have plans for a 3D project but not sure which way to go.

View 5 Replies

ActionScript 3.0 :: Simple 2D Engine

Nov 16, 2009

Is there a simple scene management/rendering 2D engine for Actionscript 3 there? All I need is simple engine, wich I don't have time to write on my own for. I googled and found pushbutton, but it seems to be too big for my needs. I need simple scene and rendering.

View 1 Replies

ActionScript 3.0 :: Best Flash 3d Engine?

May 23, 2010

I'm thinking about learning a flash 3d engine. I need some advice on which one to use. There's quite a few out there. Which is the best? I'm also considering whether there're a good bunch of tutorials on the web, that can make the learning easy.

View 9 Replies

Excel :: Search Engine On A CD?

Nov 28, 2011

My new project consists in setting a CD containing a structured data sheet (CVS, XML or Excel) and a serach engine. The idea is to allow the user (even not connected) to make searches live on the CD. There will also be a up-to-date version of the data on internet so if the user is connected, the application will prioritary load the online data.I was thinking at using ACTIONSCRIPT and XML.My questions are:1- Is ActionScript + XML a good choice?2- Is it possible to think at PHP + XML (so how to embed PHP on a CD without a sever?)

View 1 Replies

ActionScript 3.0 :: Get Best Physics Engine?

Mar 9, 2011

I am in need for some 2D physics seen from "above and straight down". Basicly I can sum it up with a "throwing balls into walls" kinda physics.

There seem to be quite a few physic engines for as3 out there, but I wonder if anyone have anyone special to recommend regarding my particular need as well as performance of the engines.

View 9 Replies

ActionScript 3.0 :: Four 3D Engine Benchmarks

Sep 19, 2009

I recently benchmarked the four most popular 3D engines (Papervision3D, Away3D, Sandy, and Alternativa3D). The latest versions of each. Default settings, no mip mapping or any advanced features turned on.My main reason for doing this was to see how my 3D engine compared, performance wise. But I thought I would post the benchmarks, as I'm sure some of you might find them interesting, or useful, if you use Flash 3D engines.First I'll explain the benchmark and why I did this particular test. It's 1000 texture mapped planes, 100 by 100 pixels, each comprising of 2 polygons. So that's 2000 polygons and 4000 vertices being rendered per frame.Now my reason for doing textured mapping is because the vast majority of people are going to use texture mapping in their 3D work, as opposed to wireframe or vector filled polygons, so obviously the texture mapping performance is important.And I decided to do 1000 small planes, rather than just one huge 2000 polygon plane because this test has a significantly larger amount of vertices than 1 big plane, thus being more of a test for the 3D transformations.Also being that there are 1000 planes, it tests how quickly the engines traverse the list of models, do the transformations, and add them to the renderer each frame. Again, this is more of a task than having just 1 model.Now as for the results, funnily enough, they are pretty much ranked in terms of popularity Papervision being the clear winner, then Away3D, then Sandy, then Alternativa.I get 19fps for Papervision, about 11fps for Away3D, 7.5fps for Sandy, and a shocking 2.5fps for Alternativa.It's given me a new found respect for Papervision. It has very respectable performance, much faster than the rest in terms of raw poly pushing power. I previously thought PV was overrated, and it's success mainly due to great marketing etc, but no. From the demos etc, I thought away3D would be faster, but actually PV is almost twice as fast.It's impressive that they've created a very easy to use, versatile and user friendly engine, with pretty good performance to boot. I think underrated PV before, because I'd seen fairly simple things like a 3D menu, or some 3D images run at like 10 frames a second and use 75% of the CPU. In hindsight, this was obviously just some horrible programming, by people who didn't know what they were doing.

I thought I would stick up for Alternativa though. It might lose badly in terms of raw polygon pushing, but it's a very advanced engine, and goes about things in a different way. The reason it can handle those big scenes in the demos on their site is because of some fairly advanced clipping and dynamic triangulation, minimising the amount of polys being rendered at any one time. Particularly the dynamic triangulation. Objects that are further away have their polygons reduced dramatically, then more polygons are added when viewing up close, particularly at an angle.Kind of surprised about Sandy. Having a skim through the classes, it seems pretty well written and fairly lightweight and streamlined. Papervision seems a bit bloated in comparison. But PV's code is clearly far more efficient.I'd also like to say this doesn't mean you shouldn't use Away3D, Sandy, or Alternativa. Obviously I explained A3D above, and I know Away 3D has a lot of features that people like, and things generally look quite good in Away3D.

View 7 Replies

Search Engine Optimization Flash?

Nov 12, 2010

just uploaded my first flash website..and I'm having difficulty working out how to get google to 'see' it.
I've registered the site with google and have a very specific phrase in the <title> tag of the html code but the more I investigate, the more complicated it seems..Can anyone point me towards a step by step tutorial or something to get my site in the top 10 results?

View 5 Replies







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