Loading A SWF On Top Of A Buttonless Scroller
I've used the buttonless scroller tutorial: http://www.flashkit.com/tutorials/In...-909/index.php to create a scrolling image of the office I work in, which scrolls left & right when you mouseover the far ends of the image.
I have then created nav buttons below this scrolling image which, when clicked, load separate SWFs over the top of the scrolling image to cover it.
My problem is that even though the SWFs are loaded over the top of the scroller whenever the mouse moves over the far ends it is still trying to scroll the image underneath, so I can't add any buttons to the ends of the SWFs.
Has anyone used this buttonless scroller in a similar fashion & knows how to deactivate it when the SWFs are loaded over it?
Or even anyone with any suggestions would be most welcome.
Oh & I'm using Flash MX if that's any help.
Cheers,
Tapps.
FlashKit > Flash Help > Flash General Help
Posted on: 02-19-2005, 06:10 PM
View Complete Forum Thread with Replies
Sponsored Links:
- Loading A SWF On Top Of A Buttonless Scroller
- Buttonless Scroller
- Buttonless Scroller Here On Flash Kit
- Horizontal Buttonless Scroller
- MX Buttonless Scroller Actionscript Help
- Buttonless Scroller Tutorial From FlashKit
- Buttonless Scroller ActionScript Help Needed
- Buttonless Scroller - How Do I Link Buttons Inside Mc To Dynamically Loaded Images?
- Buttonless Scroller - How Do I Link Buttons Inside Mc To Dynamically Loaded Images?
- Image+text Scroller, Form Scroller, And Loading External Text Files - Urgent
- Image+text Scroller, Form Scroller, And Loading External Text Files - Urgent
- Buttonless Interactivity
- 'Buttonless' FLV Playback
- Buttonless Scrollbar
- Help Making Buttonless GetURL()
- Buttonless Html Popup?
- Buttonless Scrollbar To Load Picture Into Container?
- Buttonless Scrolling MC, Buttons Inside Not Working
- Similar To Buttonless Scroll, But Need To Rotate Image/MC
- Buttonless Scrolling MC, Buttons Inside Not Working
- Pre-loading Scroller
- Scroller With Loading
- Pre-loading Scroller
- Loading Movies Into Scroller
- Loading New Text Into The Same Scroller
- Xml Scroller -- Loading Swf Files
- Loading A .txt To The Text Scroller Component
- Loading Dynamic Text With Scroller
- Loading Text Into Scroller From Txt. File?
- Loading Text Into Scroller From Txt. File?
- Loading External Text Into Scroller
- Problem Loading Picture Scroller
- Loading Text Into A Dynamic Scroller
- Loading An External Text Scroller
- Loading Content Into Scroller Externally
- Dynamic Loading Of Images Into A Scroller With ASP?
- Loading External Txt Into A Textbox With A Scroller
- Loading Content Into Scroller Externally
- Loading Dyamic Text In A Scroller
- Loading Content Into Scroller Externally
- Loading Content Into Scroller Externally
- Loading A Movie In A MC, With Accelerated Scroller Efect
- Loading An Ext Swf +text Variables+component Scroller
- Link On My Text , In My External Loading Txt. File, For My Scroller------------------
- Problem Loading External Text Using Claudio's Scroller
- Easing Scroller Dynamically Loading Text And Pics
- Loading Dynamic Text In Easing Scroller - Problem
- Problem Loading External Text Using Claudio's Scroller
- Tricky Dynamic Scroller PHP Flash MX Loading Variables Problem HELP
- Noob Question About Loading A Kirupa Image Scroller Into An Existing Flash Page ^^
- Convert Movieclip Scroller To Dynamic Text Scroller
Loading A SWF On Top Of A Buttonless Scroller
I've used a buttonless scroller tutorial from another site (I know, shame on me, etc, etc): http://www.flashkit.com/tutorials/In...-909/index.php to create a scrolling image of the office I work in, which scrolls left & right when you mouseover the far ends of the image.
I have then created nav buttons below this scrolling image which, when clicked, load separate SWFs over the top of the scrolling image to cover it.
My problem is that even though the SWFs are loaded over the top of the scroller whenever the mouse moves over the far ends it is still trying to scroll the image underneath, so I can't add any buttons to the ends of the SWFs.
Has anyone used this buttonless scroller in a similar fashion & knows how to deactivate it when the SWFs are loaded over it?
Or even anyone with any suggestions would be most welcome.
Oh & I'm using Flash MX if that's any help.
Cheers,
Tapps.
View Replies !
View Related
Buttonless Scroller
i would like to make a scroller like this http://www.flashkit.com/tutorials/In...-909/index.php
but i would like mine to go up and down. And maybe ease in and out a lil smoother. ok now im getting greedy. would someone please tell me how to do so?
thank you in advance
cb
View Replies !
View Related
Horizontal Buttonless Scroller
I have been trying to find a way to make a horizontal buttonless scroller, where when u move your mouse over the left and right of the scroll area it scrolls. I also want it to be a smooth scroller, where if you place your mouse towards the middle of the scroll area it scrolls slower in the given direction, and then if you move the mouse farther to the left/right it scrolls faster. Here is a link as an example of the type of movement I want, except I would like mine would be horizontal. Thanks for any help.
View Replies !
View Related
MX Buttonless Scroller Actionscript Help
i've been having problems getting my buttonless scroller to work. is there something wrong with the code? the scroller refuses to scroll to the right when i move my mouse over to the left side. after the whole movie clip moves to the right, it's supposed to stop at the last image but it just keeps going until there's a blank square... any help would be much appreciated!
View Replies !
View Related
Buttonless Scroller Tutorial From FlashKit
Hi,
I'm trying to work on this tutorial using Flash 5:
Buttonless Scroller
But, I can't complete step 3. I know the tutorial isn't so Hot as I have seen many other unanswered questions regarding this tutorial on this site. I just want to know how to insert a Movie Clip into Flash so I can move on to Act 2. Has anyone completed this tutorial or know how to make a buttonless scroller like the one in the tutorial? If so, can you explain how in much greater details? Or, can you at least tell me how to add a movie clip as described in the tutorial.
Thank You.
View Replies !
View Related
Buttonless Scroller ActionScript Help Needed
I hope someone can help me with this cos it's drivng me nuts.
I've been following the tutorial on flashkit to create a buttonless scroller (http://www.flashkit.com/tutorials/In...-909/index.php)
so that I can create pages that will load into a movie Clip in my sites main swf.
The problem I have is that when I load the swf I create using the tutorial, the rollover doesn't work and it just sits there motionless. I have a feeling that I need to turn it into RollOver actions instead of a defined space in the actionscript. Can anyone confirm this is what I need to do, or is there another solution. I've already had a go at trying to "convert" the tutorial, but the rollovers just don't seem to work.
I've tried altering the actionscript (by using the principles of a rollover button script) to accomodate my rollover buttons but am getting nowhere with it. With my actionscripting not being my greatest asset, I just can't figure it out how to do it.
Here's the actionscript from the tutorial.....Tutorial ActionScript Code:
//setting the variables for the script;
_root.scrollerName = _root.scrollerClip;
_root.left = 0;
_root.innerLeft = 50;
_root.right = 609;
_root.innerRight = 559;
_root.top = 0;
_root.bottom = 395;
_root.minXposition = -1200;
_root.maxXposition = 0;
_root.idleScrollSpeed = 0;
_root.overScrollSpeed = 5;
//if the scroller has gone to the end, switch directions;
if (_root.scrollerName._x < _root.minXposition) {
_root.scrollerDirection = "right";
} else if (_root.scrollerName._x > _root.maxXposition) {
_root.scrollerDirection = "left";
}
if (_root._ymouse < _root.bottom && _root._ymouse > _root.top) {
//checking to see if the mouse is in the left area, if so, continue;
if (_root._xmouse > _root.left && _root._xmouse < _root.innerLeft) {
if (_root.scrollerName._x > _root.maxXposition) {
break;
} else {
_root.scrollerName._x = _root.scrollerName._x + _root.overScrollSpeed;
}
} else if (_root._xmouse > _root.innerRight && _root._xmouse < _root.right) {
if (_root.scrollerName._x < _root.minXposition) {
break;
} else {
_root.scrollerName._x = _root.scrollerName._x - _root.overScrollSpeed;
}
} else if (_root._xmouse < _root.left or _root._xmouse > _root.right) {
if (_root.scrollerDirection == "right") {
_root.scrollerName._x = _root.scrollerName._x + _root.idleScrollSpeed;
} else if (_root.scrollerDirection == "left") {
_root.scrollerName._x = _root.scrollerName._x - _root.idleScrollSpeed;
}
}
} else if (_root.scrollerDirection == "right") {
_root.scrollerName._x = _root.scrollerName._x + _root.idleScrollSpeed;
} else if (_root.scrollerDirection == "left") {
_root.scrollerName._x = _root.scrollerName._x - _root.idleScrollSpeed;
}
Basically, I can't figure out how to convert that to make it work via roll over buttons, or similar such action that would allow it to work when loaded into another swf.
My apologises if it is an easy problem to fix, but it's frustrating the hell out of me and would appreciate any help.
View Replies !
View Related
Buttonless Scroller - How Do I Link Buttons Inside Mc To Dynamically Loaded Images?
Hi, I've made this scroller, http://www.flashkit.com/tutorials/In...-909/index.php and it works fine. One thing though is, it leaves out how to link the contents of the scroller to that dynamic field. In my case, I'd like to link the thumbnails to an image. I guess I'd make each image an swf with preloader? Since I need to add captions too...? Right?? Can someone help! I'm lost!! And, what is the code that I put on each button?
THANKS!
View Replies !
View Related
Buttonless Scroller - How Do I Link Buttons Inside Mc To Dynamically Loaded Images?
Hi, I've made this scroller, http://www.flashkit.com/tutorials/In...-909/index.php and it works fine. One thing though is, it leaves out how to link the contents of the scroller to that dynamic field. In my case, I'd like to link the thumbnails to an image. I guess I'd make each image an swf with preloader? Since I need to add captions too...? Right?? Can someone help! I'm lost!! And, what is the code that I put on each button?
THANKS!
View Replies !
View Related
Image+text Scroller, Form Scroller, And Loading External Text Files - Urgent
Hi everybody!
Does anybody know how to do the following things in Flash MX?
1.Make a scroller with text + images in it;
2.Make a scroller with text + a form in it;
3.I followed the tutorial entitled "Scrolling Dynamically Loaded Text", but the text that I tried to load has over 160 lines, and I can only scroll down to about half way of the total lines. Why is that?
4.I also tried to load xml files using the code <?xml version="1.0" encoding="utf-8"?> on the first line of each xml file, but the ', &, and " " don't work.
Can anybody help me, please? This is urgent!
Thanks in advance!
animind
View Replies !
View Related
Image+text Scroller, Form Scroller, And Loading External Text Files - Urgent
Hi everybody!
Does anybody know how to do the following things in Flash MX?
1.Make a scroller with text + images in it;
2.Make a scroller with text + a form in it;
3.I followed the tutorial entitled "Scrolling Dynamically Loaded Text", but the text that I tried to load has over 160 lines, and I can only scroll down to about half way of the total lines. Why is that?
4.I also tried to load xml files using the code <?xml version="1.0" encoding="utf-8"?> on the first line of each xml file, but the ', &, and " " don't work.
Can anybody help me, please? This is urgent!
Thanks in advance!
animind
View Replies !
View Related
Buttonless Interactivity
Hello everyone!
I'm a bit stumped. I've ran through a couple of tutorials on "buttonless scrolling" for Flash movies. I did find one, but it doesn't seem to allow the developer to control the speed of the scrolling images? It's a bit slow (if you click on the URL for the tutorial and you'll see the demo):
Tutorial off FlashKit - Buttonless Scrollbar
I'm looking for what the online site for V Magazine has. Check it out and you'll see what I mean:
After the preloader is done and after the whole quick scroll of the magazine covers are over, click on the button "V Magazine" on upper lefthand corner again to retrieve the buttonless scrolling coverart gallery.
V Magazine Online Site
The buttonless scrolling speed seems to be controlled by the mouse's direction and the scrolling gallery seems automatic at the same time.
ActionScripting? Tweening?
Anyone who can help me (even if it's only a partial of this question) then it would be of great help! I'd so appreciate it.
Many thanks in advance for your time!
View Replies !
View Related
'Buttonless' FLV Playback
Hello Flash people.
Can anybody help me out with the actionscript for getting a FLV to:
begin paused
play on rollover and
pause on rollout
kind of like this: http://www.adobe.com/devnet/flash/samples/video_gallery_as2/
but without the enlarged thumbnail or tooltip. I've downloaded the source for this but can't make much sense of it as it looks far too advanced for me.
Thanks,
Peter.
View Replies !
View Related
Buttonless Scrollbar
Hey all, I know how to create a scrollbar, but I was wondering if anyone could tell me how to create a BUTTONLESS scrollbar.
EG)
http://gotoandlearn.com/index2.html
^^The "select tutorial" box has a buttonless scrollbar.
www.innatemediagroup.com
^^all the text boxes use buttonless scrollbars
So can anyone explain this to me? Thankyou :-)
View Replies !
View Related
Help Making Buttonless GetURL()
Hi I am trying to make a getURL() that doesn't utilize a button, at a certain frame in the timeline (after a movieclip). I understand that getURL() no longer exists in Actionscript 3 but if anyone can explain to me how to write an action that will allow me to open a URL in its _parent frame after a certain amount of time without clicking I would be extremely grateful.
View Replies !
View Related
Buttonless Html Popup?
I am trying to get a html popup window to open when my movie hits a certain frame instead of a button.
Im using the following code but it uses a button instead of a frame to open the popup.
on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "http://www.kirupa.com/modular/pop-up.htm";
target_winName = "kirupa";
width = 400;
height = 300;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 1;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
Any help would be great.
View Replies !
View Related
Buttonless Scrollbar To Load Picture Into Container?
I'm looking to create a buttonless horizontal scrollbar containing photo's to load into a container on the same page. I have flash MX 2004 Pro, but I saved the example as a Flash MX document. If someone wouldn't mind taking a look and giving me some suggestions, I'd really appreciate that. I've been looking in the Flash Bible and at the different tutorials on Flashkit and can't seem to figure this one out.
pix.fla (86k) Zipped (71k)
Thanks;
Jim
View Replies !
View Related
Buttonless Scrolling MC, Buttons Inside Not Working
I have done it on other Flash sites and the method worked (as per tuts here)... a button inside a buttonless scrolling MC that's to link to another scene.... isn't working to save my life. The scrolling PROJECT SECTION thumbnails are supposed to click and take you to a scene with a description of the project, and I intend to use this technique also for the Executives section. (if I can get it to work). I only have the left three thumbs set up as linked buttons so far (if they worked)
http://designsourceadvertising.com/ndc-help.zip (2.6MB .FLA)
Any help would be much appreciated. pleezpleezpleez
View Replies !
View Related
Similar To Buttonless Scroll, But Need To Rotate Image/MC
Hi all,
I'm sure a lot of you have seen the tutorials for buttonless scrolling (where you move your cursor to the right of the screen and the movieclip scrolls to the left etc). Here is an excellent example...http://www.gotoandlearn.com/ (and then scroll down until you get to the title, 'Scrolling Thumbnail Panel'.
Now, I want to use this principle to rotate a MC of the world instead of scrolling the MC left and right. So, as your cursor moves to the right of the screen, the globe rotates in an anti-clockwise direction and visa versa.
Could anyone moderate the code below to make this work? I've tried a few things but none of them work. Thanks to anyone who tries.
FG.
the code...
panel.onRollOver = panelOver;
function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollOver;
}
var b = stroke.getBounds(_root);
function scrollPanel() {
if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse>b.yMax) {
this.onRollOver = panelOver;
delete this.onEnterFrame;
}
if(panel._x >= 89) {
panel._x = 89;
}
if(panel._x <= -751) {
panel._x = -751;
}
var xdist = _xmouse - 250;
panel._x += Math.round(-xdist / 7);
}
View Replies !
View Related
Buttonless Scrolling MC, Buttons Inside Not Working
I have done it on other Flash sites and the method worked (as per tuts here)... a button inside a buttonless scrolling MC that's to link to another scene.... isn't working to save my life. The scrolling PROJECT SECTION thumbnails are supposed to click and take you to a scene with a description of the project, and I intend to use this technique also for the Executives section. (if I can get it to work). I only have the left three thumbs set up as linked buttons so far (if they worked)
http://designsourceadvertising.com/ndc-help.zip (2.6MB .FLA)
Any help would be much appreciated. pleezpleezpleez
View Replies !
View Related
Pre-loading Scroller
I'm a bit frustrated about this.
On a few rather cliche'd flash sites, the loading process is preceded by a scrolling bar in which the percentage of loaded bytes or frames is shown. Idiot me, I took a college friend's advice when he told me it was easy.
Long story short: instead of making a new % scroller for every file/movie I make (and want to display separately), could I make a scroller as it's own movie and simply import it from a library? (Dumb question, I know, but I'm the kinda guy who'd prefer Perl over PHP.)
View Replies !
View Related
Scroller With Loading
hey everybody,
If you check this site http://www.christiandaniel.com/en/
you see a simple picture slider with info being loaded.
How do i make something like this.
By clicking a button its slide to the picture and then loads the info and by clicking a other button it takes away the info first and then slide to the picture.
Does somebody have a source file for this technique ?
View Replies !
View Related
Pre-loading Scroller
I'm a bit frustrated about this.
On a few rather cliche'd flash sites, the loading process is preceded by a scrolling bar in which the percentage of loaded bytes or frames is shown. Idiot me, I took a college friend's advice when he told me it was easy.
Long story short: instead of making a new % scroller for every file/movie I make (and want to display separately), could I make a scroller as it's own movie and simply import it from a library? (Dumb question, I know, but I'm the kinda guy who'd prefer Perl over PHP.)
View Replies !
View Related
Loading Movies Into Scroller
I'm using a basic Barney's scroll as an interface, and loading movies into targets on the movieclip that's scrolling. Does anyone know how to make a movie load into the target only after the Barney's scroller has finished moving? I'm having a problem with playback: my scroller is choppy when movieclips are loading into it. I want to avoid preloading everything and have the content movies load after the scroll animation stops. It would be nice to synchronize this a little more.
Thanks in advance
Mike
View Replies !
View Related
Loading New Text Into The Same Scroller
How would I go about loading new text into a text field that would use the same scroller? I have the scroller all set up and the dynamic text field currently loads the text from a text file. i want to load new text from a different text file when a button is clicked. Any help would be really appreciated.
View Replies !
View Related
Xml Scroller -- Loading Swf Files
hello,
i am trying to use xml scroller to load 2 swf files inside of empty movie clips that are placed on the main stage of the main movie.
so each menu item of the xml scroller would load 2 swf files, on click.
my xml has no ability to do so -- can open url and go to Frame.
anybody knows how to alter the script?any help appreciated.
1. Setting the menu to open url
In the xml file set the behaviour to "1". Then on each item put the url string in the "data" attribute, and the target window string in the "param" attribute.
<behaviour value="1" />
<item label="Item label" data="http://google.ro/" param="_blank" />
2. Setting the menu to trigger gotoAndStop in a certain movie clip
In the xml file set the behaviour to "2". Then on each item put the frame number/label in the "data" attribute, and the movieclip path in the "param" attribute.
<behaviour value="2" />
<item label="Item label" data="3" param="_root.my_mc" />
This is equvalent to: _root.my_mc.gotoAndStop(3);
or
<item label="Item label" data="services" param="_root.my_mc" />
This is equvalent to: _root.my_mc.gotoAndStop("services");
View Replies !
View Related
Loading Text Into Scroller From Txt. File?
I am loading text. into my scroller form a txt. file and want to know how to go about changing the font. here is the deal, I have a projest I am working on, and the companies name contains an "e" with the accent over the letter. in my program, that I am writing the text. file in (textedit), in mac osx, it shows up fine and dandy, when I test the movie in flash, the place where the "e", with the accent over them show up with a less than or grater than sign under them. I have tried changing the font, in text editor, but no luck.
IS THEIR ANYWAY POSSIBLE TO DO SOMETHING ABOUT THIS PROB?
----------------------------------------------------------------------------------------------------
thank you, so much if you can help me at all...as I am pressed for time. Best Regards.
g.g.
View Replies !
View Related
Loading Text Into Scroller From Txt. File?
I am loading text. into my scroller form a txt. file and want to know how to go about changing the font. here is the deal, I have a projest I am working on, and the companies name contains an "e" with the accent over the letter. in my program, that I am writing the text. file in (textedit), in mac osx, it shows up fine and dandy, when I test the movie in flash, the place where the "e", with the accent over them show up with a less than or grater than sign under them. I have tried changing the font, in text editor, but no luck.
IS THEIR ANYWAY POSSIBLE TO DO SOMETHING ABOUT THIS PROB?
----------------------------------------------------------------------------------------------------
thank you, so much if you can help me at all...as I am pressed for time. Best Regards.
g.g.
View Replies !
View Related
Loading External Text Into Scroller
Hi
Small problem I'm having, I think...
I'm loading an external text file into a dynamic scroller.
On the 1st frame I have:
randomNum = Math.round(Math.random()*9999999999);
loadVariablesNum("text/commentary.txt?"+randomNum, 0);
I then have a temporary button that is used to load the text into the scroller:
on (release) {
_root.scroller.text = commentary;
}
this seems to work fine, but I dont want people to have to click a button to see the text so I made a movieclip with the following actions:
onClipEvent(load){
_root.scroller.text = commentary;
}
This doesnt work though, any ideas?
Thanks
Stipes
View Replies !
View Related
Problem Loading Picture Scroller
i have uploaded my site to a temp site on geocities and am very puzzled why one of the pages doesn't load properly because when it is tested locally (ie. on my comp), it loads fine. please see http://www.geocities.com/miupiu66, click "AWARDS". the content on the right side of the page loads into a containerMC. strangely, the text "AWARDS" and the scroller buttons show up but the stuff inside the scroller doesn't. i have used this scroller on several other pages on the same site and everything seems to be fine.
anybody have any ideas why??? i am attaching the fla of the file that's meant to load into the container MC here so you can see what is supposed to show up. so frustrated!!
View Replies !
View Related
Loading An External Text Scroller
Hi, i am having problems getting a text scroller to work after loading it into an existing swf file.
I basically have a main movie with navigation links. when you click on a link it loads another movie into the main movie. this works fine, but i also have some links within this 2nd movie that then when clicked load another movie into that movie (make sense, hope so!), this is where the problem is, the 3rd movie loads ok, but the text scroller within that movie does not work. It works fine when viewed on its own.
Any ideas how to resolve this would be much appreciated.
many thanks
Steven
View Replies !
View Related
Loading Content Into Scroller Externally
Hi all,
I found a pretty clean and simple scroller which scrolls what ever is in a certain mc. I was wondering if anyone could take a look at the attached file and see if there is a way that I could have say six sperate piece's of external .txt files and load each one externally? Even if someone could just show me how to do 1 with the attached would bea great!
Thanks!
View Replies !
View Related
Dynamic Loading Of Images Into A Scroller With ASP?
hi,
I wud like to create a scroller movie clip which contains the strip of jpg image files. some 100 jpg files are stored in a folder. Out of which 5 jpg file will be taken out dynamically from the folder. i have written the code in ASP to pick 5 jpg files from the folder. the output text from the asp file is given below.
imgs_src1=C:Inetpubwwwrootpics8.jpg&imgs_src2= C:Inetpubwwwrootpics4.jpg&imgs_src3=C:Inetpub wwwrootpics5.jpg&imgs_src4=C:Inetpubwwwrootp ics7.jpg&imgs_src5=C:Inetpubwwwrootpics6.jpg&
i m trying write Action script code to align the picked files into the movie clip to scroll from left side to right side. can anyone give idea to start and proceed the code... ???
Thanks in advance!!!!
View Replies !
View Related
Loading External Txt Into A Textbox With A Scroller
The tutorial i'm referring to is:
http://www.kirupa.com/developer/mx/dynamic_scroller.htm
There are two options for the text box which won't work:
Full Justify and Render Text as HTML
Could anyone tell me why?
I kinda got the html rendering part working:
You have to set a VAR property for the textbox (let's say "textBoxText")
so the line in the frame actions becomes:
Code:
loadText.onLoad = function() {
textBoxText = this.kirupatext;
//as opposed to textBox.text = this.kirupatext;
};
But now something else messes up: the scrollbars, they won't do anything
To sum it up:
The "<>" button doesn't work
when i use "textBox.text = this.kirupatext" but the scrollbar does
The "<>" button works when I set a var property on the textbox and use "textBoxText = this.kirupatext" but the scrollbar doesn't
Full Justify still doesn't work in both these cases
why is it that the scrollbars don't work when I set a var property?
View Replies !
View Related
Loading Content Into Scroller Externally
Hi all,
I found a pretty clean and simple scroller, on this site which scrolls what ever is in a certain mc. I was wondering if anyone could take a look at the attached file and see if there is a way that I could have say six sperate piece's of external .txt files and load each one externally? Even if someone could just show me how to do 1 with the attached would bea great!
Thanks!
View Replies !
View Related
Loading Content Into Scroller Externally
Hi all,
I found a pretty clean and simple scroller which scrolls what ever is in a certain mc. I was wondering if anyone could take a look at the attached file and see if there is a way that I could have say six sperate piece's of external .txt files and load each one externally? Even if someone could just show me how to do 1 with the attached would bea great!
Thanks!
View Replies !
View Related
Loading Content Into Scroller Externally
Hi all,
I found a pretty clean and simple scroller which scrolls what ever is in a certain mc. I was wondering if anyone could take a look at the attached file and see if there is a way that I could have say six sperate piece's of external .txt files and load each one externally? Even if someone could just show me how to do 1 with the attached would bea great!
Thanks!
View Replies !
View Related
Loading A Movie In A MC, With Accelerated Scroller Efect
ok I used 2 scripts one from ericlinand the other accelerated scroller (flashkit.com ) ...
I get it to load to the mainmovie through the MC, on (press) , but I cant get it to scroll anymore...I wanted to remove the drag,/tracker MC, it gave me too much trouble so ...
here's the script... I tried also putting the script(the scrolling script) on a frame and added the updateAfterEvent(mouseMove)...I don't know what Im doing wrong...If anyone could enlighten me , I would drink another corona...to se if boozed I could get inspired...
//the button
on (release) {
//this function is if I want to setProperty later
_root.dummy.needModify();
loadMovieNum("vinos.swf",1);
}
/////////////////////////dummy clip//////////////////
onClipEvent(load){
loaded=true;
function needModify(){
_level1._width-=1;
old=_level1._width;
loaded=true;
}
}
onClipEvent(mouseMove){
if ((_root._xmouse>160) and (_root._xmouse<742) and (_root._ymouse>436) and (_root._ymouse<468)){
trasladar = (trasladar*9)+(((_root._xmouse-451.7)/20))/10;
mover = mover + trasladar;
if (mover>800) {
mover=0;
}
if (mover<0){
mover=800;
}
setProperty(_level1.menuvinos,_x,mover);
updateAfterEvent(mouseMove);
}
I want to keep the accelerated menu effect, can this be done WITHOUT the hidden button
on(rollOver) { startDrag(/tracker);} and the trackerMC...
if it cannot be done then any scrolling...
gracci tanti
View Replies !
View Related
Loading An Ext Swf +text Variables+component Scroller
Ok, this is my problem:
I would like to do a gallery with loaded external swf`s. On the main movie there is already prepared text field and the component scroller. There is also a button which suppose to load the external
swf. The external swf contains several frames with jpgs or whatever, each jpg require a long description which has to be loaded to the textfield on main page.
Im trying to load the variables to the main movie, by puting the following code to the external swf :
--------------------------------------------
loadVarsText = new LoadVars();
loadVarsText.load("text.txt");
loadVarsText.onLoad = function(success) {
if (success) {
my_textfield.html = true;
my_textfield.htmlText = project; //I reckon, here I should put the destination//
} else {
trace("not loaded");
}
};
-----------------------------------------------------
In the attachment there is a clear example.
Please help, i really have to finish whole thing by friday, and i can`t go any further!
Thanx in advance
Slo.
View Replies !
View Related
Problem Loading External Text Using Claudio's Scroller
I know that I should be posting in that thread but no one seems to be taking notice of it, so I'm posting it here.
For some reason I can't seem to load external text! This is infuriating and very frustrating, so hoping that someone can help.
>>Link to fla<<
Thanks in advance!
EDIT: I found the mistake! Sorry for posting, the mods can delete this if they want.
View Replies !
View Related
Easing Scroller Dynamically Loading Text And Pics
I've seen how to load only text into a text scroller dynamically, and I've also seen Claudios version of an easing scroller with text and graphics yet it doesn't load externally.
Any way to make a scroller that'll load text and graphics with easing externally? Like using xml or something. Anyone know of any examples around? I'd just like to have a scroller that I could update regularly with text and graphics without having to go into flash all the time.
View Replies !
View Related
Loading Dynamic Text In Easing Scroller - Problem
sorry for the double post, i posted the message in the wrong section ... QUESTION: i downloaded one of the easing scrolls from the kirupa forum and i need some help on how to load dynamic text into the scrollbar. can anyone give me some ideas on how the script would be modified. i tried to modify the xml with the scroll but by screen turns black and the text/scrollbar don’t work. appreaciate any help. I attached the file here what i downloaded.
Code:
THIS CODE IS IN THE AS FILE
import mx.utils.Delegate;
class Rolagem {
// VARIABLES
// ---
// MCs to be used
private var btnUp:MovieClip;
private var btnDown:MovieClip;
private var dragger:MovieClip;
private var scrollbg:MovieClip;
private var contentMain:MovieClip;
private var contentMask:MovieClip;
// Settings variables
private var moveSpeed:Number = 1;
private var easingSpeed:Number = 7;
private var scrollWheelSpeed:Number = 20;
// General use variables
private var mouseListener:Object;
private var left:Number;
private var top:Number;
private var right:Number;
private var bottom:Number;
private var scrollable:Number;
private var initContentPos:Number;
private var scrollHeight:Number;
private var easing:Number;
// CONSTRUCTOR
// ---
public function Rolagem(easing:Number, btnUp:MovieClip, btnDown:MovieClip, dragger:MovieClip, scrollbg:MovieClip, contentMain:MovieClip, contentMask:MovieClip) {
this.btnUp = btnUp;
this.btnDown = btnDown;
this.dragger = dragger;
this.scrollbg = scrollbg;
this.contentMain = contentMain;
this.contentMask = contentMask;
this.easing = easing;
this.scrollHeight = this.scrollbg._height;
// how much of the movie can be scrolled
this.scrollable = this.contentMain._height - this.contentMask._height;
this.initContentPos = this.contentMain._y;
// the drag positions that are possible for the dragger
this.left = this.scrollbg._x;
this.top = this.scrollbg._y;
this.right = this.scrollbg._x;
this.bottom = this.scrollbg._height - this.dragger._height + this.scrollbg._y;
this.contentMain.setMask(this.contentMask);
// before we do anything make sure the content is even scrollable, if it isn't hide everything and return
if (this.scrollable < 0) {
this.dragger._visible = false;
this.btnUp.enabled = false;
this.btnUp._alpha = 50;
this.btnDown._alpha = 50;
this.scrollbg._alpha = 50;
this.btnDown.enabled = false;
return;
}
this.scrollbg.useHandCursor = this.dragger.useHandCursor = false;
this.scrollbg.onPress = Delegate.create(this, scrollPress);
this.dragger.onPress = Delegate.create(this, dragPress);
this.dragger.onMouseUp = Delegate.create(this, dragMouseUp);
this.btnUp.onPress = Delegate.create(this, btnUpPress);
this.btnUp.onDragOut =
this.btnUp.onRelease = Delegate.create(this, btnUpDeleteEnterFrame); //Delegate.create(this, btnUpDragOut);
this.btnDown.onPress = Delegate.create(this, btnDownPress);
this.btnDown.onDragOut =
this.btnDown.onRelease = Delegate.create(this, btnDownDeleteEnterFrame); //Delegate.create(this, btnDownDragOut);
this.contentMain.onEnterFrame = Delegate.create(this, contentEnterFrame);
// Registering the listener
this.mouseListener = new Object();
Mouse.addListener(this.mouseListener);
this.mouseListener.onMouseWheel = Delegate.create(this, mouseWheel);
updateContentPos();
}
// onEnterFrame of the content
private function contentEnterFrame():Void {
if (!this.easing || this.easing == undefined) {
this.contentMain._y = this.contentMain.newY;
} else {
this.contentMain._y += Math.round((this.contentMain.newY - this.contentMain._y) / this.easingSpeed);
}
}
// Updates the contents position
private function updateContentPos():Void {
var percent_scrolled:Number = (this.dragger._y - this.top) / (this.scrollHeight - this.dragger._height);
// instead of setting the _y property directly, we simple set newY
// that way we can adjust how we handle the new Y coordinate we'd like to move to
this.contentMain.newY = Math.round(this.initContentPos - (percent_scrolled * this.scrollable));
}
// Dragger actions
private function dragPress():Void {
startDrag(this.dragger, false, this.left, this.top, this.right, this.bottom);
this.dragger.onMouseMove = Delegate.create(this, dragMouseMove);
}
private function dragMouseMove():Void {
updateContentPos();
updateAfterEvent();
}
private function dragMouseUp():Void {
this.dragger.stopDrag();
delete this.dragger.onMouseMove;
}
// Background of the Dragger actions
private function scrollPress():Void {
if (this.scrollbg._parent._ymouse > this.scrollbg._y + this.scrollbg._height - this.dragger._height) {
this.dragger._y = this.scrollbg._parent._ymouse;
this.dragger._y = this.scrollbg._y + this.scrollbg._height - this.dragger._height;
} else {
this.dragger._y = this.scrollbg._parent._ymouse;
}
updateContentPos();
}
// Up Arrow actions
private function btnUpPress():Void {
this.btnUp.onEnterFrame = Delegate.create(this, btnUpEnterFrame);
}
private function btnUpEnterFrame():Void {
this.dragger._y = Math.max(this.top, this.dragger._y - this.moveSpeed);
updateContentPos();
}
private function btnUpDeleteEnterFrame():Void {
delete this.btnUp.onEnterFrame;
}
// Down Arrow actions
private function btnDownPress():Void {
this.btnDown.onEnterFrame = Delegate.create(this, btnDownEnterFrame);
}
private function btnDownEnterFrame():Void {
this.dragger._y = Math.min(this.bottom, this.dragger._y + this.moveSpeed);
updateContentPos();
}
private function btnDownDeleteEnterFrame():Void {
delete this.btnDown.onEnterFrame;
}
// Mouse Wheel
private function mouseWheel(delta:Number):Void {
var d:Number;
if (delta > 1)
delta = 1;
if (delta < -1)
delta = -1;
d = -delta * this.scrollWheelSpeed;
trace(d);
if (d > 0)
this.dragger._y = Math.min(this.bottom, this.dragger._y + d);
if (d < 0)
this.dragger._y = Math.max(this.top, this.dragger._y + d);
updateContentPos();
}
}
Code:
THIS CODE IS IN THE FLA
var rolagem:Rolagem = new Rolagem(10, mc_sobe, mc_desce, mc_rolagem, bg_rolagem, mc_conteudo, mc_mascara);
View Replies !
View Related
Problem Loading External Text Using Claudio's Scroller
I know that I should be posting in that thread but no one seems to be taking notice of it, so I'm posting it here.
For some reason I can't seem to load external text! This is infuriating and very frustrating, so hoping that someone can help.
>>Link to fla<<
Thanks in advance!
EDIT: I found the mistake! Sorry for posting, the mods can delete this if they want.
View Replies !
View Related
Tricky Dynamic Scroller PHP Flash MX Loading Variables Problem HELP
Okay, here is what I am trying to do
I want to have a field, with a component scrollbar, populated by text which is generated out of a php file (ultimately a database).
I could get the text to load out of the file without scrolling, then I discovered (as I understand it) that you have to be tricky when using the component scrollbar that comes in Flash MX.
I read this articlehttp://www.macromedia.com/support/fl...t_scrollmx.htm
and copied the actionscript as best I could.
To make things extra fun, I want to use buttons to switch between different text content for the textbox (instance for the Dynamic Textbox is "scroller")
to do this I am exploiting a PHP trick that lets you send a variable from flash (in this case "my_func_name") to PHP, which then call a
function in php
$my_func_name(); to call a function and echo text to the screen.
see this tutorial (its where i got the idea)
ok. Still with me ?
Now, the trace thing says that the variables are loading into the movie just fine, but I cannot get them to appear in the text box no matter what I try !
the fla is attached, and the webbased php file link is in the file if you want to have a look at it (plus it is reproduced below).
***************************** PHP CODE *****************************
<?
function news()
{
$message = "&var1=this is the news one<br>
<br>
scrollbar<br><br>
<br>
scrollbar why dont you work for me<br><br>
<br>
scrollbar<br>scrollbar I just want to be free<br><br>
<br>
scrollbar please work and let me go<br><br>
<br>
scroll bar please let me play in the snow<br><br>
<br>
<br>
any solutions to this problem to <a href="mailto:mikeb@blunt.com.au">mikeb@blunt.com .au</a>";
//$output = urlencode($message);
//echo $output;
echo $message;
}
function about_us()
{
$message = "&var1=this is the about us one<br>
<br>
this is scrollable stuff about us apparantly<br>
<br>
<br>
<br>
<br>
scrolling ha, like it will EVER work<br>
because<br>
it<br>
NEVER<br>
EVER<br>
works<br>
for <br>
me<br>
please work!";
//$output = urlencode($message);
//echo $output;
echo $message;
}
if(!$my_func_name)
{
$my_func_name = 'news';
}
$my_func_name();
echo "<br><br><br><br>";
?>********************* END PHP CODE ********************************
******* Action script in a button **********
on (press)
{
myVarsSend = new loadVars();
myVarsSend.my_func_name = "news";
myVarsLoad = new loadVars();
//assign a function which fires when the data is loaded:
myVarsLoad.onLoad = function(success) {
if (success) {
trace("done loading");
//Now that we know the data is loaded,
//set the text content of the Text Field
//with the instance name "scroller" equal to the
//contents of the variable
scroller.html = true;
scroller.text = this.var1;
} else {
trace("not loaded");
}
};
myVarsSend.sendAndLoad("http://www.blunt.com.au/2003/a51/function.php", myVarsLoad, "POST");
}
********************************************
I have read a bunch of other PHP / Flash posts and dynamic scrollbar posts but nothing seems to work ! so if anyone can help me it would be enormously appreciated !
mike
View Replies !
View Related
Noob Question About Loading A Kirupa Image Scroller Into An Existing Flash Page ^^
I created a simple flash page for my photography section on my site. Here is a picture of it in my flash workspace:
I had no problems until I started trying to make photo.s load within the movieclip space I set (the white area next to the news space). I followed a couple of nice tutorials, but this one was the one that fit exactly what I wanted -Kirupa image scroller. The problem is that I think the movie scroller is meant as a standalone flash movie and when I tried to imbed it into the movie space in mine it just took precedence and hid the entire flash page I wanted as the base. Basically I think I need to learn how to imbed one flash movie into a parent flash movie to pull this off, or maybe there is a much smarter and more straightforward method I am missing because I am so new to this? Thanks ahead of time for any responses, and I am sorry if this is really simple. I am very new to flash development.
View Replies !
View Related
Convert Movieclip Scroller To Dynamic Text Scroller
I have code I borrowed that is set up to scroll a movie clip image. However, it doesn't work well if I replace the graphics with a text box as the scrolling becomes "jerky" as I think there is too much information for it to process with the complexity of the text. So I was hoping to change the scrolling content from a movie clip image with text to a dynamic textbox. But it will not function when I do that change. In this currrent setup, the movieclip instance name is "contentmain". I tried naming the instance of the dynamic textbox with that name, but no text shows up next to the scroller when I play the movie.
Here's the code:
scrolling = function () {
var scrollHeight:Number = scrollTrac._height;
var contentHeight:Number = contentMain._height;
var scrollFaceHeight:Number = scrollFace._height;
var maskHeight:Number = maskedView._height;
var initPosition:Number = scrollFace._y=scrollTrac._y;
var initContentPos:Number = contentMain._y;
var finalContentPos:Number = maskHeight-contentHeight+initContentPos;
var left:Number = scrollTrac._x;
var top:Number = scrollTrac._y;
var right:Number = scrollTrac._x;
var bottom:Number = scrollTrac._height-scrollFaceHeight+scrollTrac._y;
var dy:Number = 0;
var speed:Number = 10;
var moveVal:Number = (contentHeight-maskHeight)/(scrollHeight-scrollFaceHeight);
// Setup easing event
contentMain.desiredX = contentMain._y;
contentMain.onEnterFrame = function() {
this._y -= (this._y - this.desiredX) / 3;
};
scrollFace.onPress = function() {
var currPos:Number = this._y;
startDrag(this, false, left, top, right, bottom);
this.onMouseMove = function() {
dy = Math.abs(initPosition-this._y);
contentMain.desiredX = Math.round(dy*-1*moveVal+initContentPos);
};
};
scrollFace.onMouseUp = function() {
stopDrag();
delete this.onMouseMove;
};
btnUp.onPress = function() {
this.onEnterFrame = function() {
if (contentMain._x+speed<maskedView._x) {
if (scrollFace._x<=left) {
scrollFace._x = left;
} else {
scrollFace._x -= speed/moveVal;
}
contentMain._x += speed;
} else {
scrollFace._x = left;
contentMain._x = maskedView._x;
delete this.onEnterFrame;
}
};
};
btnUp.onDragOut = function() {
delete this.onEnterFrame;
};
btnUp.onRelease = function() {
delete this.onEnterFrame;
};
btnDown.onPress = function() {
this.onEnterFrame = function() {
if (contentMain._x-speed>finalContentPos) {
if (scrollFace._x>=right) {
scrollFace._x = right;
} else {
scrollFace._x += speed/moveVal;
}
contentMain._x -= speed;
} else {
scrollFace._x = right;
contentMain._x = finalContentPos;
delete this.onEnterFrame;
}
};
};
btnDown.onRelease = function() {
delete this.onEnterFrame;
};
btnDown.onDragOut = function() {
delete this.onEnterFrame;
};
if (contentHeight<maskHeight) {
scrollFace._visible = false;
btnUp.enabled = false;
btnDown.enabled = false;
} else {
scrollFace._visible = true;
btnUp.enabled = true;
btnDown.enabled = true;
}
};
scrolling();
Any ideas?
Thanks,
Dave
View Replies !
View Related
|