Josh Davis Style Scrolling
i need to find a tutorial which shows me how to do a similar effect to J Davis navigation for his portfolio http://www.joshuadavis.com/ where you can jump to certain images but then i want to be able to scroll along to the right once i have arrived at the page number to view more.
cheers
spod
FlashKit > Flash Help > Flash ActionScript
Posted on: 08-14-2003, 03:03 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Josh Davis Buttons
Hey there,
I've been having trouble with this all afternoon. I'm trying to create this little button effect similar to the little portfolio buttons on the right third of Joshua Davis' site http://joshuadavis.com/ Does anyone have any idea how to create something like that using actionscript and something perhaps a good tween class (Laco?).
Thanks for any help.
-Aaron
Help W Josh Davis Tutorial
hi ...
i bought the "flash to the core" book about a month ago and ive gone through most of the stuff fine, but the very last tutorial has been giving me headaches.
the idea is that the page content is controlled by two controllers, one navbar along the top, and a scrollbar along the bottom. (the .fla file is on http://flashtothecore.praystation.com , chapter 21)
ive done it all right, and my file works exactly like the source file on the site, except ive had a lot of trouble adding actual content. I have read the tutorial many times, but the closest i got were these paragraphs:
"Having created an empty Movie Clip that will load and hold sections of content, we can go ahead and create some content for those sections. Go Back to the library, create a new Movie Clip, and name it "02 - section" ....... We'll be writing some code that will talk to section_mc and duplicate it inside content_mc, but we need to link in order to use it"
"Additional sections may be added, or the content may be updated. This generic code for transfer of power needs no further adjustment and will continue to provide all calculations required for proportional movement..."
I did achieve that, when adding to the array's max value, the scrollbar does automatically scale and everything, but the problem of actually adding content remains
Help W Josh Davis Tutorial
hi ...
i bought the "flash to the core" book about a month ago and ive gone through most of the stuff fine, but the very last tutorial has been giving me headaches.
the idea is that the page content is controlled by two controllers, one navbar along the top, and a scrollbar along the bottom. (the .fla file is on http://flashtothecore.praystation.com , chapter 21)
ive done it all right, and my file works exactly like the source file on the site, except ive had a lot of trouble adding actual content. I have read the tutorial many times, but the closest i got were these paragraphs:
"Having created an empty Movie Clip that will load and hold sections of content, we can go ahead and create some content for those sections. Go Back to the library, create a new Movie Clip, and name it "02 - section" ....... We'll be writing some code that will talk to section_mc and duplicate it inside content_mc, but we need to link in order to use it"
"Additional sections may be added, or the content may be updated. This generic code for transfer of power needs no further adjustment and will continue to provide all calculations required for proportional movement..."
I did achieve that, when adding to the array's max value, the scrollbar does automatically scale and everything, but the problem of actually adding content remains
Josh Winks Scrolling Menu Question...
Hi all, Wondering if someone could offer some insite on this. I am working with Josh's book and I am on chapter21. This project has a nice scrolling menu with gravity and the whole nine.
Now what I did was grab the code into this movie I am working on and I put all the code into a movieclip and not on the main stage the way he did. But the scrollbar just goes crazy and does not function correctly. It makes no sense to me because I thought a movieclip should in theory function completely independant of the timeline. I thought maybe it was becuase his movie was reffering to the main timeline somehow so I even tried changing all the _root. references over to _level0._root but that did not fix things.
Here is the code he used to create in the scroll bar:
Code:
// set up gutter info
gutterLeft = scrollbarGutter_mc._x+1;
gutterRight = scrollbarGutter_mc._x+(scrollbarGutter_mc._width-_root.scrollbar_mc._width)-1;
// create an array for attaching new sections on our timeline
section = new Array(4);
max = _root.section.length;
itemDepth = 1;
for (i=0; i<max; i++) {
// attach new item
_root.content_mc.attachMovie("section", "section_"+i, itemDepth);
curItem = content_mc["section_"+i];
// put the MC in an array
_root.section[i] = curItem;
if (i == 0) {
curItem._x = 0;
} else {
curItem._x = content_mc._width+1;
}
itemDepth++;
}
// set the info about the content
contentRight = content_mc._x;
contentLeft = 712-content_mc._width;
// calculate the current percentage of the scrollbar
function scrollBarFunc() {
var percent = (scrollbar_mc._x-gutterLeft)/(gutterRight-gutterLeft);
content_mc._x = percent*(contentLeft-contentRight)+contentRight;
updateAfterEvent();
}
// jump the scrollbar to an area on the gutter that equals the beginning of each section
function contentFunc() {
// is the difference between the goal and the position small?
if (Math.abs(scrollBarGoal-scrollbar_mc._x)<1 || !topNav) {
// if so, position everything where it needs to be and stop
scrollbar_mc._x = scrollBarGoal;
content_mc._x = contentGoal;
// transfer power by turning scrollbar actions off
onEnterFrame = null;
} else {
// otherwise move scrollbar and adjust content
scrollbar_mc._x += (scrollBarGoal-scrollbar_mc._x)/6;
scrollBarFunc();
}
}
function moveContent(s) {
// transfer power - turn topNav actions on
topNav = true;
// where should the content go
contentGoal = contentRight-section[s]._x;
// make sure it’s not off the screen!
if (contentGoal<contentLeft) {
contentGoal = contentLeft;
}
// what percent is that goal?
var percent = -(contentGoal-contentRight)/(contentRight-contentLeft);
// apply that percent to the gutter size to determine the scrollbar’s goal
scrollBarGoal = percent*(gutterRight-gutterLeft)+gutterLeft;
// set up a loop to move the content and scrollbar
onEnterFrame = contentFunc;
}
// don't use the hand icon
scrollbar_mc.useHandCursor = false;
// handle press event
scrollbar_mc.onPress = function() {
this.startDrag(false, _root.gutterLeft, this._y, _root.gutterRight, this._y);
// transfer power - turn topNav actions off
topNav = false;
dragging = true;
this.onMouseMove = function() {
_root.scrollBarFunc();
updateAfterEvent();
};
};
// handle release event
scrollbar_mc.onRelease = scrollbar_mc.onReleaseOutside=function () { this.onMouseMove = undefined;this.stopDrag();dragging = false;xSpeed = (newxpos-oldxpos)*RATIO;};
// set initial variables
FRICTION = .9;
RATIO = .5;
dragging = false;
// handle onEnterFrame event
scrollbar_mc.onEnterFrame = function() {
if (!dragging && !topNav) {
oldxpos = this._x;
newxpos = oldxpos+xSpeed;
xSpeed *= FRICTION;
if (newxpos>gutterRight || newxpos<gutterLeft) {
xSpeed *= -FRICTION;
newxpos = oldxpos;
}
this._x = newxpos;
_root.scrollBarFunc();
} else {
oldxpos = newxpos;
newxpos = this._x;
}
};
Anyone see something or a reference I may have overlooked? I am stumped...
Joshua Davis Scrolling Menu - All That Is Missing Is Content...
Hi all, I was able to last night figure out how to change the scripting so that menu worked as an independant movieclip thanks to Skorp|oN for pointing me in the right direction!!
Ok so then I realized that there is no movieclip for content. I need to add content to section_01 through section_04. Specifically an image in each section. I am at a total lost right now...
Here is the menu:
http://mysite.verizon.net/vze2bh7m/f...ependant3.html
Here is the zip with the source:
http://mysite.verizon.net/vze2bh7m/f...dependant3.zip
Anyone have any clue how to add content to each section?
FAQ Style Scrolling Text
I would like to make a FAQ scrolling text block in MX.
Is it possible to make a scrolling text frame that has embedded anchors? Right now i have a scrolling text box made with a actionscript that goes and gets a text.txt file.
I can add "a href" tags but they only pop open a new browser window. I want the text to jump into itself in the scrolling frame.
If there is a better way to do this let me know. thanks.
jeff
ps. i have included a file showing what it looks like.
Game-Style Scrolling BG
hey folks ... i'm new to this forum, but not new to FlashKit.
my friend is making a game in flash. it's a side-scrolling game with an animated main character.
my question is, he can't figure out how to script the background in such a way that the background scrolls with his character correctly both ways ... thus far he can press the right arrow key, and have the character "run" right by scrolling the background to the right ... his problem is, he can't figure out how to get the background to scroll properly the other way when he hits the left arrow key, and stop at the end of both sides of the background.
i don't know how well i've phrased that, but i did my best ... any ideas would be greatly appreciated.
FP8 Scrolling Zelda Style (part 1)
I've been playing around with Flash 8 and am working on making a game. Anyway I'll keep posting the source here. Right now I'm using ripped zelda sprites but they'll change once I get time to draw some sprites.
You can see it here:
http://www.smoothhabitat.com/eco/spr...pritetest.html
The source is here:
http://www.smoothhabitat.com/eco/spr...ll3/source.zip
Use the arrow keys to scroll. Hold down SHIFT to go fast. It's not perfect yet (note the sprites being erased to soon at the bottom), but it's coming.
There are 3 different layers: ground, object, and cloud. The ground and cloud layers get drawn entirely right away. The object layer, which will be changing and will have collision detection is drawn only when it is appears on the screen. In the classic blit-double-buffer style,they're all blitted together off-screen and then copied onto the screen bitmap.
Feel free to use it for non-commercial and non-governmental use.
Kirupa Gallery Style Scrolling....?
Hello All!
I'm trying to make a similar scroll function as the kirupa thumnail gallery has.
See the following link to what I'm talking about...
http://www.kirupa.com/developer/mx2004/thumbnails.htm
Can someone help me out to make a exact style of horizontal scrolling with a stop function at the end!....(I'm not trying to make the infinite menu!!..)
here is what I need..:
1:A scroll system which activates iteself to the left or right, starting when the mouse is +/- 40 pixels at the left side or right side of my thumbnail mc~!
2: The thumbnail mc doesn't have to be dynamic..but it may vary in size
for example one thumbnail mc has 4 items to scroll left to right
and another thumbnail mc (different fla)has for example 8 pictures to scroll ...
In other words, I am looking for a similar scroll script that can scroll diferent sizes
of thumbnail mc's without reprogramming the code everytime...!
Hope someone understands my question, and or even better.. can help me out on this one..
Thanks!
Best,
Arn
Ipod Style Scrolling Menu
Hi,
I'm working on an interface that scrolls up and down and navigates in a similar way to an I-Pod.
I got a source file from Soulwire illustrations http://www.soulwire-illustration.com/as ... -menu.html
its a nice smooth scrolling menu with links, i'm looking to add a few sub menus to the original code.
Now im trying to create a second menu screen so that when i select one of the first links i'm given another list of options to scroll through.
I assume that i need to add another class or child but cant seem to get the second menu to work without an error.
The file uses separate actionscript files so i've managed to get a bit stuck. Surely it cant be that difficult
any help would be much appreciated,
thanks
David
Star Wars Style Scrolling Text
I want to put a small text box in the right column of my site, I want the text in a text box to scroll through to the end and then loop back around and start again by itself. But I want it to do it automatically, no scrollbar, arrows or user intervention, just continually scroll in the box.
Okay, I made a little progress but I did it with a simple motion tween and mask. It plays for about 100 frames and then loops back but I'm wondering if there is an easier way because even at 100 frames it still goes way too fast and it is kind of jerky.
Here it is in action - Hit the HOME button after the site loads and it is on the right hand side. *caution - site is kind of big right now.
http://rberry883.home.comcast.net
Any help is appreciated as I'm pulling my hair out.
rberry88
Star Wars Scrolling Text Style
I want to put a small text box in the right column of my site, I want the text in a text box to scroll through to the end and then loop back around and start again by itself. But I want it to do it automatically, no scrollbar, arrows or user intervention, just continually scroll in the box.
Okay, I made a little progress but I did it with a simple motion tween and mask. It plays for about 100 frames and then loops back but I'm wondering if there is an easier way because even at 100 frames it still goes way too fast and it is kind of jerky.
Here it is in action - Hit the HOME button after the site loads and it is on the right hand side.
http://rberry883.home.comcast.net
Any help is appreciated as I'm pulling my hair out.
Star Wars Scrolling Text Style
I want to put a small text box in the right column of my site, I want the text in a text box to scroll through to the end and then loop back around and start again by itself. But I want it to do it automatically, no scrollbar, arrows or user intervention, just continually scroll in the box.
Okay, I made a little progress but I did it with a simple motion tween and mask. It plays for about 100 frames and then loops back but I'm wondering if there is an easier way because even at 100 frames it still goes way too fast and it is kind of jerky.
Here it is in action - Hit the HOME button after the site loads and it is on the right hand side.
http://rberry883.home.comcast.net
Any help is appreciated as I'm pulling my hair out.
Joshua Davis Composition
Ok, alot now about all of joshua davis' work, i want to know what it takes to create something as complex as his generative programs, anyone whilling to help some newbs out. I am a art major and this hole idea of generative art is pretty sweet, and i would like to add my art work to a generative program to see what outcomes.
So if you guys could help me build a 'base' machine that would be great, something that i could generate cool arrangements of my work.
Thanks Alot
AFFIX
Joshua Davis Like Buttons
Hey there,
I've been having trouble with this all afternoon. I'm trying to create this little button effect using setInterval and the laco tween class ( http://laco.wz.cz/tween/?page=docs/tween ). I'm trying to get an effect similar to the little portfolio buttons on the right third of Joshua Davis' site http://joshuadavis.com/ I've attached the fla, and here is the code.
Frame1:
#include "lmc_tween.as"
blue.setMask(mask);
blue.tween("_x", 29, .8, "easeOutSine");
function wait() {
stop();
var myInterval = setInterval(function () {
play();
clearInterval(myInterval);
}, 2*1000); // stop for 2 seconds
}
wait();
two.onRollOver=function(){
gotoAndPlay("two");
}
Frame2:
blue.tween("_x", 49, .8, "easeOutSine");
function wait2() {
stop();
var myInterval2 = setInterval(function () {
gotoAndPlay("one");
clearInterval(myInterval2);
}, 2*1000); // stop for 2 seconds
}
wait2();
one.onRollOver=function(){
gotoAndPlay("two");
}
You'll notice that the masking back-and-forth effect works perfectly, but as soon as I try to advance the animation with the button rollovers, the timing of the animation gets all off. I imagine it has something to do with the intervals looping???
Any help is greatly appriciated!
Joshua Davis Navigation...
Some of you may be familiar with Joshua Davis,
I came across a navigation style of his which i really like:
Drag and Drop Prototype
Id love to do something similar, but not exactly the same, but the idea of dragging the navigation into the main screen to open it is highly tasty...
Anyone know of a way i can start off creating something similar?
Ta guys,
JD
Josh's XML Gallery Won't Compile Anymore - ANYWHERE
...Has anyone else had this problem? I can't compile it anymore, even from a brand new installation of Win XP Home AND XP Pro (both legit). It loads the xml text stuff, but anything that involves a tween...including the images...won't load anymore. I've lost the last 6 months of my work because most of what I have been doing to try and learn and use and get jobs with Flash has been based on Josh's gallery...it has saved my life with this stuff...now I can't even compile it anymore.
When I use the original file from Josh, it works fine, i.e., the compiled version he includes in the dl, but just opening it in Flash, setting it up, Flash 8/AS2 (any combination, even player 7, AS1...nothing) it falls apart as soon as it is recompiled. Yes, I dump the tween script in the directory first
Is anyone else having this problem? I suspect it has nothing to do with the file, but something else...either the tween script has broken, or an XP update has destroyed it...or something...I even made sure my new install of XP didn't upgrade to IE7, and I haven't upgraded the player to version 9.
If anyone has found the solution for this I would be seriously greatful.
Shawn
Joushua Davis Scroller Dilemma
Attached is the zipped FLA. It probably needs to be seen to be understood.
The nutshell:
I want to increase the content area's X dimensions, so that I can display more content than the author has. Apparently, it is "doable" - thought it would be a snap to get it all to work right. I can see my increased content canvas when I use the bottom scrollbar to drag the contents, but there are also 8 nav buttons on top of the content. Buttons 1-4 work, but buttons 5-8 don't move the content into view.
Thanks in advance to anyone who cares/dares to delve where I have floundered!
Shore Scores
Joshua Davis Tutorial Problem.
Hi!
I´m using Joshua Davis exelent tutorial No:17b from http://flashtothecore.praystation.com My problem is that I try to use this on 2 different MC´s at the same time (both placed in the same MC). I doubled everything and just changed the name of one script and MC but it wont work.
I would be very greatful if anyone could point out what i´m missing.
-Sundance Kid-
Export Image Like Joshua Davis
After pausing a dynamically generated image in an swf, I'd like to export that image for print, ideally as a png, or high resolution jpg. I know something like this must be possible because Joshua Davis makes prints of his Flash generated artwork, right? I've searched this forum and online, and I found solutions that involved sending information to a server and back, but I only need this done locally, on my machine. I would just take a screenshot but I need a high resolution image for print.
Any ideas that might point me in the right direction? Thanks!
Josh Dura's Text Editor: Integrate It With A Db?
Hi,
Just downloaded J.Dura's flash text editor component. But now i wish to use php to put the info in a mysql db.
My guestion: which variable holds the main (html) generated text.
Kind regards,
Josh Dura's Text Editor: Integrate It With A Db?
Hi,
Just downloaded J.Dura's flash text editor component. But now i wish to use php to put the info in a mysql db.
My guestion: which variable holds the main (html) generated text.
Kind regards,
Joshua Davis's Liquid Nav - Am I Inright Direction
For all you flash coders out there.. I don’t necessarily want code, I just wanna know if I am going in the right direction…I wanna become a top actionscripter!!!
Please go to:
http://www.joshuadavis.com/portfolio...pus/liquid_nav
This is what I am trying to build.. I’ve spent like a half a ream of paper on sketches and notes….I am only trying to build a simpler version of it.. Here’s an explanation of the specific functionality I want.
using the link above..go to projects > subprojects.You should three levels of content being displayed.
My question is: How do you get it to go from current level (three) back to target level (one) using actionscript?
I was thinking of having 3 movieclips
create a new mc named level1 and load the first menu on it,
and then create a new mc named level2 and load the second menu on it,
(when a button from the first mc gets clicked)
and then load the the third mc (when a btn from the second mc gets clicked...)
So when I click on the the second item in menu 1 it iterates down the line unloading the movies starting from level three to level one and once that is done it finally loads the target content. I think a for loop might be useful here.
Am I on the right track?
Does it have to do between the relationship of objects or movieclips?
Should I dash my hopes of being an adv actionscripter...
Dwayne Neckles
www.dwayneneckles.com
Setting RGB To Be Variable-name +50% White Or 50% Black? Josh's Gallery And Such
Hi All, I believe this is my first post here, but I've been coming for some time, and I am now using the awesome modified gallery from 2210 media, Josh, as modified for multi galleries by Scotty/kalexand.
Now, I've done a bit of my own work (I am a design guy, not a progammer, just trying to get a cool site up for my Photography and I love Flash).
I've taken the image area and now it imports an SWF including the comments gallery from Flash-db.
I've been able to add a border around my image based on the following code, which steals the variable from the gallery movie, from the XML...
var my_color:Color = new Color(this.image_mc.frame_mc);
my_color.setRGB(_root.mainColor);
This is in the image/comments SWF that loads in via the Gallery from Josh, noted in the XML file.
What I'd like to know is, often the border should be not just the same (since it's got a blur to soften the edges to fit with my site...I want a lot of 'gaining/losing' focus in the design, in the photographer's sense), but also this mainColor variable from Josh should be a percentage lighter or darker than the BG colour as picked up in the XML, represented by "mainColor".
Is it possible, per image, to take that line "my_color.setRGB(_root.mainColor);" and have it say mainColor + 'add 50% white' or mainColor + 'add 50% black' to the mix? In other word s, can I take the original value of mainColor, and make it equal, 50% darker, or 50% lighter depending on my choice (a boolean I'd suppose, true=dark, false=light, depending on the tonality/mood of the image)?
Or something like that... I've no idea how to manipulate colours as such...
For a peek, though I'm sorry if it gets moved as this is just my testing server, have a peek here if you would like. I've only coded the first image of the first gallery, until I got it all right, because that will act as a template and I can start populating the gallery.
http://shawngibson.com/SITES/apps/mySite/
I have to also find a 5-star rating system, if anyone knows where, the only one I know of is the one you need to purchase...which I will, was just hoping I could get some tweakable as I'm very much enjoying learning...
Thanks very kindly for any help, and very much I've appreciated this board...my gallery wouldn't exist without you guys!!!
Shawn
Scrolling "marquee" Style Text?
Hi -
I've found that getting text to scroll along a curve may take a bit more time to learn than I have for the project I'm on.
I'd be happy to find a simple way (if there is one) to scroll a long line of text, like 30 city names, for example, like you sometimes see the text scrolling in the bottom left of your browser window.
Two questions, really:
1) Is there an easy way to do this in Flash (4 or 5) without just building a mile-long graphic of words and moving it?
2) (And I believe this may actually be a dumb question, regardless of what the forum leader says) Can I embed some sort of HTML command to a box "on top" of my background to achieve this effect?
Thanks from a noob,
Andrew
Is {name:"Josh"} Of Type Object?
Question:
Code:
var test1:Object = new Object()
var test2:Object = new Object()
test1.a = "df"
test1.b = "popo"
test1.c = "wert"
test2 = {a:"df",b:"popo",c:"wert"}
trace(test1)
trace(test2)
Do test1 and test2 become equal at the end? Ofcourse, the trace shows me [Object Object] , but I'm having difficulty understanding this type of syntax: {a:"df",b:"popo",c:"wert"} , so I thought it might be Object, and so conducted this experiment, which got me nowhere.
Help guys?
Populate The Multi-Gallery Ver. Of Josh's Gallery From A Db?
I'm getting a little lost in all the technologies available. I would like to have the actual buttons for the multi-gallery version of Josh's gallery (it's in his original post, about half way though) to be populated by my db, for the 'entire site' version of a photographer's homesite I am building, to be available for all when it's done (i.e., it will be entirely open source and free). I have a LOT to learn. For now, I have a db, and also within the original post, someone wrote a php script to generate the xml from a db, using PHP, which I was lucky that someone converted to ColdFusion for me. And it led me to think...is there anyway the actual gallery buttons cal be populated on the fly based on my db such that anytime the page is loaded, it reads the db and loads the proper buttons? I guess a similar approach would work...put the gallery names and id's into a db, have a script to convert the galleries into an exl file (i.e., where it currently is an 'album' node in the multi-gallery version, and read that and populate the gallery appropriately. Read the albums available from the script, and populate the buttons accordingly, is what I'm trying to say. I can show you an example of where I'm going with Josh's gallery, which has been a god-send for me (I owe this man BIG TIME) but it's, as usual, a work in progress: http://shawngibson.com/faceitphoto.c...ii/index2.html The buttons (under portfolio)...the main page is blank cuz I've no idea what she would want as an intro)...are hard-coded to the xml (you manually add them as per the original, not changed anything yet, and only thefirst 2 are coded I think), but I'd like them to be based on a db because that php script seems to offer me the chance to load the galleries themselves dynamically. It will be HOPEFULLY based on ColdFusion, but right now I can do either CF or PHP, because I can pay someone to do the conversion if necessary. I loathe PHP because I can't for the life of me make sense of it, CF is much easier to try and understand. Are any of you inclined to help with this? I am lost with the whole remoting thing. It will be an open-source project for all to have, with all proper credits when it's done. Currently, I'm using my best friend as my testing bed - it's her gallery I'm trying to build. If this is clear as mud, please let me know. Shawn
Simple /:xpos Scrolling, However Load External .swf When Scrolling Stops
Hi guys I need some help with a simple horizontal slider. (See attached)
Basically I have a horizontal slider with 3 buttons which make the slider go to a specific position using:
on (release) {
/:xpos = -376;
}
Now what I want to happen is that when the button is pressed I want it to load an external .swf movie (say video.swf onto level 1)
I have tried just adding using:
on (release) {
/:xpos = 0;
loadMovieNum("video.swf", 1);
}
which just loads the movie and then scrolls. However I need it to be the other way around. It scrolls to the location and then loads the movie.
I would really like it to use some type of statement telling it that if xpos = -350 then load .swf onto level 1 and if xpos has not yet reached -350 to do nothing.
However the major principal is to get the scroll and then the load, rather than the other way around.
Cheers
Dom
Possible AI? Pac Man Style
Hi there,
I'm at the moment building a game where the characters need to follow the main character if he enters there space.
Is it possible in flash and if so does anyone know of any tutorials or articles about it..or samples
cheers, stu
GTA Style Map
OK, ive been working on a GTA stile game. i have the car etc all working fine.
http://frosty4321.homestead.com/files/cargame.swf
if your interested.
however i have no idea how to go about making the city to drive around in
i could just draw a giant city and make that move about, but that would each processing power and memory, so i need some way of clipping the city so only a small part gets loaded. either that or map the city out in code and load up the correct part depending on where you are.
can anybody help?
P.S.
MOOOO!
CSS Style
hi there..
could somebody help me in making the CSS Styleswitcher works?
I need to make a Flash which is able to switch the CSS of a page.
But I don't know how I should do it..
I have copied the whole styleswitcher.js to the Flash and trying to switch the css from the Flash, but it doesn't work.
Here is a URL as an example of CSS switching:
http://www.veerdee.com/
Note: Just click the color scheme box.
Please help
Thank you
Mad-Lib Style
I'm currently working on a project involving taking text input by users and incorporating that into a larger block of text, much like the mad-lips some of us did when we were younger.
Currently, I've got one large block of static text with the bulk of my writing, with large areas spaced open, overlapped with several dynamic text boxes, loading variables that the users had input on a prior screen.
I'm sure there has to be a better way...like, some way to load the variables within the larger text box, perhaps? Any suggestions welcome. Otherwise, I've either got unsightly open spaces, or my variables get cut short.
Jib Jab Style
Don't really know where to start...
In it's simple form I need to create a micro site where users can upload their video and then drag some pictures on top of the video (overlay) then save it. Then users should be able to watch the video with the images in it. A bit like jib jab but instead the user provide the video. My main thing is that this has to happen live. Anyone can point me where to start? I've googled all possible things regarding this but still nothing. I know it's more of a backend worl but any suggestion will be mostly appreciated.
Thanks
AS2-style
IceCo told me a while ago :
"You might also want to try to write functions in a more AS2 style:
ActionScript Code:
function xLoadVisual (Src:String, Targ:MovieClip):Void {
// your code
}
"
Is there an overview of AS2-style somewhere?
(that might also explain what that "void" means)
Anyone Know How To Do This Style?
Not to bother anyone, but does anyone know how to do the animation style in Rat Race. It is at the beginning at the title and credits. Yo can find an example here--> http://www.jibjab.com/thisland.html Click on AtomFilms.
I would really like to know.
- What's Your Style -
Hiya peoples. Just outta the blue I would like to know how everyone draws. I've always been obsessed in flash drawing ever since I got flash. Is there a specific way you draw...a cartoonish one maybe? Some people can draw like Invader Zim in flash....
Anyone Know How To Do This Style?
Not to bother anyone, but does anyone know how to do the animation style in Rat Race. It is at the beginning at the title and credits. Yo can find an example here--> http://www.jibjab.com/thisland.html Click on AtomFilms.
I would really like to know.
Scrolling Text Field That Stays Scrolling On Rollover
on (rollOver) {
mytext.scroll--;
mytext.maxscroll = x;
}
Here is my code, you have to keep clicking the button to scroll the text field, how do I code it to just have the mouse rollover the button and the text field will continue to scroll automatically? Thanks.....
On Press Scrolling Problem. Scrollbar. Scrolling. Button
How do I make this actually work for on press? It works fine for when you just click it, but the on press function doesnt work.
thanks for any help.
on (press) {
textbox.text._y += scrollVal;
if (textbox.text._y>upperLimit) {
textbox.text._y = upperLimit;
}
lineLoc = slider.line._x;
linelength = slider.line._width;
slider.handle._x = ((textbox.text._y/lowerLimit)*lineLength)+lineLoc;
}
Using Flash Scrolling Text Box To Create Scrolling Schedule
Hi All,
For work, I'm creating a PowerPoint presentation which needs to include a really long schedule. I wanted this schedule to crawl up the screen. I thought of doing this part in Flash and inserting it into the PPT. Has anyone had luck with this sort of thing using PPT and Flash? Is there a better strategy. I have CS3 Web and Production and will be doing this portion of the project this weekend and thought I'd ask some pros. Is there another CS3 product that might be better. I am more Familiar with After Effects but haven't used it for anything quite like this before.
Thanks!
How To Smooth The Movement (scrolling Background And Scrolling Menu ) ?
hi! i'm new here and also a beginner in flash.. i need some help on how to smooth the movement in my flash project.. scrolling background with scrolling menu.. i got this script from a tutorial and i did some adjustment on it.. but somehow both the background and menu movement are not smooth as i want. its kept jerky along their movement. this is the script that i use to move both background and menu.. hope someone can help me to repair or to alter this script.. thanks! =)
//scrolling background with scrolling menu
//when mouse moves left, background and menu moves right
if ((_xmouse>-0.5) && (_xmouse<230) && (_ymouse>-0.1) && (_ymouse<450)) {
_root.back._x =_root.back._x +6 ;
_root.menu_mc._x =_root.menu_mc._x +10 ;
}
// when mouse moves right, background and menu moves left
if ((_xmouse>400) && (_xmouse<616) && (_ymouse>-0.1) && (_ymouse<450)) {
_root.back._x =_root.back._x -6 ;
_root.menu_mc._x =_root.menu_mc._x -10 ;
}
if (_root.back._x>1309.5) {
_root.back._x = -79;
}
if (_root.back._x<-697.8) {
_root.back._x =679;
}
//----------------------------------------------
if (_root.menu_mc._x>1200.5) {
_root.menu_mc._x = -99;
}
if (_root.menu_mc._x<-730) {
_root.menu_mc._x =569;
}[/size][/size][/size][/size]
Style Sheets?
Hello,
Knows someone how I can make style sheets like CSS or something ??
please help
Windows Style?
Howdy,
Guys and girls,I'm Currently built a whole flash site. And I've made it looks much like microsoft windows style. But I feel badly with creating these windows. Lots of questions ,such as detect active windows, assign array of windows titles,make it resizable,load txt outside and make windows size just fit for it and with scroll bars,make title bar, body,button(close , minimize , maximize),menu combined together.... And I feel deep lost in such kind of things.
I don't wanna to make every window as outside swf files and then load them into main interface file.Just wanna to create a function such as creatwindows with one body of it duplicate different windows.I feel it's much more effective.
Maybe my question is so big,but I just wanna you to give me some suggestions, or share your experience.Thanks a lot.
=^_^=
[Edited by udreamer on 11-03-2001 at 07:38 PM]
2A Style Actionscripting?
Hello there. My name is Young.
What I am going to ask you is something that made me trouble so much that I couldn't eat, sleep & talk several days. It might easier thing for you but this one is very important to me. Pleae help me..
I just got uploaded my website. It's at http://www.youngnak.ca/KM/groups/ynkcc3/
I spent months to bulid this.. There are buttons like rx-7, profile, portfolio etc.. When you press one of those buttons, it's supposed to import & load that section of flash movie into main movie which is already showed. And it's working okay but.. the problem is the main movie suposed to hold showing that importing movie until it knows it's all downloaded. Then once it's done it's supposed to show it. And my actionscript is not working..
It's like 2A style. You know you press button main movie close sliding door then once it's loaded it opens.
Please help me guys.. I think I can't rest until I solve this..
God bless.
young.
An Old Style Calendar?
do you remember the old calendar in the praystation page?
I think surely yes!!...cause was one of the innovations of the guru....
I was searching a tutorial or a fla to study cause i like to make my own and understand how it works...
well, I don't find it nowhere...
please help:
do you know where to find?
tnx
Al
Mac OS X Menu Style
I have been working on developing a site menu like the one in the tutorial for building a Mac OS X style menu but I am having problems debugging (the tutorial doesn't provide the .fla file). Does anyone know where I could find a similar tutorial that includes an .fla?
TEXT STYLE
how we can chane text style using actionscript
|