Redirecting to specific frame of flash movie
Hi, im creating a flash website, in which the entire user interface is flash based, i was wondering if there is an easy way to set the site up so that if the user goes to www.example.com it goes to the home page, but if they type in www.example.com/page1, the flash video will start on the page 1 frame, and if they change this to /page5, it will go to the page 5 frame.
So far the only solution i can see is recreating the flash file to have the page 1 frame as the first frame, so when users navigate to the /page1 page, it will be a unique movie clip, starting on the page1 frame, and for every page have a unique movie clip starting on the frame corresponding to the page.
Any other ways to do it? maybe in actionscript, or html? I will probably set the site up in dreamweaver, but any solution that will work is better than recreating the movie for every single page.
Thanks
I have never worked with them, but you should look into using anchors in the timeline to see if that would be agreeable to you. If you search Google for "Flash anchors" you will probably find some info about them. It involves creating frame labels that you specify as anchors (in the drop down below the frame label textfield). Then, you can use something similar to normal html anchors to link to land at the frame.... www.example.com/#page1 (I have no idea if this is correct)
Similar Messages
-
How link from html page to a specific frame in flash cs5 as3
Hi!
I'm kinda new around here. I am interested in knowing how to link from a specific html page to a specific frame in flash cs5 as3.
I have a website that I originally began to design in flash but later started developing new pages for it in html. The flash part of it has several pages on different frames and I have created links from the flash part to the other html pages, but, I can only link the html pages back to the main flash home page, and not the other pages in the flash part of the website.
I have read that in cs3 it was possible using the flashvars skip variable, but I don't know how to do it. I have not yet seen any working examples and I could not find any instructions / tutorials online for cs5.
Can someone help here?add a query string, to the swf's embedding html, with variable/value indicating the frame you want to display in your swf. add a javascript function to return the query string (or entire url), call the javascript function from flash using the externalinterface class. and finally add code to your swf to parse the returned url or query string, parse it and then direct your timeline to the appropriate frame.
-
Trigger events based on current frame of flash movie
I have a director project with qt video where actions are triggered based on specific times in the video (movietime and/or duration). I am updating this project to use flash video instead of quicktime.
For ease of development, and hopefully minimal coding changes, I'd like to keep that functionality similar, but I can't figure out how to capture the current frame of the flash movie sprite.
Can anyone help? or suggest a workaround?I can't figure out how to capture the current frame of the flash movie sprite.
You were almost there. Try either of these:
put sprite("flash").currentFrame
-- or
put sprite("flash").frame -
Jumping to a specific frame in another movie
I'm wondering how to jump to a specific frame in an external
movie. I'm not using the loadmovie command so I don't think the
_level command will work. I just have two swf movies playing on the
same page. I need to have a button in Movie A when released will go
to a certain frame in Movie B. Thanks!well this certainly should work if the code is on the main
timeline, and there is nothing else. However when you say
'scrubber' do you mean that your 'testing' the movie by pressing
'enter' while in the IDE, so that you're actually 'seeing' the
playhead move? If this is the case, yes, no actions will execute.
To test the swf file, use Ctrl+Enter (or Command+Enter on Mac) to
run an actual 'test' -
HELP!! White frame where Flash movies should be!!!
Can't figure a single reason why this is doing what it's
doing. Everything works fine before I create the projector.....but
once I launch it and test, all my Flash movies are just white
frames of the same size as the movies are supposed to be. No sound
or anything. Does the same thing on the Mac or PC side. I've tried
checking and unchecking DTS, etc. but I can't figure this one out.
My project is due TODAY....first time I've had this problem
before, ever.....HELP!!!I thought about that (actually made that mistake with the
Buddy API Xtra), but I just now got it to work....seems as though
it doesn't like talking to a shared drive space between my Windows
and Mac partitions, even though it'll play just fine within
Director while I'm working on the project. I copied everything
over, all the directories, etc. to my Windows side, created a test
projector from there, and voila!
Thanks for the suggestion; I used to make that Xtra mistake a
LOT.
p. -
Can't seem to delete frames in Flash movie.
Hi,
I'm very new to Flash. I've imported an .flv movie into a job, on the stage. I want to get rid of a lot of the first frames, about 180 of them. Why can't I delete them using a right-click and choosing "remove frames?" Nothing seems to go. The movie's still starting at the same place all the time.
Thanks,
PeterI think you are right. That is what happens.You can't "edit" an FLV file this way. The frames are deleted, but that just means you won't see the end of your video!
Generally it isn't a good idea to import the video to the stage and play it back in this manner it can cause memory managment issues and other stuff.
It is usually a better idea to use either the playback component or your own code to dynamically "stream" the file.
Also if you want to edit out the first 180 frames you should open the source video, edit it, and re-export to a FLV.
If you can't do any of the "best practice" things. You could embed the FLV in a MovieClip say myMovie and then use code like:
myMovie.gotoAndPlay(181);
or whatever. But the file size will still include the 180 frames of content and there are likely to be other problems when looping and replaying and stuff like that. -
Going to a specific frame in a clip on another page
As may be self evident I am not an expert..... Is it possible
for a button (or series of buttons) on one page which, when
clicked, opens another html page with an embedded swf movie and
then goes to a specific frame in that movie ???
If that makes senseno - simply put, if the html page/SWF and frame isn't loaded
when button is pressed - there isn't a
way because it doesn't exist yet.
Chris Georgenes / mudbubble.com / keyframer.com / Adobe
Community Expert
LindnArden wrote:
> As may be self evident I am not an expert..... Is it
possible for a button (or
> series of buttons) on one page which, when clicked,
opens another html page
> with an embedded swf movie and then goes to a specific
frame in that movie ???
>
> If that makes sense
> -
Can an swf movie be opened on a specific frame?
When I call up an Flash-generated swf movie in its own
browser window via a navigation bar button, it always open on its
first frame. Is there a way to tell the browser in conjunction with
the getURL command to open at a specific frame other than frame 1?
I can't find an Actionscript code sample that allows this while
using getURL. Or is there some other way -- e.g. appending the swf
file with frame number in its HTML page in some way, using
Javascript, FSCommand, etc?
JodyMaybe this will help
http://www.adobe.com/devnet/flash/articles/deep_linking.html -
Copy frames from one movie to another in Flash 8
How do you copy frames from one movie to another in Flash 8?
I found this one, but it does not work on Flash 8.
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_12863
I want to copy the contents of a scene from one movie, and
then create a scene in another movie and paste it in there.Adesi wrote:
> How do you copy frames from one movie to another in
Flash 8?
>
> I found this one, but it does not work on Flash 8.
>
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_12863
>
> I want to copy the contents of a scene from one movie,
and then create a scene
> in another movie and paste it in there.
you must be doing something wrong, the above tutorial is
correct and it is the
only way to copy paste frames in flash.
Make sure your layers are not locked. Locked layers cant be
copied.
Best Regards
Urami
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
Loading external movies in specific frames
Here's what I'd like to have my project do: By clicking on a
button in frame 5 I'd like to load a movie into an empty movie clip
in frame 20. I'v ewritten the script to create the empty movie clip
and also load the movie, but the movie loads into all frames of my
project. I'd ideally like to have the movie clip waiting for my
only in frame 20. Anyone know how to make this happen?
Thanks
Ericyou could not load it into an empty movie clip located on
frame 20 from frame 5, flash wouldn't know where to load it since
the movie clip hasn't shown up... you could load it in on frame 5
and give the movie clip a _visible = false; or set it's _x and _y
properties to be off the stage, then on frame 20 set it to _visible
= true; or move its _x and _y properties to be on the
stage.. -
Obtaining the full file path specification from Flash Movie and QuickTime icons?
How do you obtain the full file path specification from Flash
Movie and QuickTime icons? I want the path and the file name that
is contained in these icons. I am using a "dive" to run through the
icons of a file, and when I come upon these two types of icons, I
want to obtain the above information that is contained in them. I
certainly can look in the property dialog box to get this info, but
there are many icons in these files, and I want to generate a list
of info based upon the various types of icons that I am processing.
Thanks> How do you obtain the full file path specification from
Flash Movie and
> QuickTime icons? I want the path and the file name that
is contained in
> these
> icons. I am using a "dive" to run through the icons of a
file, and when I
> come
> upon these two types of icons, I want to obtain the
above information that
> is
> contained in them. I certainly can look in the property
dialog box to get
> this
> info, but there are many icons in these files, and I
want to generate a
> list of
> info based upon the various types of icons that I am
processing. Thanks
>
For Flash
Trace(GetIconProperty(iconID, #pathName))
for QuickTime
Trace(GetIconProperty(IconID, #filename))
For full scripting reference for each of these sprites, open
up the
Properties panel for each sprite and press the Help button
that appears on
the properties page ... or else navigate to these folders for
the Flash and
QT help
C:\Program Files\Macromedia\Authorware
7.0\xtras\FlashAsset\Help
C:\Program Files\Macromedia\Authorware
7.0\xtras\QuicktimeAsset\Help
You don't want to know how many times I asked Macromedia to
stop hiding that
Help!
Steve
http://twitter.com/Stevehoward999
Adobe Community Expert: eLearning, Mobile and Devices
European eLearning Summit - EeLS
Adobe-sponsored eLearning conference.
http://www.elearningsummit.eu -
How do I tell my flash movie which frames to display depending on the page?
Hi,
I'm creating a php website with a flash movie that
incorporates the navigation. The movie shows an image for each
section and this image doubles as the navigation. The website uses
the same php template throughout the site for each page.
Here's the thing: I would like each page within the site to
display the rollover / active state of the section that the page is
in, rather than the movie playing fully each time the visitors
visits a different page.
The .fla file and .swf can be viewed here:
http://preview.hosts.co.uk/~swinsidelodge-hotel.co.uk/templates/swinside/img/header.fla
http://preview.hosts.co.uk/~swinsidelodge-hotel.co.uk/templates/swinside/img/header.swf
So when a visitor is on a page in the hotel section, I want
the flash movie to play frames 201 to 205 and when in the booking
section frames 221 to 225 rather than the whole movie.
Is there any way of doing this?
Thanks,
KonradThanks Gorka,
I looked it up and found this useful summary:
http://probertson.com/articles/2006/12/14/deep-linking-flash-application-states/
However, I'm now trying to figure out how write the flahs
vars so it can see what section / folder the page is in so that the
swf knows to play the same frames for both
swinsidelodge-hotel.co.uk/pages/hotel/awards.php and
swinsidelodge-hotel.co.uk/pages/hotel/guest-comments.php. So
basically it doesn't look at the last bit of the url but the first
bit... I would like the flash vars to be dynamic so that when the
client adds a new subpage in one of the sections the swf will still
know which frames to play.
Any suggestions?
Thanks,
Konrad -
Using Flach CS4 and action script 2.0 how do I advance to a specific frame of the main timeline when a movie clip instance come to the end of its timeline?
code on the last frame of your movieclip instance:
_root.gotoAndStop('whatever_frame'); // will work unless this swf is loaded into another swf. in that situation, you should use a relative path to the main timeline (eg, _parent or _parent._parent etc). -
Help with making a flash movie...go to frame and looping
How do I make it so that in my flash movie when it gets to a
certain frame in the movie it skis to another frame? Where and what
is the action script? like when it gets to frame 150 i want it to
go back to frame 1 so it can be animation for like a animated menu.
anyone know?If your movie contains exactly 150 frames, then you don't
need to write anything. It will loop automatically. If it contains
more than 150 frames, put the command 'gotoAndPlay(1)' in the 150th
frame. -
Can't See Particular Flash Movie on Specific Site
OP: Windows 7
Web browser: IE9 , chrome
Flash version : 10.3.183.7
Hey,
I recently bought a new acer TravelMate 5742Z computer. Now i'm having an issue in playing a particular movie on my student's web site(www.high-q.co.il) that is only working with Internet Explorer. All the other flash movies on the same site and other sites seems to work fine except this one. The thing is that on other computers with the same OP, web browser and flash player it works good. I tried to install Win XP and changing IE version to ie7, and ie8, tried to uninstall flash player and installing its offline version, I also deleted all my browsing data and lowered the security level on IE properties, installed the newest graphic drivers, tried to add this site on the trusted locations settings, enabling it on the addons section, but it still shows only BLACK screen and when I right click on it, it says "Movie not loaded". It sometimes blinks the movie for a second and then it goes black again.
Here's how it looks:
Thanks!Could you try disabling hardware acceleration and see if that makes a difference?
How do I disable or enable hardware acceleration?
Thanks,
Chris
Maybe you are looking for
-
Music interrupts while listening to wireless speakers via Airport Express
I live in an apartment building with many wi-fi connections all around me. When I listen to music via iTunes, I am regularly prompted with the following message: An error occurred while connecting to the remote speaker "Home", that's the name of my A
-
Dynamic internal table definition
Hi, I need to define at runtime an internal table. In particular let p_type the parameter to define the type for an internal table DATA: itab TYPE STANDARD TABLE OF p_type WITH HEADER LINE. This code doesn't work. I have tryed t
-
I accidentally split water on my 3gs and immediately starts playing up!.
I accidentally poured water on my Iphone and now I keep getting a dialogue box on the screen ever so often which keeps saying "this accessory is not made to work with the iphone". The funny thing is, I haven't attached any accessory to it, not even t
-
10.5 Server VPN L2TP racoon cannot connect to socket
So there is another thread that didn't specify a fix and I'm hoping we can get this thing resolved. OS X 10.5.8 Server with ports forwarded through firewall and landing on this box was working perfectly. It randomly has stopped and the vpnd.log is re
-
Hi, My sky connection keeps dropping and then comes back after a few minutes. I have tried all the troubleshooting on the website and it has not helped. Resetting the sky hub each time brings the connection back up but it drops for a few seconds afte