ActionScript 2.0 :: [FMX04] Are Back Buffers Possible

Aug 23, 2007

I'm attempting to create an effect system that will allow for motion blurs and a variety of other effects.My attempt to create this system is by using a series of movie clips that are duplicates of a main movie clip, each a snapshot slightly farther back in time.This doesn't work, as I think I may be lacking some fundemental understanding of how clip duplication works.Below is code that should be creating a duplicate clip, 10 frames behind in time. The clip exists but the sub-clip isn't attached.

Code:
// The main movie clip.
var main_mc : MovieClip;

[code].....

View 3 Replies


Similar Posts:


ActionScript 2.0 :: Pause Flv On Frame 1 Whilst It Buffers?

May 22, 2008

The site I'm developing at the moment has an FLV at the beginning which is used as an intro animation. I'm streaming it in using netStream but I've run into a problem.Is it possible to have th flv pause on the first frame of the video and then play once enough has been buffered? At the moment it shows a black screen sometimes.

I thought that a way to combat this would be to have a screenshot of the first frame that I display until it starts playing and then just remove it once the video gets to frame 2. However, I don't know how to track whether the playhead has gone past the first frame in flvs.

View 4 Replies

ActionScript 3.0 :: Render From Multiple Vertex Buffers?

Apr 18, 2012

Is there a way to render multiple vertex buffers in AS3?Right now I have two objects which I want to render, but the only way I can think to do it is to concatenate the raw vertex data (of both objects) and then set that (concatenated) vector as the vertex buffer.I would prefer to do this as 2 separate vertex buffers, but I don't know how to render from more than one vertex buffer.

View 1 Replies

Professional :: Watching Ustream Live Webcam Continually Buffers?

Dec 5, 2010

I have Windows 7, 64bit and Flash V 10,1,102,64My problem is with watching a Ustream live webcam on an Eagle nest in Maine, USA,Whilst I can watch it, the streaming keeps on and on buffering, or just stopping and starting. I don't lose the picture but it plays and freezes and then plays and freezes every few seconds. It's off more than it's on.Is there something wrong with my version of Flash, my video card, my computer? I've tried it with Internet Explorer 8, Firefox and Google Chrome and still have the same issue

View 3 Replies

ActionScript 3.0 :: Play The Video Smpoothly Or Show A Loading Animation When It Buffers?

Nov 8, 2010

I have created a web application which records users video from webcam and stores.Once the user recorded his video he can previwe it.All the functionalities works good in local but not in internet.In internet when i preview the video it takes long time to play.some times it stops in the middle.Is there any way to play the video smpoothly or show a loading animation when it buffers.

View 1 Replies

ActionScript 3.0 :: External Preloader That Loads The Swf, Then Once The Swf Is Displayed The Flvplayback Component Buffers?

May 16, 2010

have a swf that plays an flv in the flvplayback component. Currently, I have an external preloader that loads the swf, then once the swf is displayed the flvplayback component buffers. I would like the external preloader to also load the flv buffer. I had done it before it AS2 by having the first 50% of the preloader be the swf,and then have the flvplayback component invisible and have the last 50% of the preloader do the flv buffer.Maybe this is a crazy solution, is there a much easier and logical way to do this?My real problem is that my external preloader loads the swf and the preloader bar using the addChild method and I can't figure out how to have the swf communicate with it's sibling to update the progress bar on the progress of the flvplayback component.

View 3 Replies

ActionScript 2.0 :: [FMX04] LoadVariables Need To Be Run Twice

Jan 7, 2006

i'm calling a php file, which is supposed to make an xml file. whenever i call the php file using this syntax, most of the time i get "cannot load file" in the xml loading section, but this updates the xml file.

[code] loadVariables("http://localhost/file.php",this,"POST");[/AS]
but when i do it this way. [code] loadVariables("http://localhost/file.php",NONE,"POST");[/AS]

the "cannot load file" messge doesn't get displayed, and the file loads perfectly, but this doesn't update the xml file.

so everytime i have to first use "this" and then "none".

