ActionScript 3.0 :: Calling A Swf Within A Flipbook And Maintaining Its Usabitlity?
May 27, 2010
I have recently purchased Pageflip 3.6 (http://pageflip.hu/) for a project at work and what I am planning on doing is implementing a guest book which i have created in flash.The guest book I created consists of a file upload (for images) a comment entry and a signature section (where the user has a choice between a bunch of fonts and writes there name) which are located on the left page of the flip book and then on the right page it displays the post (using XML).
Now the guest book on its own works like a charm, but when it is called into Pageflip the buttons for the upload/submit stop working and nothing happens.The way Pageflip pulls in the swf/png/jpg to fill its content is through an XML file.Pageflip does have hot spots and controls to switch pages directly within the book but I have disabled them so that you can only switch pages through the control bar, as I thought the hot spots were conflicting with the input for the guest book but it didn't do anything it still will not allow me to use the controls for the guest book.
I know this might be kind of confusing I hope i described my problem clearly enough and any help or input at all would be fantastic. I'm fairly green with actionscript but i'm the only one at my agency that knows how to use it so its tough on me to do these advanced things without anyone to bounce ideas off of
View 1 Replies
Similar Posts:
Mar 3, 2010
How I can xml dynamic text In this FlipBook BY AS3 & Flash CS4.I can use Xml Text but IN this project I can't write code action
View 1 Replies
Apr 13, 2010
I am looking for a flipbook that I can use inside of flash, whether a component or not I suppose;
in the past, the flipbook that I have used depends upon html/js;
also, the flipbook should be able to load .swf pages
View 2 Replies
Apr 12, 2011
I have a flipbook that I'm making and I'm having some problems getting rid of a certain keyListener... Here's the dealio.. This is the trouble-maker script that's on frame 3:
stop();
Key.removeListener(keyListener_n)
keyListener_np = new Object();
var repeatTest;
keyListener_np.onKeyDown = function(){
[Code] .....
View 1 Replies
Jun 3, 2009
change the dimensions of this flipbook, what parameters i'd have to change in order to change horizontal and or vertical size.
View 1 Replies
Sep 3, 2011
In a "container" movie I have an imported swf flipbook from indesign that needs some buttons to move through pages. I can control it with a simple nextFrame() and prevFrame() but this is done without the page curling/turning effect. Does anybody know which as3 command(s) or function(s) calls the turning effect like when clicked at corner of pages?
View 2 Replies
Dec 12, 2011
I am creating a flipbook application for a magazine. I am using Flash CS4(AS3) to build a navigation interface which contains a UILoader that loads magazine pages in SWF format created by InDesign CS5.Initially I was loading one large SWF file for the magazine pages. Internal links on the table of contents worked great but the load time was ridiculous. Now I am loading individual SWF files for each spread (adjacent pages) and the load time is great, however the links on the table of contents no longer work, which I expected.
The links still appear to be on the page however they don't appear to do anything. I have managed to interrogate the display list objects within the SWF file and the links appear to be of SimpleButton type. Some are even recognized as having HTML significance, they are given an instance name of "Hlnk#" instead of just "Instance#".I think my problem is that I can't/don't know how to get to the event that is triggered by the link/SimpleButton object. If I could see what page it is referencing I could load it.
View 2 Replies
Sep 12, 2003
I'm interested in coming up with a flipbook which turn to another page, with a "turn page" animation. Exacly like what they did for Fullerton, at this URL...I got a great reply from JCS (thanx again dude!), who passed me a fla where they came out with a flip book, but you'll have to manually drag the page frm one page to another. Technically this flip book is more superior, as the user can flip the book manually, and it looks very very cool, but the thing is, there doens't seem to be a way to flip all the way to the last page withouth going through all the pages in between, and that sucks, as imagine that the document has like 50 pages!. BTW, the file in JCS sent can be downloaded here.URL...So basically, I want to modify the script to enable the the page to turn automatically when clicked, instead of having to drag the page.
View 11 Replies
Feb 20, 2012
You know those paper flipbooks you would have as a kid where you would flip the pages and it would like like a moving image? How cartoons are made? I need to make that on the computer. I have a series of jpeg that I want to cycle one after another every second or so.
View 3 Replies
Feb 3, 2012
I want to create Flipbook in flex/Flash. Normally its created via XML and XML has some image or swf list it is loading as page in flipbook. But I want to create this functionality directly from the PDF file. Just developer need to give only PDF file name/path flip book will generate automatically.
View 2 Replies
Aug 16, 2010
I've created a flipbook in Flash. It pretty much looks the way I want it to except for one thing. On the 3rd and 4th page I've created a spread where it has have a movieclip playing inside the pages. It plays fine but everytime you're about to flip to the next or previous page it keeps playing the animation inside the page. Obviously I only want it to play once. Even though I put a 'stop' function inside the movieclip it still loops the animation. It looks like I have to set a function at the top level so it disables the movieclip after the first page-flip. Is this possible? Or is there another way that I can make the animation stop looping when about to flip pages? I could only attach the actionscript in word doc as the fla and swf where too big to attach. If you're happy to look into it I can email it to you.
View 2 Replies
Aug 26, 2010
Is it possible to define the scenes and the frames in XML in Flash CS4, so that we can parse it in actionscript 3.0 and define the interactivity. I want to define all the UI elements and the event associated with UI like List control or button in XML format (XUL??) and then use actionscript to build the application logic. Are there some good examples?
View 1 Replies
Aug 11, 2009
I am creating a site in flash, and I have always had this problem when I make flash sites. How can I eliminate a scroll bar in the browser, and make the swf fill the entire browser window no matter what? Is it something I need to write in Actionscript? the HTML page?
View 9 Replies
Mar 16, 2011
What I want to do is to fill in a movieClip with information I get from the MySql database and then maintain that MovieClip throughout the site which has swfs and web pages. how it is best done and easiest? Would a FlashVar have to be used? Could I just load something and have it stay inside while everyone accesse it?
View 4 Replies
Jul 12, 2010
I've got an algorithm that takes more than several seconds to complete. I'm trying to implement it into a 60fps flash game i'm creating. I am wondering if there is some provision in ActionScript3 to interrupt a computation in order to update the frame and continue the computation afterwards. There probably isn't, so I'm assuming the best method would be to perform the computation for x milliseconds, measure what the frame rate is after, then adjust the time the computation will run for next frame if the frame rate is less than or greater than 60 fps. The drawback with this is that the game won't run at a steady 60fps...
Any other ideas on how to (optimally) perform a large computation in AS3 while maintaining the framerate? EDIT: For the curious (the calculation, perhaps I should have said algorithm): I'm creating a motion planning library for game AI objects (one use for motion planning). The algorithm is along the lines of a RRT (rapidly exploring random tree) that iterates thousands of times. Demo link:[URL] Click to motion plan. The circle can "thrust" at a fixed magnitude in any direction. Also - there is no linear velocity damping (i.e. friction).
View 2 Replies
Nov 25, 2003
I using FlashMX to read in a value from an ASP page into a dynamic text box. This works fine.
I then use a motion tween animation to tween into another image, and there I put another instance of the dynamic text box, with the same name, but the value doesn't populate the text box. It's as if it reads the variable into the text box, but if I do anything to the text box, it loses the variable and can't get it back.
Further, if I switch back to the first frame, the value won't populate either, I have to refresh the browser page to repopulate the variable (read the ASP page again.)
Is there a way to maintain this variable throughout the movie, so that I can re-use it?
View 4 Replies
Mar 3, 2009
I am working on a paint application, I am able to draw lines, draw shapes, erase. I need to implement undo and redo functionality. I plan to store history in a bitmap and put it in an arrayMy question is whether we can have an alternate solution other using bitmap class. How can I store coordinates of non straight line without using up lot of memory and processor.
View 3 Replies
Nov 25, 2003
I then use a motion tween animation to tween into another image, and there I put another instance of the dynamic text box, with the same name, but the value doesn't populate the text box. It's as if it reads the variable into the text box, but if I do anything to the text box, it loses the variable and can't get it back.Further, if I switch back to the first frame, the value won't populate either, I have to refresh the browser page to repopulate the variable (read the ASP page again.)
View 4 Replies
Jan 28, 2003
I have a project which, for all intents and purposes, attempts to create an online text editor/word processor. The key thing is that I need all multi line formatting to be retained and sent to the server. ie, if the user enters a bunch of text (all colors/bold/fonts and stuff are working great) which has a carriage return or a line wrap, I need a way of tracking that and inserting some kind of flag to let the server now to break to the next line at that point.this project is a client/server application so just storing the text string and expecting flash to be able to use the same size text box will not work.
I have created a function that detects keypresses and MOSTLY takes care of the carraige return issue (still not as solid as I'd like though). Basically, every time the user presses return, I store the length of the string and, when parsing the data for transfer, I insert newline chars at every index point where one is needed. This mostly works unless the user goes BACK and enters a return (still working on that little issue).But the word wrap part is killing me. I did find several discussions of using either total characters to determine how big the box is and where to break the line, or something along those lines, but here's the main issue with that:everything is dynamic. the user can change almost everything, from text font (so there will be variable font widths) text size (again, variable widths) to textbox size (so I can't go with a fixed pixel size to break the text). I've noticed that it was very easy to make a text box vertically dynamic, but the width seems to want to stay fixed (if set to multi-line) since the user will be changing this width, I'm just stuck.
if it means coding a huge set of functions that compares every possible font (i will be using embedded fonts eventually so they will be limited) with every possible size and then using that data to determine box size, that's fine, I'll do whatever I can to get this working, but there just has to be an easier way
View 4 Replies
Feb 9, 2012
I'm developing an iOS flashcard app in Flash CS5 for a school project. I've got over 600 scenes, and my cards are structured in pairs so that one scene is the front of the card and the next is the backside with the answer. I've figured out how to get from scene to scene, but have had no luck trying to find how to randomize scenes while keeping them in pairs
View 0 Replies
Sep 7, 2009
I'm having a conundrum. I am trying to duplicate the link effect: http:[url]....The thing about that is that I am trying to create this for an HTML site as link transitions for a client. My issue is that the swf has to maintain size on ALL browsers and sizes. I've tried setting the html object sizes to 100%, but the video is smaller. Is there something I'm doing wrong?
View 3 Replies
Jun 5, 2009
I am working on a project in which I am suppose to maintain an array of movieclips, and I can also convert the movieclips into bitmap data. So I would like to know which one is the best to use either maintaining movieclip array or bitmap data array.
View 1 Replies
Jan 31, 2010
I am going to be utilizing a flash/jquery powered gallery on a webpage that is maintained and updated with an xml document. The xml data is used to add and sort images into a grid of small thumbnail images. i will customize this component so that when the user rolls over a thumbnail it will trigger jquery to replace a div using hide/show. My employer would like to try to create an adobe air desktop widget that will mirror the content of this gallery so that as entries are added to the site users can access the content automatically via the desktop. I was thinking there may be a way to utilize the same xml document to maintain the app as well as the gallery. As there is a fairly tight turn around on this project, i was wondering if anyone could confirm that adobe air apps can be maintained in this way, or how to approach this particular client request.
View 1 Replies
Jun 14, 2011
I have a canvas component called myCanvas and I instantiated it with
var myCanvasPage:myCanvas = new myCanvas;
this.addChild(myCanvasPage);
Then I want to essentially reload myCanvasPage later on. In effect I want to do this:
this.removeChild(myCanvasPage);
var myCanvasPage:myCanvas = new myCanvas;
this.addChild(myCanvasPage);
except instead of creating a new instance of myCanvas, I want to use the already created instance of myCanvas and essentially reload or re-create it but making sure that the instance name and references to it remain the same.
View 3 Replies
Oct 14, 2011
I have a TLF editable field in a(n) swf file. Text entered there gets sent to a php page where everything is processed. I had the behavior set for multiline, but just realized that if someone hits return and keeps typing, no break is displayed (not even a space). I've tried using nl2br() in the php when it grabs the POST variable from flash, but that doesn't work. I don't know how flash handles the carriage return, so I don't know how to handle it on the php side either.
View 1 Replies
Mar 6, 2007
I pretty much got it working. The only problem I'm having is that it's only full screen based off of the width. I want the picture to maintain it's scale, so I need it to fill the height if necessary and cut the sides off of the picture. You can see what I mean by clicking [URl]. Resize the browser so it's a lot taller than it is wide and you'll see what I mean. I want it to fit both height and width no matter which is taller. I've played around with it all morning and nothing.
Code:
// pic_mc is the movieclip that I used to load my full-screen background image.
function bgResize() {
pic_mc._width = Stage.width;
pic_mc._yscale = pic_mc._xscale;
if (pic_mc.height >= _yscale) {
pic_mc._x = (Stage.width)/2;
pic_mc._y = (Stage.height)/2;
[Code] ......
View 3 Replies
Mar 4, 2009
I'm trying to highlight the current 'page' / movieclip by showing the onrollover state in navigation display/button.So the colour remains the onrollover state (in this case blue) while the particular movie clip/'page' is displaying. Changing when the user rolls over another button.I have two issues:1. I understand I have to place the button within a movieclip and have been experimenting with button '02' in the attached example.fla - however now I have done this the original action contained within the movieclip instance myScreen_mc is no longer working.
View 3 Replies
Feb 28, 2010
I have page made everything in flash cs4 with background black, with many scenes but when jump from one to another one remains the space of .swf in target until it loads, I have proven thousand tricks but not it with himself, How I can avoid it?
View 1 Replies
Oct 31, 2010
I have a flash app which will send/receive a constant stream of data. The flash app should open a connection to the Java server, keep it open, and attempt to reconnect on socket failure. Are there any good APIs that offer this functionality? Smartfox Server is one option, but if I had my way I'd embed an API in my app rather than contort my app to run under Smartfox. Ideally it would offer an API on the flash end, another on the Java end, and efficiently (java nio preferably) handle the network component in between. I would just define handlers on both the client & server.
View 1 Replies
Apr 7, 2011
I have a flex application where on creationComplete i call a method in which i needed to load two XML files frm the server.only after which i need to proceed further..
Currently i am doing the following onCreationComplete = init();
private function init():void{//loading first XML
urlReq = new URLRequest(PATH_FOR_XML1);
urlLdr = new URLLoader(urlReq);
urlLdr.addEventListener(Event.COMPLETE, doEvent);
[Code]...
View 1 Replies