ActionScript 2.0 :: Scrollbar Mysteriously Not Working?
Jul 9, 2004
the following code all works with one exception the scrollbar doesnt scroll the text
createTextField("resumeText",50 ,-220,-150,430,300);
with(resumeText){
html = true;
[Code].....
View 3 Replies
Similar Posts:
Aug 19, 2009
I have a movie clip that loads thumbnails from images folder by reading the location of image from xml file...The problem is I have put up a scroll bar but its not working i.e its not scrolling the thumbnails' movie clip contents. I am uploading the fla...any line of code I need to change I think its the scrolling function. The scrolling script I used is from kirupa. I don't want to use classes in this...and want the up n down buttons to remain.
View 6 Replies
Sep 15, 2010
I have a dynamic text field with scrollbar buttons that work in Firefox, chrome and safari but not IE8. I wish I could forget about IE8 but it's not possible yet. The following code is being used.
on (press) {
myText.scroll=myText.scroll-1;
}
[code].....
View 3 Replies
Apr 13, 2010
I recently purchased a scrollbar from the exchange marketplace and it works beautifully within it's own swf but as soon as I load it into a second swf (the main "start movie") it doesn't work. When I click on it to scroll, the tracker sticks to my pointer (like a mouse follower) and won't release until I click on a button leading me into another movie. The scrollbar component came with an external caurina file which is where I think the issue is coming from. I think it's having trouble finding the associated code when inside the second movie. I've tried all sorts of parent vs root scripts to try and get it to jump a level to recognize the source of the original code.
View 5 Replies
Apr 29, 2010
I've got a List component set up but some of the text exceeds the space available and so I'm trying to add a horizontal scrollbar as well as the vertical one.In the component inspector I've set the horizontal to "on" and given it a width of 200 (my component has a width of 150).However, it cannot be scrolled and I get this error message: TypeError: Error #1009: Cannot access a property or method of a null object reference. at AWorkingFile1_fla:: Main Timeline/baseData()Is it actually possible to get the scroll bar to work?
View 2 Replies
Dec 3, 2009
so I tried getting this custom scrollbar to work, but the bounds must be screwed up.Whenever I click on the scroller, it shoots halfway down the screen...it then thinks that the middle of the screen is the top bound and the bottom of the screen is the lower bound
ActionScript Code:
// Scroll My Content function - AS3
function scrollMyContent () {
[code]....
View 0 Replies
May 3, 2010
I'm coding a horizontal scrollbar that will contain several movieclips. The scrollbar has a few ways to scroll through it, a traditional scrollbar (scrubber & track), a next and a previous button that will scroll from clip to clip, and finally clicking on the scrollbar track to go to that point. However the bar doesn't full scroll back to it's original start point and at the opposite end it scrolls a little too much past the end of the clip. The same with the next and previous buttons you click the previous button it comes up just short of the original start point and the next button goes just a little further then it should. I cant seem to figure out whats wrong with it. I realized this is kind of a hard problem to explain so I attached an fla file (CS3 & CS4).
Here is my code:
ActionScript Code:
Stage.scaleMode = "noScale";
Stage.align = "TL";
[code]....
View 0 Replies
Oct 31, 2004
i have a dynamic text field which i need to load external text into (i.e., a text file w/"&numsections=", etc.) and when i pulled in the scrollbar component it won't scroll, though the data is showing up.
View 2 Replies
Oct 31, 2004
i have a dynamic text field which i need to load external text into (i.e., a text file w/"&numsections=", etc.) and when i pulled in the scrollbar component it won't scroll, though the data is showing up.
View 2 Replies
Oct 4, 2009
I am working on this website and I decided to add some flash to the front page in the form of a little image gallery with a nifty slide effect. The problem is this. For some reason its squishing my images. When you look in the scripting you will see that I've set the image width to the full width of the stage, but when you test the movie they are getting squished to about 3/4th's the width of the stage (ive double checked the image size as well).
View 5 Replies
Jul 7, 2011
We've been trying every trick to fix a problem with long lag time in video startup in some environments. In particular, there's a long time gap between the time the custom .swf skin appears and the video starts to play. Only some combinations of OS for the FMS server and client browser shows the problem, but for those combinations it is consistent and appears to be a constant of approximately 59 seconds, regardless of the length of .mp4 or number of times played in our custom .swf. (Our .swf accepts a supplied file location for the .mp4 to stream.)
On our main server (Win2008R2), we run a virtual machine that has Win2008R2 installed. If you click on the video URL from a Mac Safari browser on MacBookPro, the load is FAST (a few seconds). On the other hand if you click from IE on any Windows machine (VM or native, Win7 or WinX), the load is SLOW (one minute). If you try locally on the server virtual machine with the FMS and web server (IIS) installed, the load is also SLOW. The reference flash video (i.e. NOT through our .swf) loads FAST. [code]...
View 2 Replies
Apr 16, 2010
Observe the Flex program below (I'm using Flex Builder 3 w/ 3.5 SDK). The second combobox is conditional on the first. If a 'first name' is chosen, then you are allowed to choose a 'last name'. If 'none' is chosen, then you are not allowed to choose a last name, but rather prompted to choose a first name.
To see the mysterious issue of the disappearing labels, run this program and choose a first name. Then choose a last name. All is well. Then choose 'none' in the first combobox. The prompt of the second combobox changes back, and the last names are removed. All is still well. Then try selecting a first and last name again. You will see that after choosing a first name, the last names do not appear, although the spaces for them do (and if you debug the program, the correct data appears in the dataprovider).[code]...
View 5 Replies
Feb 10, 2012
I am implementing a charting tool for my project, which is very similar to Google's finance chart but much more tailored-made to meet different requirements. The charting interface is made up of the following core components:
Time selection panel: to change the time span of the chartMeasurement points panel: to select different points of measurementChart area: to display the measurement data of the selected measurement points over the selected time span
For example, the Apartment's power administrator can view the total power consumption in Unit 101 of Building A, in the Pacific Apartment's complex (a made-up name). Similarly, the administrator can also "stack" up charts of multiple measurement points, having an all-in-one view like below:
Only the chart is implemented in Flash/AS3, the other panels are JSP, JavaScript and Dojo. When an user clicks on a measurement point to add a chart to the chart area, the following things happen in order (briefly):
User clicks on a link (say, Total Amps)Dojo event listener attached to the link picks up the mouse click eventThe Dojo event listener calls an AS3 method (addChart) through the External Interface to add a chart to the Flash chart:The Flash chart picks up the method call, adds a chart to the stage and reposition all charts on the stage. Since the stage height is fixed at 600 pixels, each chart added will be fitted into the 600 pixels. Eg, 1 chart on the stage = 600 px/chart, 2 charts = 300 px/chart, 3 charts = 200 px/chart...etc.This is what the Flash chart looks like, when 3 charts have been added, before display the chart on the actually page (see below) Once a chart has been successfully added to the stage, Dojo will stretch the <div> tag that the chart resides so that each chart still "looks" like 400 pixels tall. For example, 3 charts on the stage means each chart is 200 pixels tall, but Dojo will stretch the entire <div> to 1200 pixels, making each chart look like 400 pixelsThe above step is the same concept as resizing the stage When an user adds more than 7 charts, the 8th chart will start have Flash contents disappeared. To be exact, I used firebug to increment the <div> height, and found that when height exceed 2924 (a magic number) pixels, Flash contents start to disappear. See below (the red-boxes indicate the missing contents)The situation gets worse when continue to add charts, eventually half of the bottom chart will disappear.
Some pre-work I have done:I have unit tested this component in standalone Flash movie, with 3 LCD monitors totalling 4000 pixels in height. I produced 10 charts in a single flash movie, and then resized the window from 600px to 4000px, no charts disappear. This happens in all of IE7, IE8, FF3+, and Chrome. Although slightly different manifestation, but they all have contents mysteriously disappeared. This also happens to GOOGLE's finance chart, when you enlarge the chart's <div> to over 10000 pxs (yet another magic number) The funny thing is, however, when a graph has been cut in half, the visible half is still operatable. For example, if the zoom window as been cut in half, I can still move it, zoom in and zoom out.
View 1 Replies
Apr 29, 2011
I have a dynamic text box and 5 MCs that trigger eachother in turn. The end of MC1 would then trigger the start of MC2 so they go round in a loop. Each image fade tells a dynamic text box to say something different about that image.But one bit of text causes the text box to stay STUCK and display only that text from then on. It got so frustrating that I had to create a fresh dynamic text box for each corresponding MC... but then I realised that when we finally loop back from MC5 to MC1, it wants to again display the stuck text!Get file here.Stuck text is "Monitoring Migration Routes and Settlements" - notice it when the whole movie loops back to the start.I made a little green box appear just to prove that the offending MC had actually stopped and wasn't looping somehow.
View 5 Replies
Sep 27, 2011
I'm compiling a SWF using FlexSDK 4.1. I am not disabling any tab functionality. Swf is being embedded with the following via swf object:
swfobject.embedSWF("Main.swf", "flashcontent", "984", "550", "10.0.0", params,flashvars, attributes, "expressInstall.swf");
Expected outcome when tabbing is to see "yellow boxes" on all items with click events. I don't see anything all browsers. WMODE is 'window'
View 2 Replies
Oct 6, 2010
How to remove a carriage return that's inserted mysteriously by flash. I have a text input box and it auto adds a enter key press carriage return.
<IMAGE Names="Josh
">My imputed text</IMAGE></GALLERY>
%20Names%3D%22Josh%26%23xD%3B%22%3EMy imputed text%3C%2F
This is the mess of crap its auto inserting
%26%23xD%3B%22%3E
View 1 Replies
Apr 11, 2009
The problem is: When I press my buttons twice, the text in the scroller disappears.Everything is set so that It shouldnt be possible to press the same button twice though.The situation in short is as follows. I have 4 scenes and 4 buttons, every button linking to respectively another scene / page. The buttons all are in movieclips. I have 4 different movieclips all containing all buttons. For the page movieclip the-button in the movieclip getsœswitched o by ungrouping it and so on, and so on.On every scene I put the movieclip, with the correct button switched of, on top, with thenction. The other movieclips are made invisible by the visible = true˜delete this.onEnterFrame; function.Im not a develloper but a graphic designer. Dont know much about AS2. I bought the photoslider and textscroller on FlashDen and thought d finnish of this project pretty quickly, but I thinking m almost there" for already many hours now.
View 3 Replies
Apr 26, 2009
how I would convert this vertical scrollbar into a horizontal scrollbar
heres the code:
onClipEvent (load) {
diff_y = bound_box._height-scroller._height;
bounds = bound_box.getBounds(this);
top = bounds.yMin+(scroller._height/2);
bottom = bounds.yMax-(scroller._height/2);
[code]....
View 3 Replies
May 25, 2011
package
{
import flash.display.DisplayObject;[code]....
View 1 Replies
Nov 5, 2009
I have a flash project, its working fine in local system, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading... [URL]
View 12 Replies
Dec 14, 2009
I have a flash project, its working fine in local system and checked this file with uploading in someother websites, its working fine there too, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading.URL...and here the same file which i have uploaded it in other server its working fine.URL...
View 2 Replies
Apr 21, 2009
I missing a file that needs to reside on the server to get this working?
View 1 Replies
Apr 18, 2011
[URL]
The ad on the bottom right of the screen (the one with lightning flashing) has an invisible button in its Flash file (CS5) linking to [URL]. This file is imported as SWF in Dreamweaver CS5.
The hyperlink works in Firefox, but not in Safari. Maybe it is just my computer.
View 1 Replies
Oct 14, 2010
I have developed a player in AS3. It is working if i provide the IP of the website. But, it is not working when i provide the full domain name. Even, i provide the crossdomain.xml for global access.
View 1 Replies
Mar 17, 2012
i have a "swf" file which is picking url from xml & displaying the image, when i tested it locally it works fine, which means it picks up URL from XML & displaying corresponding image. After i uploaded it on server, it doesn't show anything.
View 2 Replies
Apr 22, 2009
I had a button when clicked, it would replace a different moviclip.This worked until I made the bulk of the code into a function and moved it to the layer, and then tried to call the function from the previously mentioned button. It generates no errors, but it stopped working.Hierarchy:Layer 1 > U1 > image
Original button script:
on (release) { var theDepth:Number = _parent.U1.image.getDepth(); _parent.U1.attachMovie("K3E", "image", theDepth);
[code].....
View 3 Replies
Apr 23, 2010
I am creating a website that has links to flash animations. i have created a folder called flash in the root folder and copied the relevant .fla, .swf and the .mp3 files into that folder. the animations are working fine but the audio isnt.it all works fine in flash itself.
View 4 Replies
Jul 10, 2010
I created a 9-scalled background in Flash CS5 which is working fine in Flash CS5.But when i imported it as embeded graphic in Flex, and change dimensions in runtime, 9-scalling doesnt work.Here is my code.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"[code]....
View 1 Replies
May 16, 2003
am using bitmapdata to make me a nice lil' background image, and it works great...until it's resized. Whats happening is it's creating a new bgHolder clip on the resize, NOT resizing the current empty clip "bgHolder"Here's the code(taken from various posts)
import flash.display.BitmapData;
#include "mc_tween2.as"
Stage.align = "TL";
[code]....
View 3 Replies
Jun 3, 2009
I want to create two textfields in flash wich will move the text simultaniously by using one scrollbar. for example. the left textfield contains text and the right textfield contains pictures. and the scrollbar is in the middle.
View 1 Replies