Page Transition in SWF File
I have created a document in InDesign CS5.5 that I export as a SWF file and use it in my Flex Mobile project for the playbook.
In the Adobe Flash Builder simulator, the page transition works smoothly and there are no issues. However, this is not the case in the playbook, there is a lot of lagging and its very slow to transition from one page to the next.
Is there any resolution to this issue?
I tried using other page transitions but none of them work in my playbook, not sure why. I am trying to get a simple swipe navigation from one page to the next.. need help please!
Thanks in advance
There´s no such feature in InDesign....
If you want to make that happen, you need to do some actionscript coding.
Is this what you want (it takes few seconds to start):
http://dl.dropbox.com/u/17227987/autopageturn/index.html
If it is, you can download those files as zip-pacakge:
http://www.edocker.com/support/edocker-freebies/
1) Extract ZIP,
2) replace SWFfromID.swf, you may actually export SWF from InDesign directly to that same folder, use that name and overwrite existing file.
3) Then open index.html to your browser.
Pageturning delay is 5 seconds.
If you need more control over your SWF, you may want to check http://www.edocker.com. With it you can add features like zooming, printing etc to your SWF files.....
Similar Messages
-
Targetting a div on a page from an .swf file
Imagine I have an swf file on an html page. Beneath it I have a div called "container". I would like to hit a button in the flash file and have the contents of the container div change. I've done a similar thing with frames or iframes in the past, but I'm thinking there is a way to tell flash what div I am targetting. I would love to see the answer in AS3 since I'm trying to get myself away from many years of using AS2.
Thanks!use javascript to change your div contents and the flash externalinterface class to communicate between actionscript and javscript.
-
Dear Sirs,
I hope to be directing my question into the correct forum's place.
I'm new in flash and I'm trying to make some tests
My problem is the following:
I included one SWF file into 3 HTM pages.
This SWF works as a little menu.
The SWF file (named "menu.swf") contains 3 items working as command buttons to access the three different HTM pages
Each HTM page contains the same "menu.SWF" file, some HTML text and one picture.
The swf contains:
Button 1 -> calls page1.htm using:
on (press) {
getURL("./page1.htm", "_top");
Button 2 -> calls page2.htm using:
on (press) {
getURL("./page2.htm", "_top");
Button 3 -> calls page3.htm using:
on (press) {
getURL("./page3.htm", "_top");
When I enter to "page1.htm" it appears correctly showing the swf file and all the HTML text.
It is OK.
But when I'm in "page1.htm" and I click on "Button1" (to reload "page1.htm") the only thing that I can see (after reloading page1) is the HTML text and the picture, but I cannot view the "menu.swf" file.
"menu.swf" remains in its place, but "invisible".
You can click on its command buttons, but anytime I click on the button that loads the same page (for example: "Button 1" to reload "page1.htm") the
swf file(s) doesn't appears.
The same thing happens when I'm in page 2 with Button 2 to reload page2 .htm, and so on.
How can I do to solve this problem?
Sorry for my not good english but I'm spanish speaker.
Thank you!
GusThe path in the buttons is not correct once you navigate to the htm page.
So here you are on the landing page and the menu button says to get to "page1.htm" go up one folder level (../) to the file page1.htm.
Now once you are up one level, either you loose access to the .swf because from that page the path to the .swf is not correct, or if the .swf does show, then the path in the buttons back to the other pages is not correct, because you are now one folder level higher.
If I am mis-reading your post and all pages are in the same folder, then remove the "../" part before the page name in the URL. Or perhaps you are using ./ to denote the current directory... I'd still suggest removing it. So the the getURL would look like this :
getURL("page1.htm", "_top");
if all pages are in the same folder.
And if I am reading your post correctly, then you cannot use the same button URL to get to ("./page1.htm", "_top"); and once on page1.htm use that same URL to get back down to your landing page.
So I'd say it's a pathing problem.
Give that a try and see if it helps.
Best wishes,
Adninjastrator -
Automatic page transition in swf-Export
Hello,
I have a brochure for a swf-export. I want the pages to turn automatically after a few seconds.
Haven't found such option yet. Hope you can help me.
Regards,
PaulThere´s no such feature in InDesign....
If you want to make that happen, you need to do some actionscript coding.
Is this what you want (it takes few seconds to start):
http://dl.dropbox.com/u/17227987/autopageturn/index.html
If it is, you can download those files as zip-pacakge:
http://www.edocker.com/support/edocker-freebies/
1) Extract ZIP,
2) replace SWFfromID.swf, you may actually export SWF from InDesign directly to that same folder, use that name and overwrite existing file.
3) Then open index.html to your browser.
Pageturning delay is 5 seconds.
If you need more control over your SWF, you may want to check http://www.edocker.com. With it you can add features like zooming, printing etc to your SWF files..... -
Pages transition in a catalogue with 5 pages
Hi everyone,
I have just creating a digital book with 5 pages. My doubt is reference to apply a pages transition and convert file in swf. When I open it, it appear first new blank page before my presentation. What can I do for avoing this extra page! Thanks!
RoseCheck out another thread about this subject:
http://forums.adobe.com/thread/822633?tstart=0 -
Swf file in different places on different browsers
Hi,
new to this web design, but I am getting there (very slowly)
I have a web page that is live www.chm-berkshire.com but it has an issue on the index page where the swf file is not being centered on each browser i use.
I can set it up perfectly on my ie web page where the file is centered under the spry bar, when look at my work PC and the swf file is over to the left, if i use firefox it is even further over to the left
Is there an easy way to make all browswers see the file in the center of the page?
any help greatfully recieved, (in as simple terms as possible, as I am hard of thinking:-) )Just changing things from position:absolute to position:relative is thrashing, and will usually not help.
The solution is to do this -
Change this -
.oneColElsCtrHdr #container {
width: 46em;
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
border: 1px solid #000000;
text-align: left; /* this overrides the text-align: center on the body element. */
background-color: #FFFFFF;
background-position: center;
to this -
.oneColElsCtrHdr #container {
width: 46em;
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
border: 1px solid #000000;
text-align: left; /* this overrides the text-align: center on the body element. */
background-color: #FFFFFF;
background-position: center;
position:relative;
What this change will do is to change the reference point for all absolutely positioned elements on the page from the upper, left-hand corner of the browser viewport (which is the default reference for AP elements when there is no positioned ancestor), to the location of the centering element div#container. Now, when that element centers, it will carry all the AP elements along with it. You will have to reposition each AP element on the page to accommodate this change, but once positioned properly in DW, they will stay in that correct relative location.
Now - to see what a mess you have made by using AP for all your content - just browse to this page and increase the text size a few ticks in the browser. Your simple layout goes south in a hurry....
It's much better to use sound practice methods in building your pages - http://www.apptools.com/pagelayout101.php will show you the way. -
I have a multi-page PDF designed with push page transitions. When using the forward/back arrow keys or the interactive buttons I have designed on the page, the push navigation direction changes whether one is moving forward in the PDF or back. However, if I use the mouse scroll button or up/down arrow keys to navigate, the push navigation only animates from the same direction...and therefore makes it look as if the user is only moving "forward" in the book. Is there a way to control this effect more precisely?
I am creating the document with InDesign CC 2014, adding the page transitions within the file, and exporting to interactive PDF using the setting "Page Transitions: From Document".I don't think the iPad has it in it to control another device. Unless there's an app for it to be a remote control, but I'd imagine that it woudl be very brand specific.
You can certainly experiment with the VGA or HDMI adapters, but I wouldn't put total faith in them unless you had the ability to experiment prior to your presentation. I'd definitely have a backup plan. -
White square for .swf file in dreamweaver site
Hi
Apologies if this is a very basic question.
I have built a dreamweaver site and embedded a .swf file (a
slideshow of photos created in flash) into the page.
When I view the page online, the .swf file takes a few
seconds to load, and while it is loading I get a white square where
the slideshow should be (the dreamweaver and flash documents have a
black background).
Question - how do I either
a) get the white square to be black
b) get a loading bar to show that the flash video is loading
Many thanksThanks so much Tom - I now have a black background!
The only problem is that my .swf is taking ages (8-10sec) to
load and now its all the same it looks like nothing is happening!
I have looked at the preloader threads and customised a
preloader, but I can work out from the search results/threads what
to do with it.
How do i link the preloader into my .swf file. Do I need to
know actionscript (I dont!) to do this? (I have Studio 8)
The other gist I picked up from the threads is its better to
avoid the preloader all together. I'm creating a photography
website - hence big .swf - but do you have any hints for optimising
the .swf - the flash publish compression is all I've used so far
Many thanks -
I'm creatinging a multipage PDF document that has mulitple swf files embedded in it. For example on Page 1 I'm showing a DataGrid and the user has the option to change the datagrid to a columnchart, with the same type of stuff on page 2. When you go from page 1 to page 2 the swf file on page is basically 'unloaded' and if I print the document while on page 2 I can only get the inital view, the data grid, to show up. Is there a command that basically keeps all the swf files loaded so I'm able to print the columnchart on page 1 if I'm on anothe page? I'm new to flex so I'm probably not explaining this well.
thanks,
BobScript: http://www.indesignsecrets.com/downloads/MultiPageImporter2.5JJB.jsx.zip
It works great for files upto ~400 pages, when have more pages than that, is when I get the crash at around page 332 .
Thanks -
Dynamic swf file into dreamweaver cs4
Good evening to all,
Can a basic slide show created in Flash cs4 using as2 to load the images dynamically be inserted into a Dreamweaver cs4 page ?
The swf file shows up but I can't figure out where to put the linking images so the 2 basic "next" and "previous" buttons work ?
Thank as always,
Fred...When you load the swf file into the html page, that becomes the swf's reference for loading files. So if your structure has a folder containing the html file and another folder for the flash file and another folder for the images, as in...
main_folder...
- html file
- flash folder
- - flash file
- images folder
- - image files
then you need to change where the swf file is looking for the images because when it is in the html page, that is essentially the folder it is trying to get the images to load thru.
For instance, if you originally tested using Flash with the swf file targeting the images using...
"../images/imagefile.jpg"
(or something like that... those dots confuse me at times)
and the structure is as I described, then when testing in the html file the targeting would need to be changed to...
"images/imagefile.jpg"
Just think of the swf file as living in the html file's folder as far as targeting any files it needs to load, because once it is loaded into that page, it has basically moved to that new location. -
I have revamped my website and for some reason I cannot get
the whole .swf to show the text after i put it through Dreamweaver.
when i look at the .html file and play the .swf file everything
works just fine. I have this as my home page and need all my text
to show properly.
I have links within the website going back to home page and
the .swf file show the text like it should. Is this a Flash 8 issue
or a Dreamweaver problem?
Here is my website and someone can browse and hopefully see
what i am talking about. If you go to one fo the other page and
click on home page you see that the page looks different from the
www.joanrobertsfoundation.com page.
Please help me understand what i could possibly be doing
wrong.Here's a sample I made for someone here a couple weeks ago to demo something much the same as what you want. They were trying to reproduce what the flv movie does which is played along with it. Maybe you will see something different bertween what you've done and what is in the file linked below (if you can open it)...
http://www.nedwebs.com/Flash/Flash_BlueWave.fla -
I have been having problems after opening HTML files that
contain embedded swf files with Dreamweaver. They play fine on my
machine, but when placed on the web server, the swf files do not
appear.
Any ideas as to what is the problem?Please help!
I uploaded my site to "hostmonster".
My index.html page has a .swf file that should play automatically when you type in my site. All I get is a white box. I have the two files in the Scripts folder, also have the Clear_Skin_1.swf file and the FLVPlayer_Progressive.swf file in the remote site.
Hostmonster says the .swf file is corrupt, yet when I'm in Dreamweaver CS4 and go to the remote site, and I double-click on the .swf file, it plays with no problem.
This is my first site with Dreamweaver, it works fine locally, but just a white box when you type in my site.
I have disabled this feature for now, I can put it back up if someone can help me out.
Thanks so much! -
SWF file in code, but not on page
Hi. New guy here.
Using DW CS3, I've inserted a .swf file into a page, but it
doesn't appear on the website. The .swf is in the code, and it
loads if I click on it within the code. I'm sure its something
minor, but I can't figure out what I've done wrong.
Here's the page in question:
http://www.journeytoadream.org/story.html
Any help would be appreciated. Thank you.
CharlieDid you upload the Scripts folder as David said?
Jo
"CharlieKo" <[email protected]> wrote in
message
news:ge2ei4$jbc$[email protected]..
> Thanks for the reply, David.
>
> I now have the .js file in the head, but still no luck.
>
> I validated the markup in DW, and got this back:
> 101 - The tag name: "embed" Not found in currently
active versions.[XHTML
> 1.0
> transitional]
>
> referring to this:
> <embed src="/journey_slideshow.swf" width="400"
height="507" hspace="190"
> quality="high"
> pluginspage="
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Versio
> n=ShockwaveFlash"
type="application/x-shockwave-flash"></embed>
>
> The Flash file still works when I preview it in the
browser, and I've
> uploaded
> everything in the folder. I'm at a loss and my brain is
a little fried.
> -
Newbie, please help--swf files work fine separately, don't work when on same page
Hello all,
I am new to flash, and piecing together different templates to try and learn things.
I have run across a strange problem. When I load products2.swf by itself, I can call the two "copy" files and everything works. When I open 0342.swf (the index page), I can switch between the home and products2 pages, but I can't view the "copy" pages.
I'm guessing there may be some sort of conflict with variable names, but I have been messing with it for most of today.
I have uploaded all of the FLA files to here:
http://littlebuddymedia.com/flashhelp.zip
If you make an swf file out of each of the attached items, and open the 0342 file, you will see what is supposed to be happening.
Any help anyone can offer is greatly appreciated.
Below is the code from each relevant button in case that is easier for some of you.
Thank you in advance!
From the 0342 page (the index page)
My "Home" button
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "home";
_root.container.loadMovie("home.swf");
} else if (_root.currMovie != "home") {
if (_root.container._currentframe >= container.midframe) {
_root.currMovie = "home";
_root.container.play();
My "Products" button
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "products";
_root.container.loadMovie("products.swf");
} else if (_root.currMovie != "products") {
if (_root.container._currentframe >= container.midframe) {
_root.currMovie = "products";
_root.container.play();
FROM THE PRODUCTS2 page
My "copywebdev" button
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "copywebdev";
_root.copycontainer.loadMovie("copywebdev.swf");
} else if (_root.currMovie != "copywebdev") {
if (_root.copycontainer._currentframe >= container.midframe) {
_root.currMovie = "copywebdev";
_root.copycontainer.play();
My "officetech" button
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "copyworktech";
_root.copycontainer.loadMovie("copyworktech.swf");
} else if (_root.currMovie != "copyworktech") {
if (_root.copycontainer._currentframe >= copycontainer.midframe) {
_root.currMovie = "copyworktech";
_root.copycontainer.play();
}Not in the example I linked to.
I added the code and uploaded an example of what it does.
When I put "this._lockroot=true" into the first frame of the products.swf file, this occurs:
http://littlebuddymedia.com/flashhelp/withlockroot/0342.html
i.e. you can click over to the products page, but you can not navigate back clicking the "Home" button does not bring up the home page, it refreshes the product page. You are also not able to switch between the two text boxes (copywebdev and officetech) on the products page (though one of them will load--whichever one you click first).
I guess this was "two steps forward and one step back"?
Thank you for continuing to take a look at this. -
FullScreenButton in SWF file in an HTML Page
I have inserted a small video as a SWF file into my homepage along with Play, Pause, FullScreen and Mute buttons (loaded from the Flash Components panel). The Play, Pause and Mute buttons work fine. But when I click on the FullScreen Button nothing happens. It won't open the SWF video in a new page at full resolution. Any suggestions?
your embedding html code must allow fullscreen. if you let flash publish an html file for you and you change your publish settings to allow fullscreen, you'll see what's needed.
Maybe you are looking for
-
How would u go about improving the performance of a Program, which selects data from MSEG & MKPF or BSEG ?
-
I tried to download the itunes com for windows sdk from: http://developer.apple.com/sdk/itunescomsdk.html I click the checkbox and then click download and it sends me to the sorry page. on the sorry page i clicked the license agreement link. on that
-
Hi, Could anyone tell me please what parameter I have to set if I want to do an initial load stating with a given date (eg. 1/1/2009)? I configured $$INITIAL_EXTRACT_DATE, but I noticed a different date for fact tables. Which is the meaning of the fo
-
Hi friends, I am new to pp. Can anyone send me list of order types in SAP PP like PP01,PP02.........etc and in whats its effect and in which situation we have to use all these different order types/ Please clear me about this. Regards, Zabi
-
Dear sir my iphone 4s will icloud lock is there i forger password . how to open sir any ideia sir