ActionScript 3.0 :: Scrollbar Not Working When Loaded Into External Swf?

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


Similar Posts:


ActionScript 3.0 :: Scrollbar For Text Which Is Loaded From External File?

Apr 16, 2012

i have one simple question. I did simple scrollbar for text which is loaded from external file. But, if the text in textfield is too short ( few words ) I dont want scrollbar to roll.
I would be grateful for any useful advice.

Code:
var loader:URLLoader = new URLLoader(new URLRequest("abcd.txt"));loader.addEventListener(Event.COMPLETE, completeHandler);
function completeHandler(event:Event):void{

[Code]...

View 7 Replies

ActionScript 2.0 :: Scrollbar Not Working With External Text File In Flash Mx

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

ActionScript 2.0 :: Scrollbar Not Working With External Text File In Flash Mx?

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

ActionScript 3.0 :: Banner Ad Not Working As External Loaded Swf

Feb 10, 2011

I built a banner ad which works fine when I test it in flash. I then put it inside another flash movie in which it is loaded as an external swf ,my portfolio, and it it loads and only runs the 1st line of code animation and I can see the text that is waiting (outside the visual dimensions of the banner) I am also getting this error....what is going on?

[Code]...

View 3 Replies

ActionScript 2.0 :: External Links Within A Loaded SWF Not Working?

Aug 18, 2009

I have my parent swf created with the external swfs loading properly.once they are loaded, the links within the externally loaded swf's are not working. Here is the code I am using:

on (release) {
//Movieclip GotoAndStop Behavior
this.gotoAndStop("first");
//End Behavior

[code]....

View 3 Replies

ActionScript 3.0 :: Form And Buttons Within External SWF Not Working When Loaded?

Oct 20, 2010

I'm currently working on a flash site, which consists of a "Main" SWF file that has buttons to load external SWF files. I figured out how to make the external SWF files show on its own layer below other layers on the main time line of the Main SWF. I created a blank movie clip file on it's own layer of the main time line and used this to call out to it:This worked perfectly. The website so far works perfectly with each page of the website being an externally loaded SWF. The problem I came across today though, is that buttons and text fields within the external SWF files don't work when they are loaded onto the "Main" SWF. They only work when I open the external SWF files individually. I really need to figure out how to make buttons and the text fields within the external SWF files when loaded onto the "MAIN" SWF.

I first came across this problem when I tried adding a form that I created to one of the external SWF files called guestlist_page_swf.swf. The form works on its own when I open that SWF individually, but when I try to load that SWF file with the form as a page on my "Main" SWF, the mouse doesn't even recognize that the submit button is a button, and it doesn't allow me to click on the text fields. Here is the link to the site I am having the problem with:

processing_mc.visible = false;
// Clear the form fields
first_name_txt.text = "";

[code]....

View 2 Replies

ActionScript 2.0 :: Button Stopped Working On Loaded External Swf?

Feb 17, 2011

the swf that I am loading has a button in it that when I click on it, it will print the screen and it will email it to an email address.Everything works perfectly fine if I use the application(swf) on its own.however, I created a swf file that will load the above swf file in it when a button is clicked. the loading part is fine and it works as it should be. but the button for printing the screen stops working once the swf has been loaded!

View 3 Replies

ActionScript 3.0 :: Loaded External MP3 Player, StartDrag Not Working

Oct 23, 2010

all of the other buttons on an external movie are workign but the volume slider is not...

when i load the external file (the mp3 player) it works fine.

Code:
/* volumeStartDragging(event:MouseEvent):void
* Returns a mathematical value that we can use to adjust the volume
* the value is the relation of the volume ball to the line

[Code].....

View 1 Replies

Actionscript 3.0 :: Form And Buttons Within External SWF Not Working When Loaded

Oct 20, 2010

I'm currently working on a flash site, which consists of a "Main" SWF file that has buttons to load external SWF files. I figured out how to make the external SWF files show on its own layer below other layers on the main time line of the Main SWF. I created a blank movie clip file on it's own layer of the main time line and used this to call out to it:

this.mySWFLoadingClip.addChild(loader);

This worked perfectly. The website so far works perfectly with each page of the website being an externally loaded SWF. The problem I came across today though, is that buttons and text fields within the external SWF files don't work when they are loaded onto the "Main" SWF. They only work when I open the external SWF files individually. I really need to figure out how to make buttons and the text fields within the external SWF files when loaded onto the "MAIN" SWF. I first came across this problem when I tried adding a form that I created to one of the external SWF files called guestlist_page_swf.swf. The form works on its own when I open that SWF individually, but when I try to load that SWF file with the form as a page on my "Main" SWF, the mouse doesn't even recognize that the submit button is a button, and it doesn't allow me to click on the text fields. Here is the link to the site I am having the problem with, and the problem page is the Guest List page:
[URL]

Below is the code from my Main SWF file and the External SWF file with the form on it:

MAIN SWF:

var Xpos:Number = 0.0;
var Ypos:Number = 192.5;
var swf:MovieClip;

[Code].....

View 5 Replies

Scrollbar Not Working For XML Content MC

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

ActionScript 2.0 :: Up And Down Scrollbar Buttons Not Working In IE8?

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

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

Professional :: Horizontal Scrollbar In List Not Working

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

ActionScript 3.0 :: Scrollbar Bounds Not Working Correctly?

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

ActionScript 2.0 :: Horizontal Scrollbar Not Working Properly?

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

ActionScript 3.0 :: Scrollbar And Loaded Content Of Various Sizes?

Jun 5, 2009

I'm working on a project that uses a loader to load up a swf, then display the loader in an area using a mask and a scrollbar to scroll through the content. The content in this project will change regularly, including the dimensions of the swf file (vertical dimension only, I'm not worried about horizontal scrollbars with this question).The problem I'm running into is I can't figure out a proper formula to get the scrollbar to position the content at it's bottom when the scrollbar is at the bottom  What I have now is close, but not exact. If you scoll to the bottom, the bottom of the content would scroll up too high, leaving an empty 'blank' space where the content should be. I have an if statement checking for this currently, but this creates a 'dead zone' at the bottom of the scroll bar where the content is already at the bottom, and the scroll bar can continue to scroll down a bit.oes anyone know what I'm doing wrong here in the math to get a good scrolling going, regardless of the size of the content loaded by the loader?Here is what I have so far:

package {  import flash.display.MovieClip; import flash.net.URLRequest;  import flash.events.*; import flash.display.Loader;  import fl.controls.UIScrollBar; import fl.controls.ScrollBar; import

[code].....

View 1 Replies

ActionScript 2.0 :: Scrollbar Not Scrolling Dynamically Loaded SubMovies

Jul 18, 2010

I'm having trouble getting my scrollbar to work with dynamically loaded movies inside the movie the scrollbar is attached to. An example of my working scrollbar code with static data and my broken scrollbar with dynamic data can be found on a nice webpage I made, but I cannot post a proper link: www cryhavocguild com/actionscript php. Make sure to include the www as my flash file will only load the data with it (another problem). I have a for loop that pulls data from my database, populates a topMovie(contentMain) with 20 subMovies inside it. My scrollbar is attached to topMovie. Once the data is loaded and the topMovie is populated, the scrollFace(not ScrollTrack) dissapears and the dynamic movie is not scrollable. As a test, I populated the topMovie with graphic boxes and no dynamic movies and it scrolls just fine.

Scrollbar code:
scrolling = function () {
var scrollHeight:Number = scrollTrack._height;
var contentHeight:Number = contentMain._height;
var scrollFaceHeight:Number = scrollFace._height;
var maskHeight:Number = maskedView._height;
[Code] .....

View 1 Replies

Actionscript 2.0 :: Scrolling Multiple Loaded Movieclips From 1 Scrollbar?

Jul 22, 2009

To just add the articles will only make the page load slower so I used a scrollbar with a textfield and added text and pics to the article to scroll it. This works fine but I need a way where the scroll can call different textfields or movieclips. For instance, the main scroll opens with a textfield that scrolls articles 15 thru 10. I need on the bottom of the page buttons that link articles 9 thru 5 and so on. So when you click a button the textfield or movieclip changes and displays what is in that textfield or mc. I have looked for a tutorial, a video or anything on this and besides coming up with Flash 5 similar mentions but nothing to this point

View 1 Replies

ActionScript 1/2 :: How To Add Scrollbar To External SWF

May 3, 2010

I'm pulling an external SWF in to a smaller movieclip. I need to have a scroller bar. How and where do I need to put it?

View 1 Replies

Actionscript 3.0 :: Created A Dynamic Scrollbar Which Scrolls Dynamically Loaded XML Text?

Aug 14, 2010

I have a small issue going on. I created a dynamic scrollbar which scrolls dynamically loaded XML text. But it's not scrolling..You can view it here:(Click Start, 2 times the right arrow, then the book, to the righthand side there is a scrollbarI have divided my Scrollbar into 3 classes, the actual scrollbar, the scrollbar custom event and the scrollbar including content and mask.This is the actual scrollbar:

Code: Select allpackage com.own.ui
{
import flash.display.*;

[code]......

View 5 Replies

ActionScript 2.0 :: Flash 8 - Scrollbar Not Scrolling Dynamically Loaded Movies Inside A Movie?

Jul 18, 2010

I'm having trouble getting my scrollbar to work with dynamically loaded movies inside the movie the scrollbar is attached to.An example of my working scrollbar code with static data and my broken scrollbar with dynamic data can be found here: [URL]

I have a for loop that pulls data from my database, populates a topMovie(contentMain) with 20 subMovies inside it. My scrollbar is attached to topMovie. Once the data is loaded and the topMovie is populated, the scrollFace(not ScrollTrack) dissapears and the dynamic movie is not scrollable.As a test, I populated the topMovie with graphic boxes and no dynamic movies and it scrolls just fine.

Scrollbar code:

Code:
scrolling = function () {
var scrollHeight:Number = scrollTrack._height;
var contentHeight:Number = contentMain._height;
var scrollFaceHeight:Number = scrollFace._height;

[code]....

View 2 Replies

ActionScript 3.0 :: Custom Scrollbar And External Text?

Dec 27, 2008

when I test my movie my external text loads. if I scroll downany length with out retuning it to the top, and then click a buttonwich loads another external text file, you are not able to see thefirst few lines of the text file untill you click on the slider.the slider did not return to the untill I reset the sliderscordanites apon button click. is there a way I can reset the textfield.my code can be found in the sixth reply of this post [URL]

View 17 Replies

IDE :: Scrollbar On Dynamic Text From External Txt File?

Sep 17, 2009

I have a dynamic text box with text imported from an external .txt file and I'm trying to add a scrollbar using the scrollbar component. The scrollbar works fine if I simply paste the text into the box, but does not work when pulling the HTML formatted text from the .txt fileETA: Here is my script:

myLoadVars = new LoadVars();
myLoadVars.onLoad = function() {
ContactText.htmlText = myLoadVars.myHTMLdata;

[code].....

View 2 Replies

ActionScript 2.0 :: Kirupa XML Flash Gallery - Allow The Thumbnail Scrollbar To Begin Scrolling Once The Page Has Loaded

Nov 17, 2009

That said, I would like to alter some of the code to allow the thumbnail scrollbar to begin scrolling once the page has loaded. Here is what the code looks like as it is right now.

[Code]....

View 1 Replies

ActionScript 2.0 :: Custom Scrollbar With Easing For External Text?

Jul 29, 2008

how to display text from external text files but the problem that they all use the regular component scrollbar inside flash, and how to make custom scrollbar for dynamic text but still not for external text. But as the title says, how to make a custom scrollbar (with/without easing but hopefully with it) to display text (or html) from an external text file?

View 8 Replies

ActionScript 3.0 :: Loaded Swfs Not Working When Loaded Through Xml?

Jun 10, 2010

I have a "photo" gallery that loads numerous SWFs through xml, one by one on click. All works fine. All my SWF work fine stand alone. But when I load them into the player, many swf dont work properly.in example, I have textinput textfields in many of the swfs, which work fine on their own but not when loaded into the player. Then I have a word search game that works fine when alone, not when in player. I can see there is something as my mouse cursor changes into the "button finger", but nothing visual.

All drag and drop assigments work fine etc. I have no idea whats up. I have receantly switched to as3 and in as2 there was _lockroot declaration that solved similar problems, but now in as3 (where it supposedly should be automatic) it doesnt work. As it seems that it cannot recognise it own stage value, or selection_focus when loadedinside another swf through xml.Using cs4, as3.

View 4 Replies

Actionscript 3.0 :: Object Oriented Scrollbar With External HTML And CSS File

Oct 28, 2008

Simply put, what I'm trying to do is create a Dynamic Textfield with custom scroll bars via this tutorial [URL], that renders an external HTML file with CSS attached as its content instead of images like in the tutorial. I've tried a mix and match combination, ultimately, when I test the movie, the scroll bar works, but I see no content to scroll through. I have attached my project file.
prototype.fla [ 80 KiB | Viewed 730 times ]

View 6 Replies

ActionScript 3.0 :: Loading External Movie With Scrollbar Component Produces Error

Oct 28, 2010

I have a main movie that contains a series of buttons that load different swf files into a loader component.

Each of the secondary movies contains a series of buttons that when clicked load  a movie clip with information specific to that button.

Nothing earth shattering, right...

When I preview the secondary movie it runs as I would expect.

When I bring it into the main movie via the loader component and click any of the buttons to load the secondary movie's movie clip I receive the following errors[code]...

View 3 Replies

ActionScript 3.0 :: External XML Works Loaded Offline Not Loaded Online?

Apr 15, 2009

Code:
var slideNo:Number;
slideNo = 0;
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.addEventListener(Event.COMPLETE, showXML);

[code]....

View 3 Replies







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