Streaming Swfs Without Interactivity
I have a parent fla into which I would like to call various child swfs at various times. This is to allow playing the movie when the first frames load, so that the whole movie does not have to complete download before playing. But there is no user interactivity or buttons to push. All the books and tutorials I have require interactivity so I cannot figure out how to do this!!! Pleeeeeeeeease help!!!
THANKS in advance!
FlashKit > Flash Help > Flash ActionScript
Posted on: 10-24-2002, 01:02 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Streaming And Interactivity
Hello ! I am fairly new to this whole thing and I've created a splash intor leading into my own flash website. Everything is in flash. The intro is fairly small (45 kb) so it loads OK and has a pre-loader. I used load movie at the end of it to load the website which is over 300kb and this causes a delay naturally. When I checked it on a dial up it is painfully slow. I constructed the site by using scenes and then using the interface buttons to goto and play each scene as the buttons are pushed. From within each scene there is a back button to take you back to the original interface where you can continue to make various selections - 5 buttons in all. I decided to try and put each scene into its own SWF and use the multi-preloader tutorial written by Jesse to load them into seperate levels all at the beginning and the access them accordingly. I have then used each button to try and access the SWF's but it does not want to work. Once you have display of maybe your "contactus" info from level 7 by clicking on button "services" from level 4 how can I get it going back and forth between the various SWF and save myself all the download time. Also my background music is in its own SWF and takes forever to load and the movie starts before the sound - how can I correct all of this?
Not that I have written my whole life story - any help would be appreciated!
Interactivity And Loaded Swfs
If an external swf is loaded into a main movie, is there a way that changes that take place within the loaded movie, i.e. a button press, can change the flow of the main movie. In essence how do external movies and the main movie communicate.
e.g. contactForm.swf.instance-this doesn't work by the way.
Any ideas around?
Streaming Multiple Swfs
How do I go about streaming multiple swfs?
I have a BIG web site made up of various swf files that I will be calling using loadMovie. I am wondering if it is possible to start loading in the swf files that haven't been called by the user!
is this possible and do you know of any tutes/threads that have the answer. I have searched but most finds are about streaming sound.
HELP - Problem Streaming Swfs Via ADODB.Stream
We are streaming flash swfs from a secure folder using an ASP script. All has been working well for some time, but now fails with Flash Player 10.
Following is a portion of the ASP code in the script that streams a swf. Can anyone see why this might not work with Player 10? -- Thanks....
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.GetFile(strFullPathofFile)
Response.AddHeader "Content-Disposition", "attachment; filename=" & objFile.Name
Response.AddHeader "Content-Length", objFile.Size
Response.ContentType = application/x-shockwave-flash
Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Open
objStream.Type = adTypeBinary
objStream.LoadFromFile strFullPathofFile
Response.BinaryWrite objStream.Read
objStream.Close
Set objStream = Nothing
regards,
Geofff
Interactivity
Creating a Message board is this possible within a flash movie? .
Up And Down Interactivity.
Hi, im trying to find a Guide/Tutorial on how to create a bar the moves up and down with the mouse?
thanks for any help on this
Interactivity
Could use some help if someone has a moment
I'm trying to create a site that fades pages in and out. what I mean is the main movie loads, including the menu. when a menu button is hit, the text and back ground fade out and THEN the new elements for the new "page" fade in. I can't figure out how this is done. in the past I've just told a button to go further down the time line to a specific frame, but the screen goes white instantly and the new element fade in. I want to script a button so that it fades elements out and then goes to the next command. Is this possible? If not how is this effect created?
I appreciate the help!
Interactivity Between Swf?
hey,
i got a swf loaded with a main movie.. want the loaded swf to play a certain labled frame in the main movie.. how is this done?
Interactivity
not really sure where this should go but here it is :
i am starting to make this flash file which is a "mock" console
(locaed here)
right now its a very basic and generic text. i was wondering if anyone has any suggestions to make it a bit more effcient. right now i'm making new keyframes after every character.
and also if possible...i wanna show the users real ip address. i am a total n00b and have no idea as to where to even begin with this idea.
any suggestion will help. thanx in advance
Interactivity
not really sure where this should go but here it is :
i am starting to make this flash file which is a "mock" console
(locaed here)
right now its a very basic and generic text. i was wondering if anyone has any suggestions to make it a bit more effcient. right now i'm making new keyframes after every character.
and also if possible...i wanna show the users real ip address. i am a total n00b and have no idea as to where to even begin with this idea.
Using Flash MX 2004
any suggestion will help. thanx in advance
Help *Interactivity*
Hi guys!
I need your help. I was trying to make a MC thats move when I move my mouse.
Here's the script:
Flash MX
1st frame
mouse_x = _xmouse*-1;
if (_root.barra._x >= 60 && _root.barra._x <= 280) {
setProperty (_root.barra, _x, mouse_x+((getProperty(_root.barra,_x)-mouse_x)/1.5));
}
2nd frame
gotoAndPlay(1);
But when the MC barra get 60 or 280 on the x-axis, it stop and dont do anyware.
I just want o limit the MC between 60 and 280.
Anyone?
* sorry about my poor english
[]'s
Interactivity Help
I need help getting my movie to work. When the mouse moves over the "Favorite Singer" button, I want a picture of LeAnn Rimes to appear in the crystal ball when the mask goes over the ball. When "Favorite Author" is rolled over, I want J.K. Rowling to appear in the ball. When "Me" is rolled over, I want a picture of myself to appear in the ball. This movie is done in Flash 4.
Interactivity Help
Hey everyone...
Does anyone have a tutorial or FLA or info on how to accmplish the Flash piece at: Evolution Media
Thanks for any help you can give!!
-Rick
Might Someone Be Able To Help Me With Interactivity?
I'm very sorry if there is a tutorial on it already, but I didn't see any. Thank you very much in advance to anyone who can help me out!
Also, to elaborate what I mean: making things where you could click on the character and make them jump/run/squat/punch. I just want to be able to give those commands to a character, and I can draw all of the stuff, but I don't know the technical things for interactivity. I have some experience in flash.
Need Interactivity Help
I've been trying to expand my flash actionscript knowledge and have been trying to create some animations but have been having trouble with some of the dynamics and actionscript
I would be grateful if anyone could direct me to a tutorial or tell me how to create effects like those in the animations I found links to on the internet below
http://www.upscale.utoronto.ca/Gener...rojectile.html
http://faraday.physics.utoronto.ca/G...lsGravity.html
Cheers
Interactivity Help
lets see if i can explain this so that its understandable (not good at writing). i want to have this interface with three buttons and on the side is a verticle information bar. when the buttons are clicked (depending on which button it is) an information tab pops up in the info bar. if you click on another button another tab pops up under the first one, and so on. when you click the button a second time the corresponding tab closes and any that were under it move up so that there is no space in between the tabs. oh and the first tab opened in aligned to the top of the information bar so all the tabs line up under that one.
i have an idea how to do this but it involves movie clips in arrays and onenterframe functions that display the all the tabs based on the order they were put into the array. this just seems like more work than it should be.
okay so my question is does anyone have any other suggestions as to how i should go about acheiving this effect described above?
Interactivity
i just want to try and make a simple movement script(where keys are pressed and a movieclip responds like moving a player left, right...that kinda thing), been struggling as to how to go about the whole thing .please sugest ways which which i can get this done.
Interactivity Help
can someone tell me where to find a tutorial about how to make windows-style drop menus? I have searched and haven't found anything that fits what I need.
thanks,
RoninSamurai
3D Interactivity?
Hey there all!
Got a small question which might blow out to a few big questions...
Is there anyway to have a 3D scene imported into Flash as an interactive object?
ie like how you can pan around in Quictime VR file.
For example say a a mechanical part is joining to another mechanical part, could the watcher pan around the scene as this plays?
Would Director be the way to do this? Or can Flash handle it?
Interactivity
how do make the effect when you puch a button and a movie clip starts playing in onother square
Playing Streaming Video From Darwin Streaming Server In Flash Player
I understand that Flash player & FMS support RTMP and not RTSP. However I'd like to know how can I receive the video stream encoded in H.264 from a Darwin Streaming Server and play it in Flash Player 9? Darwin Streaming Server uses RTP/RTSP for streaming. Let me know if anyone had success with this.
How To Limit Streaming Bandwith Using Flash Media Streaming Server
Hello,
We have recently designed our audio streaming player (designed in Flash) to stream mp3 content using FMS rather than progressive download. Our goal was to reduce the waste of bandwidth which occurs with progressive download - in cases where the player loads the song and only a few seconds are heard, though the entire song file is downloaded to the client computer which wastes bandwidth. We thought using FMS and streaming the mp3s using rtmp:// protocol would reduce our bandwidth usage.
However this has not happened. Our bandwidth is slightly lower but not significantly so. Seems like FMS is also downloading the entire song even though a listener maybe only a few seconds from the beginning of the song. The bandwidth charts are essentially the same as compared with progressive download which was simply using http:// with the mp3 content on a web server.
Does anyone have any suggestions of how we can make changes to FMS in a config file or console where we can set the streaming server to only download a few seconds beyond where the player is listening? It just seems like we are at no advantage with FMS in terms of decrease in bandwidth which was our major reason to go forth with this technology.
Any suggestions would be greatly appreciated.
Thanks,
MD
Edited: 09/05/2008 at 02:13:56 PM by md31
Interactivity In Flash5
I know this sounds a bit silly, but I just couldn't get a hold on this, so...
I've got several MovieClips in my Flash movie, and I need to control them with some buttons. These MCs are like 'windows', therefore, when I click on a button, it opens a 'window', which can be closed by a button within the movie clip.
Any thoughts...?
Keyboard Interactivity
I am building a simulation where I have to capture when user presses F5, F6, F7 and F8 keys. I placed a dummy mc on the stage and assigned the following code to it just to test:
onClipEvent (keyDown) {
if (Key.getCode() == 116) {
gotoAndStop (20);
trace ("F5 key is pressed");
}
if (Key.getCode() == 117) {
gotoAndStop (25);
trace ("F6 key is pressed");
}
}
trace appears to work when previewing, but it does not go to the appropriate keyframe and does not work at all in the browser. Has anyone done anything like this before, all help appreciated?
ASP/Flash Interactivity
I'm having some trouble understanding how to get my flash files to interact with my ASP sites. I work at a business that has recently incorporated e-commerce into our agenda and would like to use Flash to pretty it up a bit. All I need is somebody to help me with how to keep ASP code strings at the end of URLs. With the way I'm using the "GetURL" code now, it generates the URL but I lose the ASP string which identifies the customer. Flash would mainly be used for navigation purposes only.
If there's anybody that could help me out, it'd be awesome. Thanks.
Interactivity With Scenes
I have a movie with 2 scenes...
in scene 1 there is a button to get to scene 2
what command do i have to put in so that the viewer would have to press the button in order to continue on the movie?
thanks
-duff-
Combobox Interactivity - Please Help
Hi,
After finally getting used to Flash 5, I now have to learn Flash MX. I can see the potential in the components, but right now they are just driving me crazy! I can't find a tutorial anywhere that helps me do anything other than use the combobox in a CGI form.
Anyway, here's my deal. I have six comboboxes - each with no more than 3 selections. I then have a submit button. The user needs to choose a selection from each combobox and then hit submit. Now, depending on what the user chose, the submit button directs them to a different frame in the movie (which tells them if they were right or wrong and what to do next).
This may seem like a dumb question, but how in the heck do I do this?
I'll post my code below but it will be kind of messy. I know I might have done this completely wrong or perhaps I'm not writing correct ActionScript, but I'm a designer, not a coder. This code is attached to the "submit" button. Each comboBox has no code "attached" to it rather than the parameters set.
Thanks for any help you can give me. I can't continue this project until I get this figured out.
Michelle
Code:
function onClick(component) {
if (component._name == "submit_button") {
getResults();
}
}
function getResults() {
yourChoiceVI = _root.step3_mov.variablesInd.getValue();
yourChoiceUI = _root.step3_mov.unitsInd.getValue();
yourChoiceSI = _root.step3_mov.scaleInd.getValue();
yourChoiceVDe = _root.step3_mov.variableDe.getValue();
yourChoiceUDe = _root.step3_mov.unitsDe.getValue();
yourChoiceSDe = _root.step3_mov.scaleDe.getValue();
if ((yourChoiceVI == "population") && (yourChoiceVDe == "population") || (yourChoiceVI == "time") && (yourChoiceVDe == "time")) {
trace("one of your variables is incorrect");
// gotoAndPlay("pg2");
} else if ((yourChoiceVI == "population") && (yourChoiceVDe == "time")) {
trace("Both of your variables are incorrect!");
// gotoAndPlay("pg3");
} else if ((yourChoiceVI == "time") && (yourChoiceVDe == "population") && (yourChoiceUI == "year") && (yourChoiceUDe == "mussels") && (yourChoiceSI == "5") && (yourChoiceSDe == "70000")) {
trace("Both of your variables are correct, but your units or scales are wrong.");
// gotoAndPlay("pg5");
} else if ((yourChoiceVI == "time") && (yourChoiceVDe == "population") && (yourChoiceUI == "site" || "mussels") && (yourChoiceUDe == "site" || "year") && (yourChoiceSI == "3" || "70000") && (yourChoiceSDe == "site" || "year")) {
trace("correct!");
// gotoAndPlay("pg4");
}
}
[Edited by dulce75 on 08-04-2002 at 08:07 PM]
Advanced Interactivity
I'm wondering if anyone can direct me to tutorials that would show me how to do advanced interactivity, I have a link to explain what i mean:
http://heavy-rotation.net/
Specifically I'm talking about 8, 18, 19, the advanced mouse techniques, can anyone help out?
Menu Interactivity
hey, would love some expert help.
the image attached is my idea for a menu that i want to make in flash. but i cant work out how.
iwant all four bars to start off the size of the bottom three, but when the mouse goes over a particulr bar i want it to grow to the size of the top one. when this happens i would like the other buttons to return to their normal state and if necessary move to accomodate the growing button. i would also like the colours to change on the roll over having the bar with the mouse on it the brightest colour.
so if anyone has any good pointers to put me in the right direction, or can explain or knows of a similar tutorial, would really appreciate the help.
Buttons And Interactivity
I believe my question revolves around loading and unloading MC's via Action Script.
Click on this link to view my dilemna:
http://www.andyford.com/imxstudio/scenario/
Any help is greatly appreciated.
Andy
Any MM Application For DB Interactivity?
Hi,
I was just going through the list of products available on the macromedia.com website. I'm looking for any application that has web server database interactivity. Like, I want to replace php...or use something else as a database...apart from mysql...does MM have any application like that?
MC Interactivity Help Needed
Hi,
I need some help with AS in reference to MCs and interactivity. basically i hav 4 MCs on stage and what i aim to do is be able to click a MC, then the 'clicked on' MC will call up a MC within it using _visible operator. When one of the other MCs are click on, the first MC goes back to its orignal state and the newly clicked MC behaves in the same way as the first one.. a bit like radio buttons but wiv MCs.
I no that i hav to use a variable which has a true state when the MC is click on and 'if' statements, but i dont no how to compile the whole function.
Please can someone help me by giving me some good direction and examples. Thanks.
Shahid
More Questions About Interactivity
i have a picture (button) and then when you mouse over it enlarges and then when you click it fills up most of the screen. i want it to stay that big (the last size) until you click back on the med size one. how do i do that? also, i have another button that i want you to be able to just roll over and that triggers a movie. how do i do that.
i just want to say that the people that answer these posts are saints. really. thanks you soooo much.
xxxjosh
Button Interactivity
im trying to make a flash-based webpage and im basically new to this so somebody please help me
HOME (this is a button)
____________________________
i want the text/link/pictures
to appear here when i click
that button up there
_____________________________
Interactivity Please Hlep
i'm making a webpage... and i want it to be flash-based
i was wondering how to make it like if u click on a HOME button,
the info i want, will appear in the box next to it instead of opening into a new window. so basically the title and buttons wont change, only the information in the box will change.
i just need to know how to have the information appear somewhere else on the flash when i click a button.... basically thanks
Buttonless Interactivity
Hello everyone!
I'm a bit stumped. I've ran through a couple of tutorials on "buttonless scrolling" for Flash movies. I did find one, but it doesn't seem to allow the developer to control the speed of the scrolling images? It's a bit slow (if you click on the URL for the tutorial and you'll see the demo):
Tutorial off FlashKit - Buttonless Scrollbar
I'm looking for what the online site for V Magazine has. Check it out and you'll see what I mean:
After the preloader is done and after the whole quick scroll of the magazine covers are over, click on the button "V Magazine" on upper lefthand corner again to retrieve the buttonless scrolling coverart gallery.
V Magazine Online Site
The buttonless scrolling speed seems to be controlled by the mouse's direction and the scrolling gallery seems automatic at the same time.
ActionScripting? Tweening?
Anyone who can help me (even if it's only a partial of this question) then it would be of great help! I'd so appreciate it.
Many thanks in advance for your time!
Mouse Interactivity
HI,
I want to create this effect in flash www.itsasunny.net
Can someone help me on coding.
Or can anyone give me a link to a tutorial which deals with this situation.
thanks
Interactivity Issues... (MX)
Ok, I have 3 movie clips (called "map1", "map2" and "map3"). I am loading in a movied with radio buttons and a check box (not components) so the user can select the different maps. My issue is I want my check box to tell which ever movie is active (by being on frame 2 they are active) to go to frame 3. This is what I have on my check box:
on (press) {
this.gotoAndStop(2);
if (_level0/map1._currentframe == 2) {
_level0/map1.gotoAndStop(3);
}
if (_level0/map2._currentframe == 2) {
_level0/map2.gotoAndStop(3);
}
if (_level0/map3._currentframe == 2) {
_level0/map3.gotoAndStop(3);
}
}
Any help is greatly appreciated!
Also, if you are willing...how can I keep this activated if the user chooses a different map? (my current radio button tells it to go to frame 2). Thanks!!!!
Interactivity Issues... (MX)
Ok, I have 3 movie clips (called "map1", "map2" and "map3"). I am loading in a movie with radio buttons and a check box (not components) so the user can select the different maps. My issue is I want my check box to tell which ever movie is active (by being on frame 2 they are active) to go to frame 3. This is what I have on my check box:
on (press) {
this.gotoAndStop(2);
if (_level0/map1._currentframe == 2) {
_level0/map1.gotoAndStop(3);
}
if (_level0/map2._currentframe == 2) {
_level0/map2.gotoAndStop(3);
}
if (_level0/map3._currentframe == 2) {
_level0/map3.gotoAndStop(3);
}
}
Any help is greatly appreciated!
Also, if you are willing...how can I keep this activated if the user chooses a different map? (my current radio button tells it to go to frame 2). Thanks!!!!
Help Creating Interactivity
Hi all,
I am trying to find a way allowing a user to create a simple drawing inside a certain space. Can i give a user the possibility to use some tools, for example a pen?
Help With Browser Interactivity...
Hi, I have 2 problems facing myself and a prospective client:
1. although i have seen robert penners old tutorial, is there a new updated way to use a browsers forward/backward buttons to navigate through a .swf? the only way i can figure is to create separate html/swf pages for EACH section of the movie... is there a way to connect the buttons to the movie via scripting?
2. how do I allow for Google etc. to search through multiple pages in a .swf?
with both of these prospects in mind, would it be easier to publish each 'page' of the movie as a separate html/swf? THANK YOU!!
Importing An Swf With Interactivity
i'm a newbie in flash and actionscript contents and i'm trying to import a swf with interactivity but i can't put it to work as i want.
i had imported the swf to the library but it don't read the actionscript in it.
what could i do to make it read the actionscript without making it again in my fla???
[F8] Interactivity Issue
Hi Everyone,
I have one issue.
If you open the movie I attached you will see
a button at the top left. If you click this button a popup window appears over a second button that exists in the middle of the page.
The problem is that the button underneath the popup still interacts with the cursor, this is a problem because I don't want the user to be able to click
this button when the popup is over it, eventually I am going to place
interactive content in this popup
Any suggestions are greatly appreciated!!
Interactivity Problem
Hey everyone, I am trying to get a specific effect for my site menu, thing is Ièm not really sure how to explain it..lol However, there is a website that has the specific effect I want and would like to know how to get it (and what that effect is called would help too) www.natlauzon.com Just rollover the chinese food boxes and you will see the effect I want. Hope you can help!!!
Thanks!!!!!
Silvia
FlippingBook Interactivity
I am working on a FlippingBook project. I really need some help finishing this up. I have a couple of issues... (besides the fact that this project is way over my head in regards to ActionScirpting)
Issue 1: Page 9 has a large video player and page 10 has 5 smaller videos. I want the user to be able to click on any of the smaller videos on page 10 and have them load up within the large viewer on page 9.
Issue 2: The top navigation names has one active name that gets you to page 3 as well as one image at the bottom that gets you to page 3 also. I want these two nav buttons to show a hit state (white text and full image) once the user releases the mouse after clicking them.
You can view the FlippingBook at http://www.marshallad.com/flippingbo...ha_08_snow.swf
Please Yahoo Messenger me if anyone has some time to help me with this project. I would be so greatful.
Flyfisher2
Button Interactivity In AS 3
Hi,
I am brand new to AS 3 and find myself very confused about how to use buttons that i think should be simple.
i have 5 simple buttons built and in one FLA. i also have corresponding movie clips which are also very simple. i'd like each button, when clicked, to load a movie clip in the same spot depending on which button is clicked (i did this in AS 2 by just loading into a new level, but clearly that AS 3 doesn't allow for that). i have figured out what i believe to be the correct Script to load the movie when the button is clicked (see below).
BUT my issues at this point -
1. should i be putting all the movie clips in the same FLA, on their own layer? if not, how do i load them when the button is clicked.
2. if putting them in the same FLA, and on the stage, works, then how do i load/unload when each button is clicked, so that the Movie Clips don't overlap?
blytheMov.stop();
blythebeck.addEventListener (MouseEvent.CLICK, startClip);
function startClip(event:MouseEvent):void {
blytheMov.play();
}
THANKS in advance for any help!
[F8] Button Interactivity
Here's my scenario:
BUTTON A: the word 'HELLO' turns from red to green when mouse is over and fades back from green to red when mouse rolls off...when clicked it becomes blue.
BUTTON B: same thing except word is 'GOODBYE'
How do I get the word 'GOODBYE' when its blue (clicked)...to automatically turn green and fade to red when 'HELLO' is clicked...
my buttons are made made up of movieclips inside the button up is the fade from green to red and over is fade red to green...
is there a way if the two buttons are on the same movieclip that they can talk to each other
for example on the down of the 'HELLO' could there be an action to tell 'GOODBYE' to play up without having to create multiple frames and breaking apart buttons etc...
thanks (hope this makes sense)
Buttons And Interactivity
I am attempting to build a navigation system similar in concept and theory to http://www.firstbornmultimedia.com
Here's my navigation dilemna:
primary menu > secondary menu > content area
-or-
level 1 > level 2 > level 3
If a button in the primary menu (level 1) is pressed, the secondary menu (level 2) does a flyout animation (much like the Start menu in WinXP). The secondary menu must remain open regardless of whether the mouse is over it or not.
A user could select another button from the primary menu (back to level 1) - which would spawn a similar animation - or select a button to proceed to the content (level 3).
If a user selects content from the secondary menu (level 2), then an animation is spawned that serves as the area for the content (level 3). This too stays open regardless of mouse location. However, if the user selects another button from the secondary menu (back to level 2), then the content area already open needs to appear as though it is reversing it's flyout animation and returning to the secondary menu (level 3 back to level 2) while another content area is spawned from the location of the most recently selected button (progress again to level 3).
The final scenario that needs to be addressed is if the content area is open (level 3), and the user selects a button from the primary menu (level 1) - how would I have the content area (level 3) and secondary menu (level 2) reverse themselves to return to the primary menu (level 1) and have the cycle repeat itself for a completely different selection? - When I say reverse I mean an animation that gives the appearance of reversal - unless there is Action Script that would do the reversal without me having to animate.
One last question - how is it possible to keep this bandwidth friendly without having to load all of these elements upfront? What is the best way to have them load when called upon?
I hope this is a clear explanation - though I fear I may have over-explained. http://www.firstbornmultimedia.com is again, a similar example of what I am attempting to accomplish.
I have my own basic swf for demo puropses as well:
http://www.andyford.com/imxstudio/scenario
(*Note: The swf I provided was solely for the purpose of demonstration. The .fla is actually directed in a linear path to provide a visual example of the types of scenarios I am attempting to control, suffice to say I don't have a 'working' fla.)
Let me express my thanks beforehand for anyone who can help.
-Andy
|