Navigation Via Pages By Scrolling?
Feb 13, 2010How to do navigation via flash webpages by scrolling and scroll to exact place by pressing buttons ? this is example of navigation i want to do[url]...
View 4 RepliesHow to do navigation via flash webpages by scrolling and scroll to exact place by pressing buttons ? this is example of navigation i want to do[url]...
View 4 RepliesHere's the thing. I'm implementing a navigation system into a project, that requires you to click a button, so that you may advance to other pages.it goes like this: it is a slide-based navigation system, with 4 buttons. To advance to page 2, on page one you must click a button, and so on. Otherwise, no matter how much you click the button linked to page 2, it will never work. And the cycle continues. I guess it's not all that easy to understand..so i've attached a link to the .fla [the file does not have any navigation restrictions
View 1 RepliesI'm trying to create a site with HTML pages and Flash based navigation, which basically means that the site content itself is standard in HTML/CSS format, but the main menu bar with the buttons and all is an SWF file. Needless to say, each lit-up button on the menu bar has to dim out on release and take to the corresponding page, e.g. clicking the 'Contact Us' button would cause it to dim out (as if unavailable) and open the 'Contact Us' page. Clicking a different button afterwards, would re-light the previous button and dim-out the newly clicked button and take to the page that corresponds to the newly clicked button, etc, you get the idea. There are 4 buttons for 4 pages.
Anyway, so far I've tried two methods which have failed:
Method A.
I exported four duplicate SWFs from the same FLA, with the only difference being the one unique button dimmed out and the other three lit up (a total of 4 combinations). Then, I put a different SWF on each page. This, the 'Contact Us' page would have the copy of the SWF with the 'Contact Us' button already dimmed out; the 'Home' page would have the one with the 'Home' button dimmed out, and so on. The obvious problem with this approach is that an SWF needs to load over again every time the page changes, which results in a brief, but, nonetheless, annoying enough blink. I hoped to combat this latency issue by loading all bitmap elements in the flash files externally, as opposed importing them to the library. I assumed that since all SWF copies accessed the exact same bitmaps from the exact same location, they would be cached in the memory somehow and not need to be loaded every time, so there'd be no latency. Then again, I was two days younger. This method failed. As Eric Bogosian's character said in the movie Under Siege 2, "Assumption is the mother of all" (you-know-what-ups).
Method B.
At a couple of other message boards, I was suggested another technique, which would require only one single SWF. A guy gave me a tiny peace of Java Script that would use a variable to inform flash about which page is called so it would know which button in the menu bar to dim out. Although this technique rid me of the necessity to use multiple SWFs, it didn't fix the nasty blinking problem AT ALL!!!
Method C.
I was also advised to "put info in a div and generate server requests to bring the appropriate info up". "You need to use ASP or PHP or some other server language" he said. Well, ASP is absolutely out for me, so I won't even consider it. As for PHP, unless there exits a very simple and straight-forward tutorial with source files, which I could very easily figure out, modify, and implement for my needs, I can't get into it because since I don't know PHP, it takes me a really long time to learn how to do a simple thing with it, which is something I can't afford right now with my deadline and all.
Method D.
I basically want to put the page contents into an iFrame window. Even all drawbacks of using iFrames considered, I still thing this is the optimal way for me. So here's where I currently am on this:I learned how to change the iFrame content using a function. Here's a simple test example, and here are the HTML and JavaScript codes for that example:[code]What I need now is to be able to call that JavaScript function and pass it the URL argument using action script instead.
Making buttons that open another url is easy enough, but for some reason I'm having a huge amount of trouble having a navigation button open new content on my website, such as moving from the Home content to the Menu content (the layout is static, only one small section filled with content changes.
I think the issue is that I can't figure out how to code it due to the fact that there are a good amount of nested movie clips, I'm not sure how to direct it to the place and frame I want.
I couldn't quite uplaod the file, so I've got it on filefront here: [URL]
I created the scrolling navigation, akin toby changing a script that I had. However, I'm stuck now, as all the buttons can move to the left, but not to the right. If it does not make sense, check out the attached swf and fla.I'm not too good with if else statement and x y property.
View 2 RepliesI created the scrolling navigation, akin to [URL] by changing a script that I had. However, I'm stuck now, as all the buttons can move to the left, but not to the right. If it does not make sense, check out the attached swf and fla.
View 2 RepliesLooking for a tutorial to make individual pages (jpg or gif) into swf pages so we can add links in an on-line flip book. I have flash, but have not learned as of yet.
View 2 RepliesI would like to know how to track my pages with google analytics to see which pages are getting the most clicks. My site is XML / Flash the menu is xml. Could I put the tracking code on each of the menu items in the xml file?
View 7 RepliesI'm using FileReference to upload PDFs and PHP to email it.Is there any way to find out the number of pages within the PDF using either Flash or PHP?
View 5 RepliesI'm trying out a page-flip program that tells me to create the pages as jpegs within a folder named "pages" in the Library. When I try to run it, it tells me it can't find the jpegs. I can get it to work locally by including the full URL (i.e., "...My Documentsedinnerpartiesimagesp3-large.jpg), but I know this isn't embedded in the swf file.
View 1 RepliesI have created a website with one flash animation banner.The banner .swf has 5 menus. Each menu goes to different movieclips inside the .swf file. and at the same time i want to load the corresponding html file when i click the menu button and place the html content into the bottom area of the main html page without refreshing the html page.
View 2 RepliesI have a spark List with an item renderer and a tile layout. If I scroll by clicking with the mouse on the scroll bar and trying to scroll with the mouse wheel after that, there is a problem: The interval of the scrolling is oversized, instead of scrolling one item down (or up) the List scrolls 4 items down (or up).
[Code]...
are there any events that the scroller will dispatch when being scrolled?
View 1 RepliesIm making a scrollable mc. Easiest thing in the world.... but the damn scoller just will not stop when the movie clip it's scrolling ends. It stops....eventully... but not close enough. What actionscript do I need to use and where do I put it?
View 1 RepliesI have created a vertical menu that scrolls through menu items in a movie clip.There is a big white gap when the movie clip runs out, and it snaps back to the beginning.I would like it to scroll seamlessly, having the end join up with the beginning again without any space.I would like it to scroll to one end of the list and STOP, and scroll back the other way and STOP - without any white space.URL...
View 1 RepliesHow do I do a easing effect on scrolling and mousewheel scrolling in a Textfield?
Something like this [URL]
This is a repost, but I've still not figured out a solution. I have a Flash movie that appears on a webpage. The Flash contains scrolling content ( scrollpane, text field, whatever).
The containing webpage is tall, and therefore also has scrollbars. My Problem: When users try to use the MouseWheel to scroll through my Flash scrolling data, the browser page scrolls as well. It's very annoying.
I would like to be able to have the MouseWheel scroll my Flash scrolling content when it's over the flash, but scroll the webpage when it's not over the Flash.
Does anybody know a way to supress wheel-based browser page-scrolling while my mouse is over a Flash movie??? Is there a way to eat/stop propagation, whatever, of the wheel event in the brwoser, either from Flash or from Javascript?
I have been working on a site that will display a portfolio for a friend of mine who is a photographer. I want to have thumbnails that can be scrolled on the bottom of the page, and an area where the thumbnail is presented when selected. I have the thumbnails appearing. I have them loading, however, I can't get them to scroll when the mouse moves to the left or right of the row of images. he file can be viewed at...[URL] Here is the code I used for the slideshow:
[Code]...
I am planning to create a photo/video gallery secured by a pin. So i plan to have 4 pages, Login, Menu, Image Page and Video View. Login would be a simple textbox where i check the pin. The Menu would show all picture albums and videos in a list i create with clickable sprites or buttons or something like that. And a video view where a video will be shown if i click on a video link on the menu page.
I tried to prepare the scene in flash cs5, so i decided to create 4 frames. ALl pages have their own layer. The first will be the login, second the menu, third the image view (incl. thumbnail show and fullscreen view popup) and a video view. On each keyframe i put a rectangle converting it into a MovieClip acting as the main container where all the stuff will come into.
Now i tried to initialize all these MovieClips by resizing them everytime the stage is resized. For this i get errors, that some of the MovieClips are null. This is because the MovieClips exist only keyframe 2 for the menu or keyframe 3 for the image page and keyframe 4 for the video view. So i have to put them all into keyframe 1 to be able to access. But i created 4 keyframes because i want to jump to them by using "gotoAndStop( n)", where n stands for keyframe 2, 3 or 4.
I dont get it, how does Flash interpret the code and how is the visibility of these MovieClips. Can i only access the MovieClip from keyframe 2 because i added it on keyframe 2 only? What is the best solution to have a simple 4 page app where on page 1 (menu) i click on video link which holds some sort of ID of the video, then i jump to keyframe 4 for the video view providing it with that ID, but how to do that when Actionscript doesnt even know there is a video container MovieClip. To get Actioscript to know all of them, i have to move them to keyframe 1, but then how to do the paging stuff.
So I'm working on a new flash site project for my boss. I've not done a flash site before so am learning as I go.
What I wanted to get advice on is the best way to build the set of pages. As you see from the homepage, there are 8 buttons there in total.
Obviously, when one is clicked, it will take you to that page *collections, profile, etc etc....). I am in the process of creating these pages but want to know what's the ideal way to set up the fla.
Is it best to create each page as internal movie clips inside the actual site.fla and then using the attachmovie command attach them to a main container_mc? Or is it best making them separately and loading them externally, loadmovie to a container_mc?Or do I set each page at a different frame on the main timeline and get the button to jump to that frame, which then plays the movie via one of the methids above?
I currently have a flash file and it all works fine, but I'm about to update it and it will become a little complicated to update the way I have set it up.
I have 15 pages (going to be updated to 40pages soon) and a side menu, clicking on one of the tabs in the menu will animate the relevant page onto the stage. Here is the code I am using[code]...
I am trying to do something pretty basic I think...I have attached a screenshot below of what the site looks like so far. What I want to do is always have the left hand side links showing on the site. I want to create a new .fla for projects and have that load on the window on the right when the projects link is clicked on. What I have done in the past is create the entire website within one .fla but that is getting too confusing. I assume some actionscript is required here which I am pretty useless with.
View 21 RepliesI have some flash code and an XML file that creates dynamic buttons that allow you to cycle through the XML file. Im trying to integrate this code into my .FLA but I want to get rid of the code that tells it to rely on the dynamic buttons, and instead, use my non-dynamic navigation I already have built to load the specific part of the XML depending on which page you click in my nav.
I just don't know what to strip - and what to add to the code to make it work.
My .FLA is setup in that each "page" is on a different layer on frame 1, so it uses actionscript to fade in and out of each "page".
Heres a link to the working example of the XML I found: [URL]
Heres my actual site to give you a better idea of what i want to integrate in: [URL]
Heres the XML code, file called products.xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<products>
<product id="42">
[Code].....
I'm creating flash site which will have different backgrounds for each page. I'll load the individual pages with "MovieClipLoader." My understanding about MovieClipLoaders is that, it doesn't matter the background of your mc, the page to which you are loading will maintain it's background.
View 3 RepliesI was wondering is there a way to have an embedded swf navigate to different pages of a pdf?
Example:my swf is on page one. There are mulitple buttons in the swf, when clicked it will take you to page 3, or 5, or 7, etc.
Currently, when I click on a button, it DOES take me to say page 4, but the content on page is the SWF file from page 1, and not the content that is suppose to be on page 4.[code]...
menu and background layers are static, and tweens are contained withinintros and outros. On the intros layer, pages fly in from the right while on the outros layer, pages fly out to the left. Each intro page has been labeled page1, page2, etc... and for the outro pages arelabeled page1out, page2out, etc...I am trying to use the built in flas tweens, and really don't want to look at other frameworks until I have a good grasp of the built in engines.When a menu button isclicked, I would like for the current page to play its outro while the next page is playing its intro - simultaneously.
Here is a snippet of my messy code:
home_mc.addEventListener(MouseEvent.CLICK, home_mc_clicked);function home_mc_clicked(e:MouseEvent) :void{ gotoAndPlay("page1");
[code].....
I have created two buttons from images, one to Facebook and one to LinkedIn.They both work perfectly in the test .swf file.When I upload them to my server, the Facebook button does not load correctlyThis is the actionscript I am using:
facebook.onRelease=function(){
getURL("http://www.facebook.com/pages/Express-Yourself-Photo-Booth/16208587053 4628","_blank","GET");
[code].....
I encountered a weird error, I lose sessions when moving between pages.
I lose Sessions because i use Flash (swf) menu to navigate between pages.
So when i navigate to a page using the Flash menu, I lose the session.
It doesn't let me answer my own question so here is the answer:
Thx for answering, but the problam wasn't the flash..
I just found out that the session was opened on http://WebSite.com/ And the flash was redirecting to http://www.WebSite.com/
So the session losts between domains, and not between pages because of flash :) I just made all my site use the www domain .
I'm looking for webdesign samples made in flash, of the top of the pages, like banners.It could be made in Actionscript or not, but woul would like to see somme samples, or sites.
View 0 Replies[URL] zooms in to bring in new pages, and zooms out to return. Check it out.
View 2 Replies