ActionScript 1/2 :: FlippingBook Flash Component Add A Page To The Number Each Time

May 7, 2009

I wonder if anyone on here has any experience of the above component [URL]. It produces 'turning page' books from jpegs and I'm having problems with one aspect of it. I've created a 'GO TO' button where the user can enter the page number that he or she wishes to visit. It all works beautifully, with one problem. The FlippingBook component is set to start at page '0'. This means that if the user enters '5' in the GO TO page box and clicks 'GO', he or she will be taken to page number 6, rather than 5, because what we are calling page 1, the component calls page 0.

I need to try and find a way around this, as if we're working on existing brochures with contents lists and index numbers, it is not feasible to just change all the page numbers. I would think that I need some code to tell the component to add a page to the number each time, but I'm not clear what the code should be or where it might be added.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Gallery Page With A Bunch Of Page Numbers - Click On A Page Number, The Over Script Should Stop Until Go To Another Page?

Jan 26, 2009

i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,

function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....

View 0 Replies

ActionScript 3.0 :: Get Total Time And Time Played From Flash Video Component?

Jul 6, 2009

I've loaded a video into the FLVPlayback component and I'm looking for a way to get the total time and the time played so far and output them to two text fields so the end result would look something like "00:12/00:50".

Right now I'm defining the video by the components inspector but I'm eventually hoping to define this bit by actionscript as well.

View 6 Replies

Flash :: Find Number Of Touches At A Point In Time?

Dec 7, 2010

I want to find out if the user is currently using more than one finger to draw on the screen.currently, the TouchEvent object doesn't have any property like touchCounts, which tells the number of touches on the screen. it just has a touchPointID, which helps to identify a particular touch.

do i need to handle this on my own ? for eg: in the TOUCH_BEGIN event handler i could see how many different unique touchPointID i have received and update the count myself.

View 1 Replies

Actionscript 3.0 :: FLVplayback Component : Add The Time Elapsed And Time Left On The Controls?

Feb 9, 2010

Im using the FLVplayback component for a project im doing. I want to add the time elapsed and time left on the controls (just like how the player on the tutorials on this site works). I dont really want to create my own controls, as im happy with the flv playback component.

View 2 Replies

ActionScript 2.0 :: Changing Content On A Page Each Time A User Visits Or Refreshes The Page?

Jun 16, 2003

How do i change content on a page each time a user visits or refreshes the page? example: the icon on kirupas header changes when the page is refreshed or re loaded. I have searched using dynamic content, but didn't quite find it...I only want to change 1 image..

View 1 Replies

Enable Page So That It Shuffles Songs And Plays A Random Song Every Time Page Is Loaded

Nov 25, 2010

I have a site up that is a "music" site, it is XML and flash and I would like to know if it would be possible to and how would I enable the page so that it shuffles the songs and plays a random song every time the page is loaded.URL...

View 2 Replies

Professional :: Use Flash Page Flip Component?

Jun 18, 2008

Can anyone direct me to somewhere where I may get an easy to use flash page flip component? I'd like to use the page flip effect to create a sort of magazine but I can't find a free one/one that I can figure out how to use.

View 17 Replies

Flash :: Integrate Component On Joomla Without Reloading It On Each Page?

Feb 16, 2011

