ActionScript 2.0 :: Scroller Not Working With Loaded Xml Buttons

Sep 21, 2006

i attach some buttons according to the tutorial from kirupa to a "menu_mc" mc.everything goes well. the buttons do attach.. the text inside them is visible!i make a scroller (also from a tutorial from over here) that scrolls a "contentMain" mc.everything goes well.... it scrolls.when i put the menu_mc inside the contentMain...... the buttons do attach, the scroller works fine... but the text inside my buttons is not visible.

1. can you tell me what's the problem? why don't the texts show?

2. how can I call the "scrolling()" function from inside that contentMain mc ... without using _root ?

View 2 Replies


Similar Posts:


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 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

Actionscript 3 :: Dynamically Created Buttons Are Not Working Externally Loaded Swf Files?

Aug 4, 2010

i have a swf file which is a framework file done in puremvc and i m loading multiple swf files. one of the swf file loaded into the main swf file loads multiple sub swf files in it. works fine but in the loaded swf file which loads multiple swf files in it.. button dosent work at all. i m not able to click on any button. i m jst making a tree structure so can be easily understood..

container swf -> external swf -> miniSwf file and in miniSwf dynamic button are not clickable but they have all the Mouse eventListeners.

View 1 Replies

Flex :: Scaling An Image In A Scroller Resizes The Scroller When Relative Dimension Are Set To The Scroller?

Mar 9, 2010

I 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].....

View 2 Replies

ActionScript 2.0 :: Claudio Scroller Working At An Angle?

Dec 31, 2005

I've been messing with the Claudio Scroller trying to get it working on an angle. Right now I've got it working but really buggy like and it has some issues. I got it working pretty much perfectly at the angle its set on right now in the fla, but I want it to be workable at any rotation without having to change any numbers.

ps - this is running flash 8 with as 2.0. the first file is for those with flash 8 the second file is for those with mx2004.

View 3 Replies

Actionscript 2.0 :: Scroller With Scrollbar AND Buttons?

Oct 1, 2009

I'm in no way a Flash expert, and I've got a bit of a query. I've followed a few tutorials and managed to get a vertical scroller working pretty well. However, is there a way of having a set of buttons that will move the content of the scroller (and subsequently scrollbar) to a certain position, without breaking the scroll functionality?

View 1 Replies

ActionScript 2.0 :: Flash8 Dynamic Text Box With Scroller Not QUITE Working?

May 8, 2009

this post references the files listed at:i've implemented a dynamic text box that calls a txt file into it. it uses a scroller that i found a tutorial on:i've got everything working splendidly - everything EXCEPT the scrolling bar... as you can see, it scrolls up and down just fine, but doesn't control the text.i've pretty much exhausted my search through the actionscript to locate the problem and i can't find it.

View 8 Replies

ActionScript 2.0 :: Scroller Not Working Deeper Than Root Timeline

Jun 27, 2007

I have a scroller, that is perfect. Except I need it 2 movies deep from the root, i.e. root.movieclip.movieclip2.whereiwantthescroller. When I put it there , it stops working. Can someone look at the attached file and show me what I am doing wrong?

View 1 Replies

ActionScript 2.0 :: Image Scroller - Next And Previous Buttons

Jul 31, 2009

I'm having problems with my AS2 and XML (on Flash 8). I finally figured how to create a simple slideshow which incorporates a "Next" and "Previous" button...but what i'm struggling with is: "How to click on the 'next' button so that the existing image scrolls to the left as the new image from the right moves to the center. And the opposite for the 'previous' button". Currently I have the existing image disappearing (alpha 0) and then the new image scrolls to the center from the right - which is not what I want to do.

Here's my current script:
import mx.transitions.Tween;
import mx.transitions.easing.*;
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
[Code] .....

View 4 Replies

ActionScript 2.0 :: Scroller Doesn't Scroll When Loaded

Sep 19, 2004

I made a "site" in which I load the other parts of the site, for example "scroller" (both in attachment). If you open "scroller" you'll see it works just fine (I wish it would only skip one line at a time but that's not that important). When you open "site" it loads "scroller" in it but the scroller doesn't work anymore?

View 4 Replies

ActionScript 3.0 :: Xml Update; Xml Loaded Infinte Scroller?

Mar 29, 2009

i have some code that moves a movieclip container(mC) left to right in an "infinite" fashion. The container is populated with image via xml and i have two categories with different xml files for each.

When i initially load the swf, everything works as though it should, the images scroll left to right infinitely. When i switch categories (go to frame 2, removeChild(mC), return to frame 1 with variable set to other category), loading in a different xml, the scroller no longer works. it registers that i want it to move from side to side, but it seems to be governed by something else. If i try to switch back to the first category again, the same thing occurs where the movement is broken.

Does it have something to do with garbage collection not occuring to clear out the values of mC and its contents?

[Code]...

View 1 Replies

ActionScript 2.0 :: Scroller Doesn't Scroll When Loaded?

Sep 19, 2004

I made a "site" in which I load the other parts of the site, for example "scroller" (both in attachment). If you open "scroller" you'll see it works just fine (I wish it would only skip one line at a time but that's not that important). When you open "site" it loads "scroller" in it but the scroller doesn't work anymore?!?

I guess it has something to do with the referrence path

