ActionScript 2.0 :: Multi Direction Slide Bars
Nov 5, 2005
I am trying to create a slider that can slider on both the x and the y axis. For example a user may slider a square along a fixed y axis and then be able to slide along an y axis at certain points and so on. It would work a bit like a gear stick on a car.
This is the code I am using for a single axis bar
init_pos=slider_mc._x;
slider_mc.onPress=function()
{
this.startDrag(false,init_pos,this._y,init_pos+260 ,this._y);
[Code].....
View 2 Replies
Similar Posts:
Jul 20, 2010
I've created a multi frame MC for placing each of my slide out images on and have added a tween slide out MC.my onrelease is working and I've correctly switched the image frame for the relevant picture being clicked before playing the tween MC.However once the MC stops playing the image MC is reverting back to showing frame one image.Why is this happening? Also why when the slide out MC is over the smaller clicklable image the hit area is still available through the image being shown?I've ensured that the slide out MC is on the top most layer, how do I make its backgroud solid so any clickable item underneath is not available.
View 7 Replies
Feb 24, 2009
i have a scroller developed in as2. it basically scrolls continuously in a direction until the direction of the mouse is changed. the images of course loop in the continuous scroll. now the problem is that for 10-15 photos its ok. but when i feed it with 180 photos, it seems to show only 11. why would this be? any restriction on flash ??
View 1 Replies
Mar 17, 2011
have a ball with the name of mc which can be moved using the keyboard .. when you press the left mouse button shoots the ball, this ball and the other flies in the face where the cursor was in the shot .. but if you move the cursor to another location and shoot a second time then the second ball is also flying in the direction of the cursor and the first ball change direction toward a second shot ..
ActionScript Code:
import flash.display.MovieClip;
import flash.display.DisplayObject;
import flash.events.MouseEvent;
[Code]....
how to make that first ball did not change its direction and continued to fly in the direction of the shot?
View 5 Replies
Oct 27, 2009
I am using currentSlide.gotoNextSlide to change between slides, however I can't make it stop playback on load of each slide.I have a motion tween with I need to NOT play automatically when the slide loads... but no matter how many iterations of stop(), gotoAndStop(), etc I use, nothing will stop the clip from playing when it is loaded!
View 1 Replies
Oct 20, 2009
How could I get a nice tween like this one: [URL] Specifically the now playing slide in and slide out effect.
View 1 Replies
Jul 2, 2009
I am creating a flash slide presentation to use as part of an online portfolio. I have created a presentation that so far has three slides, each containing a flv that I imported and added a skin to.Is there any way to stop the movie on slide one (besides manually) when I move to slide two? I don't care if the mvie returns to the begining or not i just want to beable and view the video on slide two without hearing the sound from slide one.
View 5 Replies
Feb 2, 2011
this is what I am trying to do:
1st slide: pre test (3 radio buttons)
2nd slide: video
3rd slide: post test (3 radio buttons) - this page has a submit button that calls a .php script
The Pre Questions are setup like this:[code].....
wondering if this is a Global Variable problem? Is there any reason that the "variables" variable would stop populating after the first slide? Obviously, they are getting to the last slide since the submit button is passing them (or is the external file doing it?), but don't know why the post ones are not going.
View 3 Replies
Feb 21, 2004
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].....
View 3 Replies
Jul 29, 2011
I've manually customized the look and feel of the scroll bars for scroll pane component and it works fine. I've two different files that have different visual styles for scroll bars. Now I want to merge these two files. I can resolve the naming conflicts but both of the them are using same asset names and action scripts (I think in the class definition).
So basically my question if how can I have two different scroll bars implemented in one file?
View 2 Replies
Jan 12, 2012
Is there any reason why a scrollbar would not show up in a popup window? THe popup window is a dreamweaver document.URL...If you click on the "Interior" button, and then click on any of the balusters a popup window will appear with 4 images. This popup window has no scrollbar?? It should, and I didn't do anything to tell it to "not show a scrollbar".The scrollbar shows up on my Mac, but does not show up on my friends Mac, nor does it show up on my PC?Also, I have been doing a few tests on this page on the first few balusters (trying to get around the scrollbar issue), so maybe pick the 5th baluster, rather than the first one? Or pick one of the last balusters.
View 2 Replies
Dec 21, 2009
I have seen numerous threads talking about Adobe Media Encoder producing black bars when converting videos. Some are saying it's a bug w/ CS4, others are saying its something to do w/ non-square pixels.My dilema is, I have some .mov files created in Final Cut Pro with a 4:3 aspect in NTSC. I need to convert them to .flv so I can stream them on a website. My current settings are:
FLV - Web Large, PAL Source (I'm using PAL because it seemed to create a better quality video when I was streaming)
Export Video
Export Audio
On2 Codec[code]....
When I export the files and try to play them in a web flash player (480x400) I get black bars on the top and bottom. I don't really have a lot of experience doing video editing so I'm shooting in the dark here.I have adjusted a lot of the pre-mentioned settings but still no luck.
View 5 Replies
Nov 2, 2011
how to dynamically load images in movieclips and display in ScrollPane, its done,but I have another issue regarding to ScrollPane,How to show its Horizontal/Vertical scroll bars.Right now ScrollPane automatically resizes as per the image size which is being loaded into it.
View 4 Replies
May 22, 2011
I have a file uploader that uses a file reference list (FRL) to upload files. However what I want to do is use the FRL to display all the images/files that were selected and then display them in either a list, or photo gallery. I would lean more towards the photo gallery approach but I don't know how to dynamically lay out the thumbnails properly. What's the best way to display the thumbnails in rows 3 pictures wide and then skip down a line etc.
Now ofcourse I don't know how many files will be selected so my next question would be can I draw the thumbnail gallery in a seperate container (or frame sort of like in VB) and then have that container have it's own scroll bars? In most other programming languages I would have no problem doing this but I am a bit new to flash and I am a bit stumped.
View 1 Replies
Dec 29, 2009
I have created a Bar chart(having total 4 bars), wherein there is a gap between these bars. how to remove this gap between the bars as there is no inbuild property available...
View 1 Replies
Jul 20, 2011
I'm searching a (free or commercial) Flash component that can display 3D diagrams (three axes) and allow the user to interactively rotate the diagram.The kind of diagram I'm talking about looks like this:The component would be used to display various three-dimensional arrays served either from a server or JavaScript.I think I could write such a component myself, but really want to avoid to reinvent the wheel...
Any .swf available that does this?
View 1 Replies
Feb 2, 2012
Is it possoble to reduce the space between two bar of different elements. If yes with which property?
View 1 Replies
Oct 4, 2007
I am using full screen flash to make my flash movie fill the browser window. I also, need for it to have a scroll bar, as it's 1400 pixels vertical. For normal full screen flash, you set the height and width to 100 percent. But because I needed a scroll bar, I changed the height to "1400" pixels instead. This created the scroll bar I needed, but it only works in Internet Explorer, and not firefox or safari. How I could ensure that I have a scrollbar on all browsers?
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="[URL]" width="100%" height="1400px" id="shell2" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="shell2.swf" /><param name="quality" value="high" />
<param name="scale" value="exactfit" /><param name="bgcolor" value="#ffffff" />
<embed src="shell2.swf" quality="high" scale="exactfit" bgcolor="#ffffff" width="100%" height="100%" name="shell2" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="[URL]" />
</object>
View 0 Replies
Nov 19, 2009
why a scroll bar would not function on any mac platform... tested in FireFox and Safari, and the scroll bars either do not work, function improperly, or work but you have to move the mouse all the way to the bottom of the page to scroll a few lines. Also, the mouse wheel never works when trying to scroll the text box.
Site is :[URL]
Code:
onClipEvent (load) {
buttonSize = 0;
viewHeight = _parent.scroll_bg._height;
[Code].....
View 0 Replies
Feb 1, 2008
I've been using the normal scroll bar component from flash and now I need to change the colour from white to liked purple using a style sheet or setting? I've looked around on the Internet but can't seem to find much.
View 2 Replies
May 2, 2008
Im using flash cs3, Im trying to use two scrollbars in one screen , its made by an actionscript2 I grabbed from the net. I had duplicated the instances and gave them unique names, I've change the names in the script as appropriate but still the dragger one pane scroll the other..
View 1 Replies
Apr 1, 2009
I am trying to sort out what is not working in my code that places bars across the screen with a random mix of pre-defined colors.
[Code]...
View 1 Replies
Apr 20, 2009
Can we create a search bar that could search through our site?
View 1 Replies
Jun 11, 2011
1. Remove the menu buttons I don't need... How can I do this?
2. If you view it in your browser, you'll notice after trying to scroll through some of the content that the scrollbars in the flash are a little messed up.. it's not easy to notice but bothers me..
3. How can I take the Website By Joey Khan (at the bottom) and make it either highlight or glow or popout or something so that it's obvious that you can interact with it when you rollover it?
4. On the contact page, the red confirmation/error text that appears under the form when you make an error or send the message, it does not com through correctly, I'm not sure what's wrong their.
View 1 Replies
Nov 12, 2008
I have made a MP3 Player in which spectrum bars acts on Sound.. I used computeSpectrum function from SoundMixer Class. Everything is going well.... But when I run my player and open any other player (from You tube for example) in the same window then Spectrum bars stops responding. I want my players Spectrum bars should not be interrupted even if other player is opened in same browser window,.... is it possible ??
View 3 Replies
Oct 8, 2009
Somebody should write a book about loading and pre loading assets in flash !Im loading a few images using a loop and i store them in a bitmap array.I want to find the proper way to create a progress bar.I think i need to calculate the totalBytes of all the images but i need to it before i load the images....Is there a way to get the file size without loading the image ?That way i could create a loop that will calculate the bytesize of all the images and store it an a variable.and then i could just divide the total bytes with the current bytes of the image and get a progress bar the will represent the exact loading time.
View 1 Replies
Dec 19, 2011
I know this is probably an easy fix, but I can't figure it out. I have made a banner in AE 5.5 that is 800 px by 150 px, I made an swf in flash but it won't play it to the size without a black bar on the top and bottom.
View 5 Replies
Oct 14, 2009
I'm trying to use a BarChart in Flex. I'd like it to order the bars according to the order of the ArrayCollection I fed it. i.e. data at index 0 should be the first bar on top.However, Flex is giving me the exact reverse order. i.e. data at index 0 is not the last bar in bottom. How could I tell the BarChart to reverse the order other than reversing the order of my ArrayCollection?Here's the block of code in my script tag:
[Bindable]
private var optionsArray:ArrayCollection = new ArrayCollection([
new VotingOption('Yes, it rocks!', 'yes', 5),
[code].....
View 2 Replies
Jun 2, 2009
I'm fooling around with papervision and i'm getting this strange glitch kind of rendering. Basically i'm just creating alot of bars with a FlatShadeMaterial. All of them have the same light. Then i'm positioning them one next to another to form a bigger bar. Finally, each bar is displaced randomly in z position.
View 1 Replies
May 8, 2003
I'm assuming if you use the flash MX pre-made scroll bars you can't switch the colors of them. So does anyone know how I would make a nice colored scroll bar?
View 6 Replies