what can i do so that whenever php is called, it'll update the xml file, and still load in the swf.

View 2 Replies

ActionScript 2.0 :: [FMX04]loadVariables Need To Be Run Twice?

Feb 20, 2011

i'm calling a php file, which is supposed to make an xml file. whenever i call the php file using this syntax, most of the time i get "cannot load file" in the xml loading section, but this updates the xml file.[code] loadVariables("http://localhost/file.php",this,"POST");[/AS]but when i do it this way.[code]loadVariables("http://localhost/file.php",NONE,"POST");[/AS]the "cannot load file" messge doesn't get displayed, and the file loads perfectly, but this doesn't update the xml file.so everytime i have to first use "this" and then "none".what am i doing wrong? what can i do so that whenever php is called, it'll update the xml file, and still load in the swf.

View 4 Replies

ActionScript 2.0 :: FMX04: Why Does CSS Work Alone But Not In App

Mar 1, 2005

When I use the code below it works fine and loads the CSS-file and shows the the html-textarea as it should be CSS-formatted. BUT when I try to put the SAME code into a movieclip within another fla-movie it does not work (loads text but not css) and I get un "undefined" all the time. After trying a lot of different things I've come to the conclusion that it MIGHT have soemthing to do with the .onLoad that gets "undefined" in some way. As you can see below I'm getting two vars from input textfields and then use a button to activate the function loadCSS().

[Code]...

View 6 Replies

ActionScript 2.0 :: [FMX04] Swap The Variable?

Apr 19, 2004

Like any of it's simple, but here's what I've got...I'm doing my loadVars, everything's going peachy, but now I want to swap the variable. I've got a bunch of vars in a text file, and here's how I'm doing it right now...

Code:
on (release) {
output1.text = myLoadVar.name2;
}

Now, this works ok, but with as many vars as I'm planning for, I'd like something that I didn't have to make a ton of frames just to have it run.

Code:
on (release) {
output1.text = myLoadVar.(name('prevnum'+1));
}

How do I do this?

View 5 Replies

ActionScript 2.0 :: [FMX04] No Duplication On Firing?

Nov 19, 2005

Im making my first flash game so forgive me if there is anything with my actionscript or my explaining that is messed up.

This game is a 4 player (<--will be) tank game that fires bullets and stuff. so far its working just how i want it to apart from one thing... the duplication for the bullet. This snippet of the script is the bit that should make the bullet firing. if you look at these to bits of script "_root.depth += 1;", "duplicateMovieClip(_root.bullet, "bullet"+depth, depth);" to my understanding the "depth" should increase BUT it doesn't? does anyone know what is going on?

[Code]...

View 12 Replies

ActionScript 2.0 :: [FMX04] Duplicatemovieclip And Path?

Feb 14, 2006

I have following lines inside a function

var u = clips.clip1.getDepth();
clips.clip1.duplicateMovieClip("clip1clone", u-1);

the problem is that clip1clone is not generated. I think it has to do something with path, I have to add somehow a path to clip1clone? I tried 0 instead of u-1 but it didnt work so I guess the problem is with path?

View 3 Replies

ActionScript 2.0 :: [FMX04] As Marquee Effect?

Sep 11, 2006

smooth out this scrolling text script. It works perfect but its not smooth. (keyframes are up at 45fps) I know I can just call the function quicker but it's just not the effect im lookin for. I want a steady smooth look to it.

Code:
iniText = "Hello this is some text.";
mov_cnt=0;[code]....

View 2 Replies

ActionScript 2.0 :: [fmx04] Turn Pages Like A Book?

Jan 19, 2004

I was looking over the script from AS.org. for the page flip navigation.[URL]But see the thing with the script from AS.org is that it does not allow you to use images as the pages.

View 3 Replies

ActionScript 2.0 :: FMX04 - Class Files Not Working

Aug 17, 2004