Is-there a joomla compenent that permits to integrate a flash SWF on a joomla website : without realoding it for each page (by using an IFRAME or anything else

View 1 Replies

Flex :: Different Country Time Into Single Page Using Flash

Apr 22, 2009

i am beginner dont know how do display all country time into a single page using action script 3 in flex . do u know any example time code refer me . i will try that code .

View 2 Replies

Html :: Improve Load Time For A Page With Flash?

Jan 14, 2012

I have a basic html page and a big flash file I need to embed. I would like to allow the user to click on the links until the flash files loads.I was thinking of two ways to do this1. use an iframe and put the flash file in there2. use jquery to load and append the flash file to an internal div

View 1 Replies

Flash :: Limit A Page With Multiple Mp3 Players To Play One At A Time?

May 29, 2010

I am working with the open source flash player at [URL].. and I am trying to figure out how to limit one sound file at a time. I know this has been done on a number of sites but I am unsure how to approach it.

Scenario: A page has five different instances of the flash player. The user is litening to one song but clicks on another to listen to it.Goal: The first audio file automatically stops while the second starts playing instead of both playing at the same time.

Do I need to have some sort of javascript handler than interacts with the swf or something?

View 1 Replies

Actionscript 3 :: Ignore A Flash Component's ADDED_TO_STAGE Event During Authoring Time?

Feb 3, 2010

I've built a UIComponent in AS3. When I drag it onto the stage during authoring time, the ADDED_TO_STAGE event fires.

I have an event handler, but it's really only meant to perform actions at runtime, not when I'm dropping the component onto the stage to design the layout. Is there any way to check to see if the component is "running" in a live SWF?

Basically, I don't want the ADDED_TO_STAGE event handler to do anything at design time.

View 1 Replies

FLASH :: Http Headers - Cannot See Component On The Page Instead There's A Blank White Region

Jul 4, 2011

from time to time I get feedback from my web portal customers that they cannot see Flash component on the page - instead there's a blank white region. When it happens I instruct them to clear browser cache, and it solves the issue. Is there any way to handle this differently, using HTTP headers etc.

View 1 Replies

Have An Animated Logo Swf File That Loads And Runs Once On The Home Page Every Time The Page Loads?

Jun 25, 2009

I have an animated logo swf file that loads and runs once on the home page every time the page loads. The logo has been updated to appear in three different colour schemes. I want one scheme to load and when the page is refreshed or revisited, one of the other colour schemes to load in its place. They can appear in any random order, just a different one to the one that played before reloading.Can someone point me to an answer or tell me how to do it? I have found a way in JavaScript but this only works on plain images, not swf files.

View 6 Replies

ActionScript 3.0 :: Test To See Whether What Is Input Into A Text Input Box (flash Component) Is Not A Number?

Jul 3, 2009

I'm trying to build a fahrenheit to celsius convertor in AS3. How can I test to see whether what is input into a text input box (flash component) is not a number? This isn't correct but you can get an idea of what i'm trying to do:

if (celsius_txt.text == NaN || fahrenheit_txt.text == NaN)
{
//do something;
}

View 6 Replies

ActionScript 3.0 :: Get Number From TextInput Component?

Dec 28, 2009

I have a TextInput component on my stage with instance name 'enteredNumber. And button with instance name 'guessBtn'. After enter some number to my TextInput i want get this number, but can not cause its a text maybe? How i can do it?
 
var numberToGuess:int=5;
guessBtn.addEventListener(MouseEvent.CLICK, checkAnswer);
function checkAnswer(event:MouseEvent):void {

[Code].....

View 12 Replies

Get The Current Time As Either A String Or A Number?

Jun 12, 2006

Does anyone know an url where I can get the current time as either a string or a number? Or how do I solve the problem that flash can't create an external time? Or does anybody have a
perl-file that they wouldn't mind sharing with me that could do the trick

View 2 Replies

ActionScript 2.0 :: Convert One Hex Number At A Time?

May 20, 2004

I'm doing a simple hex converter with a input window(hex) and output window(dec)

Currently i'm using a simple script on a button to covert the hex to dec

on (release) {
outputBox = parseInt(inputBox, 16);
}

This is ok if you want to convert one hex number at a time, what i want to do is input lots of hex values (in the input window) and convert them to dec (to the output window) in one go.

View 8 Replies

ActionScript 2.0 :: Output Is Always The Same Number The Whole Time?

Jun 5, 2003

This is my code:

onClipEvent(load) {
test = new Date();
}[code]....

But the output is always the same number the whole time. Is there anything wrong with my code?

View 1 Replies

ActionScript 3.0 :: Var:Number Got Two Values At The Same Time?

Mar 2, 2010

I got a slideshow class, and in here I have a Number variable named "currentImage". This is changing(with the method currentImage += 1 when you click to the next image.

The problem is that when I trace currentImage (Event.ENTER_FRAME), it gives different values on odd and even frame numbers. On frame number 1 trace is 0, on frame number 2 trace is 1 and so on, on frame number 3 it is back to 0 and so on.

The slideshow works, but I got a function that resets the slideshow and this function is also using currentImage, this function doesn't work because of the changeing number.

View 3 Replies

ActionScript 3.0 :: Retrieving Page Number From PDF?

Mar 20, 2011

I'm not exactly sure if this is possible (I had at one point researched this and found no information on how to accomplish this task) but I would like to know if there is a way to send the current page number that an swf is embedded into within a PDF file and send it into said flash object for adjusting the scene.

As I could not find out how, before, I decided that the best route would be to have the main swf localconnect with another swf object that will relay a static page number to the main object. Of course the problem with going that route is that I will have to embed separate page-relaying objects per page with static page values represented within them, and when this project grows in size that will prove to be cumbersome task. This is an issue that I am willing to "suffer" through and already on the path of accepting ~ I just wanted to be sure that there wasn't a smarter way to go about this process.

View 1 Replies

ActionScript 3.0 :: Add Line Number In List Component?

Mar 24, 2010

I have the following code that loads items from an .xml file:

function ParseList(newXML:XML):void{ var pageList:XMLList = newXML.ITEM.@term; for each (var listItem:XML in pageList) {  my_lst.addItem({label:listItem, data:listItem}); }

 I'm trying to add the line number of the list item BEFORE the <label> in the displayed list.

View 3 Replies

ActionScript 2.0 :: Display A Random Number Every Time?

Mar 15, 2004

how to display a random number every time i need to display 3 digit random number display and i has also a random number display for 3 dec place too

View 2 Replies

ActionScript 3.0 :: Convert A Number To A Time Format (HH:MM:SS.T)?

Apr 1, 2009

I composed this function to convert a number to a time format (HH:MM:SS.T):

PHP Code:

function convert_sec_HHMMSST(_arg:Number):String {
var hr:int;
var hrText:String;

[Code]....

It works. But I'm thinking it could be optimized for performance. How would you pare it down?

View 3 Replies

ActionScript 2.0 :: Random Number Display (every Time)?

Mar 15, 2004

does anyone know how to display a random number every time i need to display 3 digit random number display and i has also a random number display for 3 dec place too

View 2 Replies

ActionScript 2.0 :: Cs4 : Control Number Of Objects Falling At The Same Time?

Oct 25, 2011

I have a fixed amount of words. Lets say 20 words. I want each of these words to be put into symbols - so i have 20 symbols (box1...box20). Now i want the boxes to fall from the top of the screen and until they reach below the screen. But (and this is where i'm lost) I want to have them fall at different speeds AND I want to control how many boxes falls at a time. Starting out with one box and when this box is out of the screen I want to control the amount of boxes/symbols entering the screen next.

A function telling that next there should be i.e. three boxes entering and falling/floating across the screen (from just above the top of the screen untill they all have reached the bottom). And i want to be able to call a function which starts X boxes - even before the existing boxes in the scenes has dropped). It would be nice to have a function, ie. fallBox(3) , which may be called at any time.

View 5 Replies

Actionscript 3.0 :: Odometer :counting To A Certain Number In A Certain Time Span?

Dec 30, 2009

I want the classic odometer styled counter but i want to put in some information for it to run with.. A start date, a end date and a number (e.g. meters) which needs to be reached in the given time spanThe odometer should hereafter show the current progress and increased accordingly.So i figured out how to get the time span traced out in seconds and thereby the meter increase every second (dividing: meters/seconds)Now the tricky part is to put these numbers in the odometer: The current progress and the increasement.

View 2 Replies

ActionScript 2.0 :: 'time' To Return A Number From The Function It Fires

Dec 17, 2009

what Have I done wrong! I want 'time' to return a number from the function it fires, So that it gets placed into the alphaTo Function ....> have a look

Code:
blocks = 6;
for(i=0;i<blocks;i++){

[code]....

So you see that I want to return a Number to 'time' ... How do I Return the Number?

View 3 Replies

Add Time To FLVplayback Component?

Feb 9, 2010

Im using the FLVplayback component for a project im doing. I want to add the time elapsed and time left on the controls. I dont really want to create my own controls, as im happy with the flv playback component. The FLVs playing in the component are external and are loaded into it via as3

View 13 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved