Professional :: Create A Project With Multiple Pages?
Feb 1, 2010
I am trying to create a project with multiple pages. I stumbled across a tutorial demonstrating how to load and unload swf's. I used it and it works. way i could specify a btn or mc in the loaded swf that will specify the "click" area where the unload content takes place? Right now if i click anywhere on the loaded swf it unloads (i want that to be specified).
var myLoader:Loader=new Loader ();
page1_mc.addEventListener(MouseEvent.CLICK, page1content);
function page1content(myevent:MouseEvent):void {
I'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.
I have a flash movie with 3 buttons I am trying to link relativley to pages within my site, I have one working fine but can't get the others to link and when I try it makes the one that is working, work no more..
Below's the code I am using for the one that is working;
import flash.events.MouseEvent;var getIndex:URLRequest = new URLRequest("../index.html"); //---Enter Button---\
I'm creating a interactive cd in Flash.In my flash file is a movieclip that consists 103 frames. Every frame is a different page.I'm using Indesign to create this pages because its the best way to work with so many different pages.When I export the pages to .jpg everything looks and goes wel. Only the quality becomes very low when putting the swf to fullscreen.I've tried exporting it as .swf but is it wisely to put 103 .swf in a flash file? I'd like to keep the text vector and readable on every screen size.
'm a complete newbie, trying to create an educational app for a Masters project. The app will have various sections so I started by creating labels for each section along the timeline and set up all the navigational buttons. So far so good.I'm working on creating the content for the first section. I've created a button that leads the user to another "page" in the first section where I've inserted an audio file. I wanted to created a tween to accompany the audio explanation with some moving symbols and at the end two more buttons would appear that give the user 2 choices of where to click.the tween I want to create is about 18 seconds long (432 frames). After this, I will create another similar tween to deal with another audio explanation. This gives me a problem. Tthe timeline only appears to go up to 600 frames - not enough for my needs and who knows how many frames I'll need by the time the app is finished.
1 - Is there a way to extend the timeline beyond 600? (I would have to shift all my other sections along to accommodate my inserted tweens, but that's not the end of the world)
2 - Is this the best way to do things, having super-long motion tweens? I know I could add a video, but what I like about my tween idea is that the user sees stuff appearing as the voice explains and the option buttons only appear at the end of the tween, stopping the user from clicking them before the voice explanation finishes.
I 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?
I cant "center" my project, like you can see its "fixed" (yellow lines) in the left side and I cant see "invisible" part of project... (area around the project). how can I move my project so I can see the not-project area around the project. (picture 2).
At the moment situation... (cant see that area around the project) http://img19.imageshack.us/img19/1186/68553623.png
i got this flash with duplicated mc's say...enemy1, enemy2, enemy3. now we all know we can do something such as..
if {_root.blah.hitTests(_root.enemy)){_root.enemy.nextFrame();}}
because the enemy is duplicated and its no longer "enemy" but enemy12 or ****.is there any way to ...create multiple enemies and be able to do hitTests against them somehow.Also im not really a fan of attachMC
I am not great at flash and am making a website that has a few different tabs for different pages.How do I make different urls for each page?I want to track each page seperately.
I was wondering if there is an easy way of navigating through a website without the use of multiple pages and eliminate the use of a navigation bar. My idea, which I'm sure has been done before because people are always coming up with new inventive ways to browse the internet, is to be able to allow the user to free roam the entire website on one page. I wouldn't be asking if I found it so I figured I could put my mind at ease and ask someone.url...In this map, it allows the user to free roam this map and find different cities. My idea is to have the user to browse a map of a website to different parts of what would normally be links to other pages. The whole web map would be one page and the user could just move their cursor up or down or left to right to each section of the website. Once they get to a section, they can click on certain parts. There is one website that is similar to my idea, but I want to eliminate the use of a navigation bar.I am new to flash but I love web design. I want to come up with a new way to navigate.
How can I print multiple pages in Flash (based on dynamic HTML content that might vary in length)? For instance, how would I grab the text that is beyond the limits of that first page (the printJob.pageHeight)? I can get the text fields text height and subtract the printJob's page height but how would I grab 'the leftover' text.
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?
Working on a picture gallery with multiple pages. The basic idea of what I'm trying to do is I get a list of all thumbs, separate the list in groups of 20 and then add all the groups to a MC that slides left and right when the user presses a left or right button.This is the code I've written:
I am building a basic database website for my local community and everything is going fine until i try to add more script to control buttons on pages from the menu. The menu has 7 buttons which work, then on each of those pages is 6 more buttons. The first page works fine but when i add the code to the next page to control its buttons i get access of undefined prop. error and keeps playing through whole timeline. This is the code im using to control the buttons on pages from the menu.
I have a website partially made where I intend to apply a backing track throughout the website.my AC looks like this:
ActionScript Code: } var soundReq:URLRequest = new URLRequest ("sound.mp3"); var sound:Sound = new Sound();[code].....
I have a button at the top right of the page that allows me to stop and start the music. The problem exists when I go to another page (the audio is playing), then click the home button again. This starts the audio track from the beginning again whilst the first track is still playing.How do I need to modify my code in order to stop this from happening?
im trying to print something from flash onto multiple pages, i have the most basic text box i know is too long to fit on one sheet of a4 paper. when i run the print job in flash it only prints the first page. very annoying. can't find anything online to reslove the issuee is my code.
ActionScript Code: var pageCount:Number = 0; objPrintJob = new PrintJob();
I am trying to load an external swf with multiple pages so that I can print it in flash this is what I am doing:
Code: function loadImage(url:String):void { // Set properties on my Loader object imageLoader = new Loader(); imageLoader.load(new URLRequest(url)); imageLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, imageLoading); [Code] .....
I use the loadImage() function to load a multiframed swf movie then I use the function below to print but only one page comes out what am I doing wrong? How do I get it to print all the pages of the external swf? Code: function printScore(mc:MovieClip):void{ var myPrintJob:PrintJob = new PrintJob(); if(myPrintJob.start()) { var printOptions = new PrintJobOptions(false); [Code] ..... //Fail no printer
This is hard to explain, so bear with me... I'm creating "pages" of draggable buttons so that I can reorder them according to their revised positions. Everything works great but I'm stumped as to how to drag the buttons forward or backward a page based on the current active page. If you look at the file you'll see exactly what I mean. I have a portion of the code commented out because that's the area I'm stuck on.
All the MC's are created on the initial load, with each additional page appearing "off the screen" by an adding 1000 pixels per page (in the X direction). Then I just reposition all the MC's as the pages are scrolled through.
What I really want to do is drag a button to the edge of the screen and have all the MC's move that represent the appropriate page. I think I need some sort of timer there or it just flies to the last page.
FYI, if you change the variable "TotalVBs" it will modify the number of displayed buttons. If you change the variable "myButtonScale" it will modify the scale of the buttons. Increasing either or both of these will add more pages to the program. [code]...
I'm kind of stuck on something and I haven't been able to find out how to get around this. I have a form that consists of 3 pages. User fills out the first page, then clicks continue, fills out second page, then clicks continue again, then fills out final page then submits. Usually when I build a form, it's just on one page so I just send all of the variables to a php file. In this situation, I'm not sure how I could jump from page to page.
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.
I have a printjob routine, that starts a new job, then handles the following in a loop for printing multiple pages: 1. update content for every page in a sprite. every loop it's the same sprite. the sprite is visible on stage 2. addPage to Printjob after that sends the printjob to the printer
Now the Problem: On Windows it runs perfectly. On Mac only the last page was printed. the other pages before are empty (white). Her's my code. As you can see i try to print a table on multiple pages. In every loop i only show the rows for the actually printing page:
I am currently in the process of making a flash layout. I am working on finding out how to create smooth transitions between pages. I know how to get from page a to page b but the transitioning is not working right. Is there some actionscript code I could use to make it so when you press a button it gotoAndPlays the transitioning movie and then shows the page.
1. Create a new Flash document of size 450—300. 2. Create two dynamic text fields on the left side of the stage. Type some text into them as I have done. Give them instance names of titleText and contentText. 3. Create a new empty movie clip (Insert -> New Symbol). Give it a name Image holder and hit OK. 4. Drag the image holder from the library to the stage. Position it right after the title text field (refer to screenshot). Give the image holder an instance name of imageHolder 5. Now we need to create the images that show up on the right side of each page. Feel free to use your own, or use the ones that I have. Remember the location where you save these images! You will need the path when we define the image sources in the XML document.
I need to create a static frame and a changing content... currently envisaged as frame containing the side panel and header and footer content.
The content panel will call mxml based on the content sought.
a) how is the frame paradigm- with static frame "containing" other content done. I dont want to repeat the header and footer logic in every 'content section' code?
b) how is the hyperlinking between content sections done- using 'states' seems convoluted