I have two class files that extend to movieclips......one targets _root.scrolling_mc, the other _root.messages_mc. I have multiple movieclips throughout the presentation with instance names scrolling_mc and messages_mc. This is where it gets interesting. After navigating from a scene with scrolling_mc to a scene with messages_mc, some of the behaviour of the scrolling_mc is still triggering. Its almost as if both class files are working side by side.

View 3 Replies

ActionScript 2.0 :: FMX04 - Control Variables In LoadVariablesNum?

Nov 15, 2004

I'd like to know if there is a way of controlling the variables that are sent with the AS command loadVariablesNum when calling an ASP.Let's say I don't want to send two variables that exist in that frame.

View 2 Replies

ActionScript 2.0 :: Customizing FMX04 Components (label)?

Mar 8, 2005

I'm trying to find a clear and concise book or online referece that can assist me in customizing the components that come with FMX04.Namely the label component. I know how to change the "halo" theme in general to get the buttons and text boxes to change color, but beyond that I am at a lost.

I have tried Macromedia, searched here/Flash Kit/google, but nothing that I can learn from. Live Docs has a feedback part where someone posted some code and while I can cut and paste it, I'm not completely sure how it all worked.

View 1 Replies

ActionScript 2.0 :: [FMX04] Storing Multiple _x At Runtime?

Jan 11, 2006

i am developing a photogallery with picts of different width.there's nothing with it,but i am trying to make an element which is more of a design nature.So i have an invisible mc/say "bbb" which is duplicated each time a new photo is loaded and its _x depends on the photos _width and the distance between the photo and the end of the screen regulates how many times "bbb" is duplicated.So on every new photo i got /possibly/ diferent number of instances with diferent _x.Still no poblem.But i want to put an bbb_dups.onRollOver=func(){if (this._x=curr_x){ tween(this._x+30)}else if (this._x=curr_x+30){ tween(backto curr._x)} so i need somehow to store each instances curr._x after the duplication which i dont know how.i've tried with an array but it doesn't seem to work for all the instances.

View 3 Replies

ActionScript 2.0 :: [FMX04] Make A Navigation System

Jan 16, 2006

I found this navigation system and im trying to figure out how to make it. Not going very well tho, i was wondering if anyone has some hints or a simular tutorial for this. This is the navigation system: [URL]

View 2 Replies

ActionScript 2.0 :: [FMX04] Fading Gallery Function?

Feb 24, 2006

I'm creating flash image galleries for a local design firm's site. Their pages are long, vertically scrolling, with large image galleries spaced down the page (about 900x400px each). Each of these shows an initial image, and then has buttons above to select image 1-9, or pre/next image. The images will need to dissolve from one to the next.Because there are so many of these galleries, I want to put each in a folder, name all of the images Image1.jpg, Image2.jpg, etc. and include a txt file to tell my navigation button how many images are in the gallery (this part works).

OK, but I just can't get the thing going now. Here's how I've approached it:
Each Gallery image is a MC that has an alpha in/out animation, with a stop action in between that also swaps it to a certain level (just so I can identify it using getInstanceAtDepth when I need to fade it out).Image_1 is attached to an empty container on stage at the start. I want to define a function that will be called by my gallery buttons that will 1) tell the clip currently onstage to fade out (that works), 2) attach the appropriate clip to my container clip at a particular level (this does not).

