ActionScript 2.0 :: Resize Slidshow Strange Intermittent?

Mar 29, 2006

Are the images showing up out of center? I'm having intermitent problems with the images not coming in the right place. Then if you click on one for a second time it may show up in the right place???Below is the code used to load the images... it was from a tutorial... I don't see

Code:
spacing = 10;
containerMC._alpha = 0;

[code].....

View 7 Replies


Similar Posts:


ActionScript 2.0 :: Seamless Loop With Photo Slidshow?

May 12, 2010

I have a really long image about 3000px long, how do I make this loop seamlessly to get the effect that this is never ending? This was done in a prior website I did but I didn't do the flash work on that website so I cannot see the AS used for it.

View 9 Replies

ActionScript 2.0 :: Intermittent Failures Of .gotoAndPlay?

Oct 20, 2010

I have a function that fires when a movieclip is pressed. It determines what animation to play and then calls the appropriate function. When it calls FlipWinCard

"private function FlipWinCard( card:MovieClip ):Void
{
// save card so we can flip it back over.[code].......

Most of the time the animation plays correctly but sometimes the animation fails. This has lead me to place most of the followup code in a function that is called by the animation (so I don't change state without showing an animation to the user). I would like to get some clues as to why gotoAndPlay inconsistently fails.It's not always the first time in a run, so I can't blame loading. It just gives up sometimes.The frame is a constant so it's not like I'm guessing a number that should change, in my opinion.I made a watchdog timer to check for the animation so my question isn't a "how to workaround" kind of question.I think there might be better coding practices I'm overlooking and maybe you've seen this before.

View 0 Replies

Actionscript 3 :: Intermittent/staggered Loading Of An Object?

Jun 14, 2010

I've just recently tried my hand at actionscript 3 and have come across a road block.How do I go about rendering the cubes (cube1) intermittently, ie. staggered loading. I need the cubes to load a split second from each other.Below is a snippet of what I have so far:

var rows:int = 5;
var cols:int = 3;
var spacery:int = 100;

[code]....

View 1 Replies

ActionScript 3.0 :: Intermittent Error Talking Between Classes

Mar 17, 2011

I am building a quiz using XML for the questions and a ButtonTopLevel class to control the behaviour of the buttons tasked with choosing a question. Basically, the docClass imports the XML, makes sure it is fully loaded and then adds these top level buttons as children. I need to maintain the MouseEvent.CLICK in the button class because once the button has been used, it will switch to feedback mode and no longer be available as a button. Once clicked, the button says:

[Code]....

I have a sort of "go back" button in during development, and if I go back to the top level buttons and click any one of them, it works as it should. There is nothing undefined, with the possible exception of a variable or two I've declared and not yet used. Is it something in the way I'm telling the child to talk to its parent? My code is rather lengthy, but I will post if need be - just hoping it might be something I'm missing in this call to the parent.

View 2 Replies

Flash :: Intermittent Bitmapdata Draw With Scaling Matrix?

Sep 10, 2009

We have discovered that when we draw one bitmapdata into another bitmapdata using draw, there is an upper bound on the scaling transformAt some point the IBitmapDrawable parameter ceases to be rendered on the target bitmap.Does anyone know what the parameters of this upper bound are? Is this documented somewhere?

View 4 Replies

Determine Whether Intermittent Failure Is Due To Bug In Firefox Or Flash Plug-in?

Aug 30, 2010

We have an old Flash application that has worked fine for years, but intermittently fails on latest versions of Firefox. Using the same version of the Flash Player, the application runs fine in Internet Explorer. Recompiling the product is risky, and I'm trying to fully understand the problem before resorting to that. I'd like to be able to point to a known browser or player bug, but I can't really say where the problem is yet.I've gather the following information using Charles Proxy:The Flash application gets a list of files it needs to load. It requests a file then waits until the Flash Plug-in dispatches an Event.COMPLETE before requesting the next file. During this process I can see the HTTP requests and server responses. When the application "hangs", Charles Proxy reports that the response actually completed; however, Firefox's status bar shows "Transferring ..."

Sometimes for an extended period, I can't recreate the problem at all. At other times, the hang-up happens over and over again.Finally, if we switch to using https instead of http, the problem NEVER happens. Because Charles Proxy shows Status Complete while Firefox shows that a Transfer is still occurring, I speculate that the problem is actually in Firefox. I believe that Firefox is failing to recognize when the file actually finished loading, and therefore it fails to tell the Flash Player. The end result is that our code gets no Event.COMPLETE from the player and cannot continue requesting files.

View 1 Replies

Actionscript 3 :: Streamed PNG Using URLStream Intermittent When Server Is Bogged?

Dec 14, 2011

In my case I need to be able to cancel loading as the user could possibly be scrolling through alot of images and the if not canceled it can take a few minutes to catch up to the scroll position.So after research the URLStream class seems to cure this problem and I found a good streaming class hereThis class works very nice except when there is heavy load on the server causing lag.When this lag happens the class will dispatch the complete event yet the image will not show.Watching the download with HTTPFox shows the image in fact does get loaded.

I assume there is some kind of delayed issue with the URLStream class and the author of this class tried to correct it using the setTimeout method. I also tried delaying the dispatching of the complete event using a timer and not dispatching until if( this.width != 0 ) was detected and this seemed to work much better.But it is still haunting me just not as often.

View 1 Replies

ActionScript 2.0 :: Movieclip As Button HitTest Working Intermittent?

Jul 9, 2004

I was playing around last night trying to learn simple AS to make a movie clip act like a button. I wanted the button movie clip to reduce the alpha value of the other movie clip when you rollover the button and when you roll off the button the alpha of the movie clip goes back up. It works, but if you keep rolling over and out of the button movieclip sometimes the alpha gets stuck at a certain value for a bit, then does what its supposed to. I'm using onEnterFrame () to do the hitTest constantly.

Here's the SWF and FLA files for you to look through:

hitTest SWF
hitTest FLA

Here's the AS code I used in the frame to do this:

Code:
onEnterFrame = function() {
if ( background._alpha > 100 ) {
background._alpha = 100;

[code]....

View 12 Replies

ActionScript 3.0 :: Flash Content Slider Has Intermittent Movement

May 17, 2010

I know the problem is with how I have this structured. Here's the code:
scrollHand.buttonMode = true;
scrollHand.addEventListener(MouseEvent.MOUSE_DOWN, beginDrag);
var bounds = new Rectangle(747,200,0,handLimit);
var dragging:Boolean = false;
var dy:int = 0;

View 2 Replies

ActionScript 3.0 :: Intermittent "child Cannot Be Null" Error

Jun 18, 2009

I have a slideshow which has an image preloader on it. I get an intermittent error - it only pops up sometimes, and sometimes it pops up once, and sometimes 4 times. After dimissing the error, the movie runs fine. Here's the error[code]...

View 2 Replies

Strange Red Square Showing Up In .swf?

Apr 24, 2009

When I'm working on the .fla I don't see anything unexpected, but when I view the .swf or export it there's a little red square in the animation. It moves with some of the stuff I have moving in the animation like they're attached somehow, but I can't find it in the fla to get rid of it.

View 1 Replies

IDE :: Strange With Blur Function?

Mar 19, 2009

i've created a movieclip that i'm applying a simple blur filter to and in Flash when i play the timeline it runs with no problems although when i publish the movie the blur doesn't display - i've run out of ideas about why this could be! I've looked online and can't find any suggestions either - does anyone know what i'm doing wrong?

View 1 Replies

IDE :: An Xml Gallery With A Strange Effect

Apr 17, 2009

i really like this effect and i was wondering if anybody could point me to a tutorial that does something similar to this: i deleted the link because the site is not working anymore

View 2 Replies

IDE :: Strange Flv Player With Skins?

Jun 10, 2009

You click on tv, then on the first thumbnail and the video starts playing.When you resize the browser window the video stays centered.Thats exactly how I want it to
You can see the same example as before, but this time there are playbackcontrols which would be perfect if it wasnt for the fact that if you now resize thbrowser window, the video jumps almost its own width to the left.

View 3 Replies

IDE :: Strange Flash Occurence?

Mar 31, 2010

I have a website. You can see that website both by typing in(not REALLY my website...I'm just using examples here)This website has a flash intro that at the very end enables the user to either choose to go to the html version of my site or the flash version, each option represented by a button.The strange thing is that if I'm on theURL of my site, everything works ok there. However, if I'm on the version with the "www" added into the URL, those buttons don't work. You still get the little "finger" indicator, but when you press, nothing happens.

View 4 Replies

ActionScript 3.0 :: AIR Strange Lag On Buttons?

Jul 7, 2010

I'm working on a large AIR-app. When I run the project from Flash CS4, everything works fine. But when I run the installed app, some buttons will react very slow.

View 7 Replies

ActionScript 3.0 :: Scale Or Resize The Image By Dragging And Resize Option?

Sep 19, 2011

I am working on image and i like to scale or resize the image by dragging and resize option.same working as "free transform tool" in flash (design part); i need same functionality in application.

View 7 Replies

ActionScript 3.0 :: Browser Resize Doesn't Trigger Resize Event?

Jul 7, 2011

I'm having a bit of a problem here. As per the title, my flash swf file works fine when tested from the IDE, but when I publish it and open it through the browser, the stage doesn't seem to resize along with the window.I post below a bare-bones example. The "back" movie clip should resize, only it remains at the starting dimensions

Code:
import flash.events.Event;
import flash.display.MovieClip;

[code].....

View 9 Replies

CS3 Timer Acts Strange From Child Dir?

Apr 6, 2009

I created a movie clip that i want to act as a button. Inside that movie clip i place 2 graphic symbols (in different layers) that each have a tween of 30 frames. In a different layer i put a stop(); at frames 1 and 30. Then i create a fourth layer writing the following code for all 30 frames:

Code:
var rewind:Timer = new Timer(10);
var rootButton:MovieClip = MovieClip(parent);
rootButton.RR_mc.buttonMode = true;
rewind.addEventListener(TimerEvent.TIMER, rewindHandler);

[Code]...

1. On mouse over the movie clip (RR_mc) start playing normaly untill frame 30 where stops.

2. On mouse out the movie clip starts rewind going frames backwards. Now if i put my mouse over the movie clip, before rewind reach frame 1 the rewind stops and the movie start playing again. 2b. If the movie clip reach frame 1 after rewind, then is not stopping and continues to give frame 1 (if you put a trace(this.currentFrame(); you get infinite 1s). On mouse over the movie clip afterwards i can see that trying to start play but it's progress is max 2-3 frames before the rewind routine pull it back at frame 1.

3. If i transfer the timer and it's function to the parent directory then everything work fine.

I want to write all the code for the button inside the child directory of that button, is it possible?

View 3 Replies

ActionScript 3.0 :: Strange Bug Passing PHP Variables?

Dec 3, 2010

I've made [at least I'm trying to] a class that will make able to communicate flash with PHP [and MySQL].I've done this once before on the main time line and it worked perfect. This one is working as well but I get strange variables from PHP in Flash. Here are the codes:

[Code]...

View 1 Replies

Strange Display With Adjoining Buttons

Sep 23, 2009

I can't figure out why there is a display problem around the "Green Printing" button. Each of the button is created the same way, using the same graphics. Only this one displays incorrectly when the swf is produced.
 
[URL]
 
I have quadruple checked position and all the buttons are correct. No overlap.  If you right click and zoom in on the button in question, it looks perfect. only at 100% is the display problem visible and only on that button/area of the flash swf.

View 3 Replies

Php :: Strange Sequence Of Executing Commands?

Feb 27, 2011

I am beginner in FLEX programming , I am trying to implement a very simple LOGIN system using PHP, FLEX, MySQL.

protected function button2_clickHandler(event:MouseEvent):void
{
var create_new_user:Users= new Users();[code]..........

I have added the "alert.show" to check the sequence , it was really strange to find out the it is executing "6,5,4,3,2,1"..?? Which mean user is created before checking the verification result?

View 1 Replies

Actionscript 3 :: Strange Offset In Flash?

Dec 14, 2011

I need to check (for my own good reasons) whether the cursor is located within the bounds of a particular object. I'm using a simple code to do this...

if(mouseX > hsSlot1.x && mouseX < (hsSlot1.x + hsSlot1.width) && mouseY > hsSlot1.y && mouseY < (hsSlot1.y + hsSlot1.height))
{
//My code
}

This, theoretically, should work perfectly! However, there is an offset (and one I did NOT set, mind you!) of about 16 between the hsSlot1's visual position (where it appears to start on the screen) and hsSlot1.x. There is a similar offset on the y axis, but I haven't measured it yet.The only thing I can think of for this is that hsSlot1 is an instance of a button (one with only one state at that) that was scaled to fit. However, I don't think that is it, because the numbers show that the entire object is merely offset at its current size.

View 2 Replies

Put A Video In Website And Getting A Strange Result?

Oct 5, 2009

Im trying to put a video in my website and im getting a strange result. on my computer everything is working fine BUT when im trying to run it over the internet its showing me only the skin of the video player but not loading the video. The strange part is when im loading the file stright from the ftp server, its working fine...

View 2 Replies

IDE :: Tweenlite And Papervision Strange MouseEvents?

Mar 15, 2009

I made a spiral in pv3d using a mc for material and added a listener for the mouse events.Now the problem is that when i rollover my mc the rollover tween start and directly start the roll out tween.The clickhandler is rendered useless.So before adding tweenlite to the class everything works fine?

View 2 Replies

IDE :: Strange TweenMax When Fired By KeyPress()

May 12, 2009

Code:

base_scale = 70;
my_scale = 1;
scale_mod = 30;

[Code]....

EDIT: In fact, it is working now (behavior changed with updated TweenMax...?!), BUT still, when I zoom with mouseclick, everything goes well. When I zoom with a keypress, the image is resizing... but if the image is not centered, the registration point (set to center of the image) - the image is moving - for no reason...

Different results with the SAME function, no parameters etc.

View 2 Replies

IDE :: Imported Images Have Strange Colours?

Jul 30, 2009

I'm having some problems with importing images. (RGB jpegs)

When I import them, the colours, brightness and contract look totaly different.

I haven't got a clue what could cause this. And I really need to have the colours right.

View 2 Replies

ActionScript 3.0 :: Strange Inconsistency When Using CondenseWhite

Aug 4, 2009

I have found a strange inconsistancy between the textfield created in the Flash IDE and the textField created within Actionscript. Test 1: Create a textfield on the stage within the flash IDE, select the "render as html" check box, Embed the font, then in ctionscript set the textfield to condenseWhite and load in some external html file with line breaks <br> or <br /> into the htmlText. The result is as expected, the text is formatted with html, the white spaces are removed, and the <br> tags display line breaks.

Test2: Create a textfield on using Actionscript and Embed the font, condenseWhite and set the htmlText to load in some external html file with line breaks <br> or <br />. The result is not as expected, the text is formatted with html, the white spaces are removed, and yet so are all the <br> line breaks!

Test3: The exact same as above in Test2 except this time the external file loads into .text not .htmlText. This also means the condenseWhite is ignored as according to the docs, "The condenseWhite property affects only text that was set by using the htmlTexttext property. If you set text by using the text property, the condenseWhite property is ignored. " The result is as expected, the text is not formatted with html and the html tags are visible within the text.

[Code]...

View 3 Replies

Flex :: Flash - Resize Children When Parent Is Resize?

Jul 29, 2009

I have Buttons which I have rotated vertically within a Canvas, that is working fine. The problem occurs, when the user resizes the window to a small size a vertical scroll bar appears, I would rather have each button squashed upto a smaller size.

<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="40" maxWidth="40" xmlns:myComponents="myComponents.*"
horizontalScrollPolicy="off"

[code].....

View 2 Replies







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