Flash beginner... insert SWF into web page and create play button
I am trying to insert and SWF into my webpage. I have 3 problems, 1. I am new to flash and aren't any good at it yet. 2. How do I tell the movie to stop at the end, and insert a "play again" button? 3. What do I need to do to insert that into my webpage.
I realize these aren't yes or no answers, so I even appreciate input on the best way to learn Flash for myself.
2. It can depend, but snce you are probably using the timeline, most likely you just need to put a stop(); command in the last frame to have it stop at the end.
To get it to play again, your button's function code will need to include something like: gotoAndPlay(1);
How the button code gets done depends on which version of Actionscript your file is using.
3. When you publish your swf file, also have Flash publish an html file (you set this up in the Publish Settings). You can then take that html file and copy the embedding code it contains into your web page html file. You may have to include a javascript file as well to make it work, and you can tell that by looking in the head code of the html file Flash created... that head code also needs to go into your web page html file and the javascript file needs to be placed according to how your html code targets it.
You might do best just to get the html page Flash creates working for you first. It might make figuring out how to move it into your web page easier.
My opinion: the best way to learn Flash for yourself is to just dig in and keep at it. You will lose hair and sleep and your mind as you go, but eventually you either get used to that and/or you overcome it.
Similar Messages
-
Can't insert text into web page plus script error message
I'm using CS3 and, on a fairly regular basis, when I am either pasting or inserting content (usually a newsletter of 500-1000 words), I get a message saying something like I can't insert text in this area. I definitely can insert text in the area as I have done it tons of times before. I sometimes have to cut and past a doc line by line to get it to insert. Very frustrating!
Also, just recently, I've been getting a script error message, "An error has occurred in the script of this page" followed by Line: 992, Char: 106, Error: Unterminated String Constant, followed by the question: Do you want to continue running scripts on this page? I click Yes and everything seems to work fine.
Help on either would be appreciated.
Thanks in advance.You might want to make sure you are trying to copy plain text. It's possible that if you are copying from a Word document or another Web site that you are bringing along extra unseen code it doesn't like. Try copying into Notepad first and then copying from Notepad into Contribute. Not sure if that's the problem or not, but that's what came to my head first.
I used to get an error that sounds similar (however it's not reproducing the error for me right now) to your error. It was because some of my users had javascript menus on their page that Contribute didn't like. However, if worked fine when you clicked yes and it was fine once it was published. So if you are running a script that's probably why and I wouldn't worry too much about it as long as you can continue working and the page displays to your users correctly once published. It's just annoying.
Hope that helps. Good luck. -
Can keynote enable live web page hyperlinking while playing auto presentati
Is it possible to use keynote as a link to web pages and thus play web pages on a remote cpu automatically ?..Without active user input at the presentation site.
g5, mini,powerbook 12 inch Mac OS X (10.4.3)Is it possible to use keynote as a link to web pages and thus play web pages on a remote cpu automatically ?..Without active user input at the presentation site.
g5, mini,powerbook 12 inch Mac OS X (10.4.3) -
Blogs - inserting into web page
Hi All
would some onoe beable to direct me to the best place on where to start??
I am new to blogging, I have downloaded and install wordPress for a blog but I would like to incorporate the blog into an existing web page, say the index.html.
or create something like this http://www.vetonet.dk/and-were-back-in-the-studio/
where the blog appears to be sat within the page??
can anyone help/direct me how to create a blog within a html webpage
any help would be great!!
cheersYou won't be able to do thin in an HTML page, you'll need to move to a dynamic language such as PHP or ColdFusion. Also, with WorPress you won't be able to "insert it into your page" - WordPress is a full blogging or even a CMS application... It is your site that you have to customize it to look the way you want. Do a Google search and see if you can find a lightweight blogging app that does what you want, but in most cases the blog wants to be the site and not just added to it.
Lawrence Cramer - *Adobe Community Professional*
http://www.Cartweaver.com
Shopping Cart for Adobe Dreamweaver
available in PHP, ColdFusion, and ASP
Stay updated - http://blog.cartweaver.com -
Embedding .swf file into web pages
What's the best way of embedding a flash file into web pages?
After Microsoft introduce something about the active object (need
to click on the Flash file first on IE to activate it) it seems
like the best way is to use 'FlashObject'. Is there any other
better way? Thanks a lot.SWFObject, which
used to be FlashObject. -
Flash Controls Not Showing On Web Page
Hi-
Been beating my head lately using Flash Pro 8 and DW 8.02.
Here is the latest difficulty:
Created a Flash video file in Premiere Elements 4
Imported the .flv Flash video file into Flash 8 using import
video
Added an external skin to the video
Saved Flash .fla file
Exported movie in .swf format
I can open the .swf file in Flash Player 8 and it works fine.
I can also use the Publish setting in Flash to export the necessary
files as well as the HTML file. When viewed in either Firefox or IE
it plays correctly and the player controls are present. However, if
I create a new page in DW8 and then Insert > Media > Flash,
point it to the .swf file and then view it in Firefox or IE I can
only see the .flv Flash video file and none of the controls/skin
that should be there. I know the controls/skin are actually present
because I can browse directly to the .swf file and it displays
works properly. I can also use the publish settings from Flash to
create the HTML page and it works correctly as well. It is only
when the page is generated by DW8 that I get this problem. I have
looked at the code created by DW8 and cannot find any reference to
the .swf file for the movie controls/skin. Any idea why DW8 would
only be placing the Flash video .flv file on the page and not
writing the code to place the entire Flash movie .swf on the page?
I have tried restarting/rebooting, created a new "clean" test page
with only the Flash movie on it and it is always the same. The
other thing that is weird is I did not select Autoplay or Loop in
the DW8 settings nor in Flash 8, yet when I preview the page
created by DW8 in a browser, piece of the Flash movie I can see
(the Flash video part) autoplays and loops!
Again, any help is appreciated.
-=SBUpdate- This is what I have discovered while playing around
with the page and Flash file:
If I create the .swf files for the movie and skin and then
save them to the same directory as the .Flash video file and then
view the .swf file everything works fine.
If I then create a web page using DW8 and insert the Flash
into the page and save the web page to the exact same directory as
all the other files and then view the web page in a browser, it
works fine. However, if I create a new web page in DW8, save it to
any other directory other than the one where the .swf and .flv
files are located and then view the page in a browser only the .flv
Flash video portion of the movie will display in the browser--the
controls are missing. However, if I browse directly to the .swf
file and avoid going through the DW8 generated web page the Flash
movie displays properly with the controls in the correct location.
My question then is why will DW8 not show the Flash movie with
controls if the page is located in higher level directory than the
.swf and .flv files and yet browsing directly to the .swf file with
my browser works just fine? I have checked the path to the .swf
file in the DW8 source code and it is pointing to the correct
directory location. This is so strange--why will it display one way
and not the other? Any ideas? -
Embed photoshop galleries into web pages
I generate photo galleries in Adobe Photoshop and I am
looking to embed them into web pages, is this possible? Either the
flash or non-flash galleries. Thanks!> Is it possible to embed a Web gallery that is in my
remote files into a
> template page so it will match my Web site?
Yes. Let's see your page as it stands now. Can you upload it
and post a
link?
The Object Not Found message means that there is a javascript
object that
has been left out of the page. A look at the code will tell
which one that
is.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"sumnerweb" <[email protected]> wrote in
message
news:g6l8h6$m2b$[email protected]..
>I used CS3 to creat a Web gallery. We like all of our
pages to use our
>server
> side includes. I tried copying the code from the Web
gallery index page
> into
> one of my pages, but it didn't work. I get the gallery
heading and info,
> but no
> pics. Where the thumbnails and images should be I have
"Object not found!
> The
> requested URL was not found on this server. the link on
the referring page
> seems to be wrong or outdated. Please inform the author
of that page about
> the
> error."
>
> Is it possible to embed a Web gallery that is in my
remote files into a
> template page so it will match my Web site?
> -
Downloaded 5.1.1 to my iphone. Now, Safari will not connect to my server. Can not download web pages and many of my apps. Email seems to be ok. iphone running slow and sluggish. I have read several other users have experienced the same problem. Any solutions?
Basic troubleshooting steps oultlined in the User Guide are restart, reset, restore from backup, restore as new device.
You need to go through all steps in succession until your problem is solved. If going through ALL these steps fails to resolve your issue, then you'll need to bring your phone into Apple for evaluation and possible replacement. -
How do I insert checkboxes into a Pages document?
I have been trying to insert checkboxes into a document I created using Pages version 2.4.2 on my iPad Air. I would like an actual checkbox (not just the image of an empty box) so that a checkmark will appear once it has been selected. I am able to do this with the "Numbers" app, but I cannot copy and paste those check boxes to a Pages document.
I want to use this document as a form I can easily access and print with checkboxes. I have only found a way to insert bullets, but not checkboxes that you can click on with your finger and a check mark appears in the checkbox.
Thank you!I think you are misunderstanding "Insert text at cursor". The ANNOTATIONS are not text editing tools, rather they are tools for people making comments to "mark up" documents. You use "Insert text at cursor" to tell the document author you want HIM OR HER to insert text at that point; the author reviews all the comments and changes the original.
You need to use one of the OTHER methods mentioned to actually add text. Probably simplest is the typewriter tool, which in Acrobat X is under TOOLS > CONTENT and is called ADD OR EDIT TEXT BOX. -
How can I use Automator or AppleScript to get text from a web page and paste it in execl?
I don't know how to make scripts or complexed automator workflows... that's why I'm asking.
I'm trying to make a simple app or script to ask me what text to extract from a web page, like name, address and phone number of a web page and paste each one of these data in the righ cell of excel.
I was thinking to promt a request from automator or an applescript to ask me which text to extract from the page or to look throught the HTML of the page to search for specific html tags, from which extracting text and then importing it, or paste it to the specified execl cell. Name in the name cell, address in the address cell and so on.
Can somebody help me to make this script?
If you know an alternative, like a software that already do this or another language to use, please tell.Try holding down the alt key as you mark the text to be copied. You can then copy columns to table text.
-
1. How can we search the Forum to see if a question has already been asked? Search goes back to Help and out of the Forum.
2. Can I send a Web Page and not just its Link? Explorer allows it.1. How can we search the Forum to see if a question has already been asked? Search goes back to Help and out of the Forum.
2. Can I send a Web Page and not just its Link? Explorer allows it. -
When I am in safari, I try to bookmark a web page and it is not doing it, it worked before I updated to the ios6 version, does any one know why ? It pulls up the screen to save it but then it is not showing up on the bookmark drop down menu, it continues to show the standard google,iPad user guide, yahoo....
hello sofg777, when you're at a page you want to print try to press ctrl+P and select a different printer than the Microsoft XPS Document Writer which seems to be set as your default printer in firefox at the moment.
-
Want user to click on pic from my Web page and for it to enlarge in awindow
I've uploaded my pic from iPhoto and placed in on my page in iWeb. I want the user to be able to click on the pic on my web page and for the page to "enlarge" so the user can see it better. Possibly in a new window.
Is this possible in iWeb?There are a couple of ways. See my demo pages Fancy Zoom and Opening Item in New Specially Sized Window. Both will do what you want. The code uses is also described.
OT -
IPad won't copy text from web page and paste in email
I'm trying to copy text from a web page, and when I paste it in Note or in a new email, it copied the web page link, not the text. Doing this in iPad. What am I doing wrong? Thanks
I think it depends on what you are trying to copy.
To copy, put your finger on the text and hold until the copy thing shows up. Adjust the size to whatnyou want, then touch copy.( I know, you already knew that). To paste, touch the screen where you want it to go until the paste thing shows up.
I just did it
glass, metal and minimalist design. Two. ( pasted from a web page)
Some pages are set up so that you cannot copy words or images.
So try a different page to see if you are doing it right.
If you want, post the link to the page and we call all try it as well. -
I am starting to work on some dynamic web pages to upload
information to an Access 2003 database using ASP. What I would like
to do is to give the user a chance to review their information
before it actually gets sent to the database. That is to say, after
they fill out the form on the dynamic web page, and click a submit
button, I would like to bring up a new page with their info
summarized and give them the chance to review it and/or go back and
make changes before it actually gets written to the database. Any
suggestions would be appreciated!I'm not sure what the question is. It sounds like you already
know what you want.
Have the form post to an asp page that retrieves the form
values and displays them in the format you want. Give them the
choice to go back and make changes or submit. The second page can
also be a form that you dynamically populate from the first page
values.
I'm not really sure what the benefit of this is. Why do the
users need a different page to review what they input from the
original page? What added value will there be?
Maybe you are looking for
-
With holding line items are not picking up while clearing with F-44 (DP)
Hi Friends, I hope you resolve my problem. I have a problem with With holding tax line items. Please see below for more details. 1. Made advance payment to Vendors through F-48 Vendor a/c dr 200,000 To Bank a/c 196000 To TDS a/c 4000 2.
-
When I start firefox, instead of loading the homepage, firefox displays a blank page with "New Tab" as its title. If I try to open a new tab and try to enter ANY website it will show it's loading for a second, stop, and remain at the same situation,
-
Creating a fm with end date and start date
hi gurus, I want to create a FM where my importing parameters will be date. like we give in select-options. if i give my importing parameters as sdate and edate. how my coding will work. Eg I want to select emp joining between jan to may. i can pass
-
How do you have things organized in iPhoto?
I'm in the process of organizing everything on my PowerBook. Currently I only use iPhoto for pictures that I want sync'd to my iPod. I really don't want to put all my photos in iPhoto, but I'm not sure. I'd like to hear how you guys use iPhoto. Do yo
-
We have an iMac where I work that was purchased this last summer (2012). We bought a bunch, but this is the only one that has this issue. The main user of the computer says that the screen randomly dims while he is using it. It won't dim is he is