Code:
_global.galleryFader = function(clickVar) {
// "clickVar" is returned when the gallery number buttons are pressed

[code]....

View 1 Replies

ActionScript 2.0 :: [FMX04] Create A Button To Load A Swf?

Mar 16, 2006

I'm now having problems trying to work out how to create a button to load an swf and then go to a frame in the new swf and stop.I've got:

HTML Code:
on (press) {
loadMovieNum ("library.swf",0) ;
gotoAndStop(9);
}

But it doesnt seem to work.

View 1 Replies

ActionScript 2.0 :: [FMX04] Format Date In Flash From XML

Apr 17, 2006

I'm currently pulling data into Flash 7, Actionscript 2.0 from an RSS XML file. One of the nodes in the XML is the dateTime for each entry. After pulling in the dateTime how can I format how it displays?

Example:

dateTime format in XML- Mon, 10 Apr 2006 16:35:00 -0700

I want it to display like this in Flash in a text field- 4/10/2006, Monday, 10:35am

or

10:35am, Monday, April 10, 2006

etc.

View 1 Replies

ActionScript 2.0 :: FMX04 - Loading New Movies At Set Intervals

Oct 21, 2006

I have three Flash movies (all the same pixel size) that I want to use on the home page of my website which is built in MX 2004.

How often the movie changes is not critical, but I think once an hour will be fine. What's the best way to get Flash to automatically change the movie every hour and where should I attach any code - to an Actions layer in movie no. 1?

As a summary, here's what I want to achieve;

12.00pm - movie no. 1 plays
1.00pm - movie no. 2 plays
2.00pm - movie no. 3 plays
3.00pm - movie no. 1 plays again

...and so on for 24 hours until you get back to 12.00pm when movie no. 1 plays again.

View 1 Replies

ActionScript 2.0 :: [FMX04] Photo Gallery Alignment

Jul 6, 2007

I took the basic image gallery tutorial on this site and messed about with the code a bit so that the images move back and fourth rather than fading in and out. I'm sure there are better ways to do that than how I did, but it mostly works so I'm happy. My problem now is that I don't know how to make the center of the photos align to the center of the stage. I can of course allign the first one, so it starts aligned, but as soon as I start scrolling through images it aligns the left side of the image to the center of the stage,

[Code]...

View 2 Replies

ActionScript 2.0 :: [FMX04]flash Gallery With Xml Not Working On PCs?

Nov 28, 2008

I am adding flash galleries toon the Facilities and Gallery pages. On my mac I've tested the galleries using Firefox, Safari, and Opera and they are working perfectly as expected.However, there is no gallery, or error message on PC machines. I do not have a PC so I can't test it, but I've had a Vista and XP user both test the site and the galleries do not display at all.

View 1 Replies

ActionScript 2.0 :: [fmx04] Turn Pages Like A Book

Jan 19, 2004

Ok I was looking over the script from AS.org. for the page flip navigation. Looks kinda like this awesome example. [URL]

But see the thing with the script from AS.org is that it does not allow you to use images as the pages. If anyone knows another open source or could lend a hand.

View 3 Replies

ActionScript 2.0 :: FMX04 Control Variables In LoadVariablesNum

Nov 15, 2004

I'd like to know if there is a way of controlling the variables that are sent with the AS command loadVariablesNum when calling an ASP.Let's say I don't want to send two variables that exist in that frame.

View 2 Replies

ActionScript 2.0 :: Customizing FMX04 Components (label)

Mar 8, 2005

I'm trying to find a clear and concise book or online referece that can assist me in customizing the components that come with FMX04. Namely the label component. I know how to change the "halo" theme in general to get the buttons and text boxes to change color, but beyond that I am at a lost. I have tried Macromedia, searched here/Flash Kit/google, but nothing that I can learn from. Live Docs has a feedback part where someone posted some code and while I can cut and paste it, I'm not completely sure how it all worked. And if I can't figure it out then its just not as fun.

View 1 Replies

ActionScript 2.0 :: [FMX04] Reusable Preloader From Tutorial?

May 2, 2005

I've been using the "Reusable Preloader Using MovieClipLoader" from the tutorial section of this site.The only difference is that i don't use 'm for preloading jpg. I load external swf files containing video. Everything works fine so far. The only problem is that the preloaded video already starts playing while preloading (at about 30%), but without showing the video.This is the code i have so far:

Code:
bar._visible = false;
border._visible = false;

[code].....

View 4 Replies

ActionScript 2.0 :: [fmx04] Loading Images Randomly And Put Them In _x And _y Coordinates?

Jul 31, 2004

problem with loading images randomly and putting them in the right _x and _y coordinates.I have a swf file with in the first frame a button with this code :

on (release) {
filename = ["image-01.jpg", "image-02.jpg", "image-03.jpg"];
path = "images/";

[code].....

View 1 Replies







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