Professional :: Increasing Gap In Scroller?
Aug 10, 2010I'm editing a scoller and have removed a photo from it however as the scroller scrolls a gap slowly appears where the original photo was. I can't seem to stop this happening?
View 1 RepliesI'm editing a scoller and have removed a photo from it however as the scroller scrolls a gap slowly appears where the original photo was. I can't seem to stop this happening?
View 1 RepliesI would like to position relatively a scroller in my application like below.When I scale the image, I resize the scroller...
<s:Scroller width="50%" height="50%" >
<s:Group>
<mx:Image
[code].....
I am creating a platform game that is 800 by 600 dimension where the camera scrolls with the player. The problem i am having is that if i want to draw a map that goes off screen the stage are that i can edit in can only go so far when i am creating the map however i drag an object further than the edge of the editing space i can see it when the camera scrolls over to it in game but when i do this i cannot easily edit the objects that are not in view in the editing window. I can slightly increase the size of the editing window by changing the dimensions of the game to 2880 by 600 editing and then changing back to 800 by 600 but still i can only enlarge it up to 2880 because that is the maximum. Is there any way i can edit very large objects like a map that are way bigger than the stage dimensions?
View 1 RepliesI'm new to ActionScripts and was tasked to complete a project. I'm trying to split a big image so I can send them to a http server in chunks. I'm using a recursive function below and increasing the DisplayObjects X position on every iteration. The problem is I get the same image in every iteration and checking the encodeByteArray string value is always the same.
Code:
var currentTileIndex:int = 0;
function renderNextTile(e:Event):void{
if(currentTileIndex < tilesToLoad){
loader = new URLLoader();
[Code] .....
I notice that Flash makes changes to a stage size to the right. Is there a way of making the change so it expands out from a central point, i suppose like photoshop and similar. This has caused me some problems in the past when a client has asked for the site to be increased or reduced in width for example, and it can take a considerable ammount of time to move everything accordinly
View 3 Replieson Roll_over I am increasing uiLoader width and Height for Zoomed versionso when I roll Over first loader , it appears behind 2nd loader ,similarly when I rollover 2nd loader , it appears behind 3rd loader
[Code]...
I've been trying to find a method of increasing the resolution of an executable that runs off flash. To be specific the program is a game called 'Realm of the mad god' originally a browser game but is now also a free to play steam title, Having browsed through the config files I couldnt find anything talking about resolution and I was wondering if there are any advanced flash features that allow the user to force the application to run a specific resolution.
PS: I don't have the highest hopes but I thought if anybody knew it would be someone from the flash community.
I'm developing a touch-screen Flash application for a shoe store, and it runs fine initially, but slows down toward the end of the day. I've been diligent with removing event listeners and so on. I've now narrowed the problem to be very specific - it's one section of the application causing the problem, and one part of that section:
- I have a main movie clip which contains the animation, which itself contains 5 nested movie clips, each with their own timeline. All movie clips have a stop action on the final frame. images are transparent PNGs with outer glow "filter" - the issue is not with performance as such, but with CPU increasing over time. Each time you play the clip, there is a small amount of CPU usage that 'sticks' and doesn't get freed up. What happens is that if you play the movie clip many (MANY MANY) times, then eventually it starts to slow down. Mac's Activity Monitor shows that the idle CPU usage is increasing slowly, over many times of playing the clip. It's insignificant with each play, but adds up over time.
You may be inclined to say: oh filters effect CPU, so it will be slow - but it isn't slow until it plays many, many times. Initially it's fast. I've uploaded a .zip with .app and .exe versions of my problem section. There are two files of each type: AutoPlay.app (& .exe): plays the problem clip repeatedly (I've just removed the final 'stop();' frame), so you can leave it open and come back in half an hour to see it slowing down.
ClickToPlay.app (& .exe): Plays the problem clip once when you click the 'play' button, so you can click several times, let it return to idle, and verify that the idle CPU usage is in fact increasing.
[Code]...
I am trying to build a vertical slide scroller based on a tutorial for a horizontal slide scroller and am having difficulties undertanding what values I need to change in the code for the slider mc in order to make it work. The horizontal slider is quite smart [code]
View 3 RepliesI want to copy 4 separate columns of text from one application into flash and be able to scroll the columns up and down. I never used flash so I'm lost and don't have a clue where to start. I'm using Flash CS5.
View 1 Repliesmy problem is that if you go over the menu text above my scroller it controls the scroller. I wan this areas movement to have no effect on the scroller below. is there a way to script my scroller to set it to this?
View 1 Replieshave a cool vertical scroller that I did try to convert to horizontal, but I could not make it work.
//code by Billy T
//set a variable
targY=0;
//set the x position of the dragger
dragger._x = 370;
[code]....
change vertical scroller to horizontal scroller?
View 2 RepliesI am trying to create a news scroller such as the one on espn.com where you have a scrolling news component that can contain images and or videos and links to news stories stored in the database.
View 2 RepliesI want to make a MC that holds various Data such as textfields images maybe a video, ect just basic content, so i want to put that into a MC and be able to scroll it. But i cant figure out how to do this, no tutorials on the internet. And i dont want to use the UIScroller and Scrollpane components as they are highly unnatractive.. It is for a touch enabled device so maybe a gesture could be used? But im sure a Mouse Event would work,
View 1 RepliesI would like to use it as a horizontal scroller for an image gallery. Just to clarify a horizontal dragger and a horizontal stage motion for image viewing.
fscommand("allowscale", "false");
bar.useHandCursor = dragger.useHandCursor=false;
space = 20;
[code]....
I can find tons of articles/tutorials on custom scrollers but none of them actually replace the browser scroller. If the browser is made smaller the custom scroller and the browser scroller are there. [URL]...
View 1 RepliesMy workspace is 1000X1200 and I have a background image in Flash 1920 width. I want the SWF to aligned to center in the HTML with a regular browser scroller.
I'm trying to publish 100% X 100% with no scale but the scroll bar doesn't show from bottom to top and the SWF parts are missing!
How can I make it to show the background (what outside stage) with regular browsers scrollers and align to center?
I am trying to build a vertical slide scroller based on a tutorial for a horizontal slide scroller and am having difficulties undertanding what values I need to change in the code for the slider mc in order to make it work. The horizontal slider is quite smart and there is additonal functionality attached to it to affect it's movement which I'm not too worried about although it would be nice)
Code:
// set up content_mc info
contentRight = _root.content_mc._x;
[code].....
I want to make a Flash app that will scroll text whilst music plays. The music part is easy, but scrolling the text...I've tried simply importing ALL of the text, resizing, and scrolling that one giant object upwards, but when the screen was full of text it began to slow down. I need the speed uniform to sync it with the music in the background.
I could have a 70,000,000,000 frame movie and move each element individually, avoiding the heavy load, but the amount of work on my end this would require would be so astronomical that it just wouldn't be worth it. Ideally I want something like a component that I can dump text into and have it deal with making the scroll speed uniform.
It would also be a major plus point if it could be used/created by another program, so that someone without Adobe Flash could produce a similiar kind of movie simply by putting in their text and MP3 file and hitting a "Generate" button.
I've been working on a flash animation that has been set to 12frames per second, but now my boss has told me it needs to be 25fps - but when i change the frame rate in 'modify>document' the whole thing just speeds up. Is there a way to increase the fps whilst retaining the original speed?
View 1 RepliesI am working on the following code and I keep getting a cut off at around the 'C' of Dave's computer.I know this is going to be a simple answer but I for the life of me cannot figure out HOW to extend the string visual field. I am pretty sure the secret lies in the variable len.
Code:
import flash.text.TextField;
import flash.events.Event;
var txtFld:TextField = new TextField();
[code]....
The Loaded Swf File Inherits the Frame Rate speed of the Main TimeLine,
Is there a way to control the frame rate of the loaded Swf File.
If I have loaded a Swf File to a Movie Clip container, How can I control the speed of Movie_ClipInstance.CurrentFrame .
I have this blank project, just to check out System.totalMemory variable. As far as I can see, i get this values[code]...
View 5 RepliesI'm beginner in Flash CS4 and I'd like to know how to increase the number of image per second of my sequence because I want more smooth morphing. The time will not change.Actually, I have 24 image per second and I'd like to put 48. Is there a way to make it automatically without changing all by hand.for automatically : I mean, I just have to change my number of frame somewhere and flash will adjust my sequence and will use now 48 frame for 1s instead of 24 frame for 1s and regenerate morphing I use.
View 2 RepliesI want to adjust the width of DropDownList control in flex 4. I could do it by editing the skinclass and setting the PopupAnchor's Property "popUpWidthMatchesAnchorWidth" to false, but in my application I have to do it using actionscript.
View 3 RepliesI have a MovieClip, "my_mc", that is hidden and shown when you MouseOver a grey block that is on the stage, similar to a tool tip. Inside of this MovieClip is a TextField, "my_textbox", and another MovieClip, "my_box". "my_box" is underneath the textbox and will hold the graphics for the tooltip.
What I am trying to do is add a Sprite to "my_box" and set it's alpha to 50%, or 0.5 AS3. Well, I accomplished doing this, however, when you Mouse Out then Mouse Over again, the alpha increases by 50%, to what seems 75% alpha now, instead of staying at 50%. Do it again and it goes up another 50%, so on and so forth.
I have tried setting the "my_box" alpha, as well as the alpha of the Sprite that is drawn inside, and it still does it. Also another piece of info, when I trace the alpha, I get 0.5, even though it appears to be solid red on screen, after a few MouseOver/MouseOuts. The source files are attached, but for those who don't want to download, here is the AS3 code:
[ode].....
I was at an AS3 course recently and the instructor mentioned a book that had something to do with AS3 game examples. Has anyone seen something like this and liked it? The problem is I am fairly new to AS3 and it is coming slower than I had hoped. I am the only person in my office who deals with Flash and I also have other responsibilities. So, I am looking for ways to increase my proficiency.
View 3 RepliesI need make a movieclip bigger (by not scaling it). The only fix right now I can think of is making a small transparent shape and setting it to a y-coordinate.Is there a better way of doing this?
View 5 RepliesAs part of a preloader I have a 19 frame movieclip of a 3d star rotating created in swift 3D, it rotates above a normal load bar that shows progress. Currently the star is a separate clip from the loadbar and just rotates as the movie loads, how can I tie the two in together so that the rotation speed of the star gets faster as the movie loads. I have an idea how to do this using tweens but because the star is not animated using tweens, swift generates 19 different frames I'm a bit stuck
View 6 Replies