View 4 Replies

Flex :: Spark: Automatically Set Scroller To The End Of A List Not Working Properly

Sep 21, 2010

I'm using the following mxml code for displaying a list of some data. I built a custom renderer which can have variable height. Each time a new data arrives, the scroller should go to the end of the list. I registered to the events which triggers an array change.

It's working fine if the height of items is the same. But if this is not happening, the scroller is going a little bit above the end.

If the height of an item from the middle of the list is bigger, then the last items are not visible.

<s:Scroller width="100%" height="100%" id="scroller" horizontalScrollPolicy="off">
<s:DataGroup
id = "lstComments"

[Code].....

View 1 Replies

ActionScript 3.0 :: Make Vertical Text Content Scroller Working In A Flash

Jul 26, 2009

I've tried for hours and days to make my vertical text content scroller working in a flash fake 3d environment with rotationX / Y. But because of vector>bitmap conversion when 3d roationing, the scroller fails to works. I know the stratDrag method fails to work in a 3d environment. other than using PV3D or so ? cause I don't know how to work with PV3D, it's just tooooo complicated to get it for me.

View 1 Replies

ActionScript 1/2 :: Mysteriously Disappearing From Text Out Of Scroller And Buttons Can Press Twice

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

ActionScript 2.0 :: Scroller - Keep Moving The Designated Layer Up Or Down When Hover On The Up Or Down Buttons

Feb 16, 2006

i am making a scroller and need to have it so that when you hover on the up or down buttons, then it will keep moving the designated layer up or down. right now the event handler i am usiing (onRollOver) doesnt really work right because it only moves one pixel, then you need to roll off and roll back on.... i am thinking there must be some do... while statement for the rollover action but i cant find it...

View 7 Replies

ActionScript 2.0 :: FMX, Text Scroller Doesn't Work When Loaded Into A Movie?

Apr 1, 2003

This scroller doesn't seem to work once i load it as an SWF, is there any reason why, if so, how can i fix it?

View 5 Replies

ActionScript 2.0 :: Adding Custom Scroller Button On External Loaded Text?

Jul 9, 2007

I have been following all the wonderful tutorials in this forum to learn about AS and flash. This time I tried to combine 2 tutorials and make a text field with external loaded text and custom scroller button, but I failed.....

I tried to look for different tutorials to find the answer, but It didn't work out either...

View 1 Replies

ActionScript 2.0 :: Vertical Sliding Scroller Based On A Tutorial For A Horizontal Slide Scroller

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 [code]

View 3 Replies

ActionScript 3.0 :: Pan Buttons Are Not Working But Zoom And Reset Buttons Works

Aug 12, 2009

im working on a zoom/pan gallery and i have a problem that i can't solve.URL...the pan buttons are not working but the zoom and reset buttons works. im working on movie the image using the mouse now, if you will hold the image and move it it will drag it on stage.the image is a loader the loads and image and placed on screen.there is a mask on top of it and a frame that indicates the size of the gallery.when the user pan the image loader content i want it to stop as soon as it gets to the gallery frame,but i cant seem to find the best way to do it.so basicly when the image is in 100% i dont want the user to be able to drag it but after you zoom the user will be able to drag it but only to the edge of the frame so there wont be any white spaces.i tried a lot of different ways to do it but all of them are complicated and not working the way that i want them to work.

View 2 Replies

ActionScript 3.0 :: Buttons Stop Working After Pressing Other Buttons?

Sep 14, 2009

I have three buttons and when I click the second one, the first stops working (e.g. no trace event and it won't go back to the frame "tab1") but the third still works. Then when I press the third button both the first and second no longer work. If I take out the gotoAndStop lines, the buttons work fine. The subsequent frames simply have stops on them.
 
b1.addEventListener(MouseEvent.MOUSE_UP,b1Pressed);b2.addEventListener(MouseEvent.MOUSE_UP,b2Pressed);b3.addEventListener(MouseEvent.MOUSE_UP,b3Pressed);
function b1Pressed(event:MouseEvent){    trace("b1 pressed"); 

[Code]....

View 4 Replies

ActionScript 2.0 :: Menu Text Above Scroller It Controls The Scroller?

Jul 29, 2005

my 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 Replies

ActionScript 2.0 :: Convert Vertical Scroller To Horizontal Scroller?

Aug 17, 2007

have 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]....

View 4 Replies

ActionScript 2.0 :: Change Vertical Scroller To Horizontal Scroller?

Jan 10, 2011

change vertical scroller to horizontal scroller?

View 2 Replies

ActionScript 2.0 :: Vertical Scroller To Horizontal Scroller?

Oct 24, 2009

I 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]....

View 0 Replies

ActionScript 3.0 :: Scroller That ACTUALLY Replaces Browser Scroller?

Jul 23, 2009

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 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 2.0 :: Build A Vertical Slide Scroller Based On A Tutorial For A Horizontal Slide Scroller?

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

IDE :: Buttons In Mc Not Working?

Aug 15, 2009

K so i started this flash site and made buttons that open little sliders underneath them that load subcategory's. the problem is i cant get the buttons on the little slider to load a external swf file in a loader on my flash .

// sub bar button functions
}
recon.onRelease = function () {
main.contentPath = "Recon.swf,";
}

View 1 Replies







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