First Time SWFObject User
I can't get SWFObject to work for the life of me. I'm ready to dump myself into a van down by the river. Help.
Here is my html, followed by a thought or two...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript" src="swfobject.js"></script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Fixed Width CSS Layouts - 3 Column - fw-35-3-col</title> <link rel="stylesheet" type="text/css" href="main.css" /> </head>
<body>
<!-- Begin Wrapper --> <div id="wrapper"> <!-- Begin Header --> <div id="header"> <div id="flashcontent"> This text is replaced by the Flash movie. </div> <script type="text/javascript"> var so = new SWFObject("NavBarHome.swf", "NavBarHome", "982", "111", "9", "#003366"); so.write("flashcontent"); </script>
Arrrgghhh... I don't know if the problem is in the "NavBarHome" ID. I don't know how to officially set this. I am just using the file name in leiu of any more official sounding way. My FLA has several movie clips in it, so I'm not sure how I would set an overall parameter, if that is indeed the problem....
I've fllushed away hours- please help!!!
FlashKit > Flash Help > Flash General Help
Posted on: 01-12-2008, 07:18 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Please Help 1st Time User
just got my homepage up on the web but it is to the left of the screen i need to center it but i dont know how can someone help me.
www.kellyjohull.com
First Time User Needs Help
I'm new to Flash and am working through the Adobe CS3 Classroom in a Book. After one of the lessons, my rectangles are now showing up with rounded edges and I cannot figure out how to get it back to a regular rectangle without making it a primitive rectangle.
Any ideas? I hope this is just a "duh" on my part, but please help if you can.
Getting User's Time Using Flash 4
Hi!
Does anyone know if it's possible to get the user's time (hour and minutes) using Flash version four?
I know the getHour function was implemented in Flash 5, so, is there another way around? Maybe using JavaScript and getTimer?
Thanks in advance for any help!
Trotta
AS 2 User Action Log With Time
Howdy:
Sure could use some advice. Working on a Advaned Cardiac Life Support simulator. Can't figure out how to create a file that lists which mouse buttons the user clicked. Next to each click entry should be the time when clicked. ie:
Start CPR 00:05
Establish IV 00:15
20 mg Epine 00:40
Stop CPR 00:55
etc.
Simulator can be seen at www.avenyou.com/ACLS
Thanks for any suggestions.
Avenyou
How Many User Can View One .swf At The Same Time
Hello
My company (www.brightbrains.com) builds e-Learning websites and we use ASP, SQL, Flash MX and XML to build our courses. We use dynamic flash movies for all of are class interactions. We are calling jpg(s), text and mp3(s) through XML documents. The .swf file is a "shell" that is embedded in every course and is changed in a XML document.
This means one .swf file is used many times at the same time.
Our problem is we do not know what 10,000 or more users viewing the same multiple flash movies would do. There is no way for us to test at such a larger scale.
Will it crash the live server, the users computer, or what?
www.brightbrains.com
btoups@brightbrains.com
Timer Able To Get Time From User
I was wondering if anyone out there could help me out on a little project i'm working on:
I'm trying to create a countdown timer which will accept one of three coutdown times (5 min, 10 min, 15 min) based on buttons a user can click on in the interface.
I've seen the http://www.kirupa.com/developer/mx/countdown.htm tutorial and have tried to translate the code there into something i can use, however i'm not exactly a coder by trade. Is there a better tutorial out there which has something to do with accepting user entered data and changing variables accordingly?
Time Delay Before User Can Advance
Hello,
Is there a simple script that I can add to a frame that does not allow the user to procees (by clicking the next button) until 30 seconds have passed?
I've made an online workbook and I want the user to actually read the text, so I thought that a time delay before proceeding would make sure that they actually read through the text, rather than just clicking their way through it.
Thanks,
Glenn
Recording The Time A User Has Been On An Exercise
Hi there
I would like to store the amount of time a user spends on a flash e-learning exercise. I.e when they first start I would store a start time then when they log off I would calculate the length of time.
Anyone point me in the right direction please. Btw I would like the value to be in minutes - and I am not bothered about seconds i.e to the nearest minute is fine!!
Thanks
Chucky
Measure A Users Reaction Time
Im looking for something to measure a users reaction time. Say I had a red dot on the screen and when it changed to green the user would click on a button and display there reaction time to the change in this format 0.000 sec.
User Time Control Movieclip
Hey peeps hope you can help me with this,
I want to do an actionscript where it looks at what time it is on the users machine and then goes to a frame in a movieclip (which is being used as a background)
for example:
if the users time is before 6pm it plays frame 1 of a movie clip which has a blue background (suggesting is daytime)
but if the users timesetting is between 6pm-8am it displays a dark background (to suggest its night time)
thanks for any help you can give as I havent a clue
[F8] First Time Flash User - Website Help
Using Flash 8 (Full) - Making a webpage - Experience 1/10 (new)
#1 To cut to the chase my title states the basics, I made my website template for my homepage. Im making this site for part of a school assignment and we are only allowed using 2 pages but I have 5 different pages in flash. SO how do I make it possible for me to just make all the buttons open up the new page on the same html.
Not following me?
I want to make [BUTTON] open a music page while staying at www.Mysitename.com . So I was wondering if someone could help me with the actionscript for the buttons.
That is problem numaro une
#2 Ok I started to make an intro for a site and I was wondering how I get it to move to the sites hoem page after the intro (Do I just make the homepage in scene 2 and intro in scene one?). I also need to know how to make a "Skip Intro" button (actionscript code please)
Night And Day Movie According To User's Time
Hello all
i want to make a movie clip with night and day and load each
state according to the user's time. I use the following code
but it seems to be a problem with browsers. Inside flash it works
perfect but when i test it with Internet Explorer or Firefox it
doesn't load correctly.
ActionScript Code:
st = new Date();
time = st.getHours();
if (time == 0) {
gotoAndStop("night");
}
if (time == 1) {
gotoAndStop("night");
}
if (time == 2) {
gotoAndStop("night");
...etc
Can anybody help me with this please? It's urgent.
What am i doing wrong?
Thanks in advance
Manolis Gerasidis
Login User And Time Duration
I have a Flash project which requires users to login with password for a certian time duration. Can Flash do this or which
Macromedia software can intergrate with in order to perform this job ? This project reqiures users database.
TQ
AS 1.0 First Time User Needs Tech Support A.s.a.p
Okay this is wht i have for my enterbtn which does 2 things.
1. play action sequence (first frame)
2. after the sequence it stops and goes to getUrl (last frame)
(First frame)
on (release) {
play( );
}
(last frame)
stop( );
getURL (“ the site”, _self);
The problem is that it’s reading like a whole a thing. I tried to place the stop( ); and getURL; at the last frame for tht symbol I’m using, yet it treats it like a whole action.
How do I prevent it from doin it that for tht one specific symbol?
Where Should I Start? (1st Time User) [renamed]
hi there!!! i'm a noob in flash 8, i mean totally noob.... if i'm going to learn animations especially using it for web, can i start with actionscript or i must start with the basic motion tweens etc... ??? i need your opinion guys!! thanks...
- jin
Capturing User Activity Time
Hello,
I am developing a research study interface. I need to capture two bits of user information to a db. The user will view a flashing screen of information. After they view the information they will be prompted to answer a Boolean question. I want to capture the answer to the question to a db table and also the amount of time it took for the user to answer. I was thinking of measuring the entire time up until the answer is clicked and then subtract the length of the animation before the prompt.
Using php and xml is an option if you have an idea. All ideas appreciated.
Thank you!
Marc
Entering Real Time Info By User
how do you make a flash demo to where the user can enter info into certain spots. such as his name and address where it askes for that?
Configuring A Clock That User Can Change Time
i want to add a clock to my project that a person can change the time. for example, when the highlight the hour the time or minute they can either type the time they want or can use the up or down button to change the time.
Is there a tutorial for this or can someone tell me the best way to go about this??
Thanks for any suggestions!!!!
First Time Flash User: Button Problems In CS3
I've currently got a button object that I would like to do different things depending on what the mouse does to it. I really don't want to use the Up Over Down method as I'm finding this is limiting what I intend to do.
Currently I would like to fade a button in on mouse over, fade out on mouse off and play a sound and do a simple animation when clicked.
The problem is that if I use the following code:
Code:
Button1.onPress = function()
{
trace("You pressed Button 1");
}
I get this horrible 1119: Access of possibly undefined property....
What lines of code do I have to put in before the code above to stop this from happening?
Thanks very much for your time,
Rhys
Recording User Reaction Time In Flash
I am running several visual cognition experiments using Flash. See there here: http://vacognition.wjh.harvard.edu
Experiments are by definition interactive, in that I am recording data from the people who participate. Currently, I just record accuracy (did they answer a question correctly or not). Many experiments require getting reaction time -- that is, how long did it take them to respond. How accurate can I expect my measurements to be? In the lab, they would be accurate to about 2-5 milliseconds. I know it won't be that good with Flash over the Internet, but does anybody have any idea *how* accurate?
Oh, and please participate in the experiments that are currently running. I need many, many people to participate, especially for this experiment
Chat Room User List And Time Stamp?
Hello,
I have developed a php flash chat with animations and sound and would like to advance it a bit. I am looking for some input as to how to go about adding a user list and timestamp for posts. Here is the chat.....
http://caveart.tv/fc/Chatcave.swf
For the user list, would it be correct in thinking I could use a log in feature and transfer the log in variable to a textfield as a user list. But, then, how would I update that textfield when users left the room?
As for the time stamp, I believe I can just add code to the enter textfield to add a time and date to the post, but any other suggestions welcome.
Thx in advance for any input!
Regards
~GD~
Time Out Feature - Returning The User To The Main Menu?
Hi everyone
Ok im making a kiosk for a college project and i would really like to impliment a feature that times out after xx number of mins the user's mouse is interactive.
Say after 10 mins or no movement a box up box appears asking if the user wishes to continue or shut down the program.
If the user does not press anything the program is reset to the main menu.
If the user is still viewing they can press continue and the program continues.
Is this possible with flash? I dont know any actionscripting so if anyone responds please dumb this down for me lol
thanks guys
All the best
Different Image Every Time User Visits Flash Site
Anyone have a script that will make a flash file load a different image everytime a user visits the site?
I did a search but came up with nada. I use either flash mx, or
flash 5.
Any help would be appreciated.
thanks, Nippy.
Calculate Time User Has Been Viewing Flash Movie
Hi! I am needing to do something similar to what you see here:
http://www.comcast.com/corporate/exp...dinternet.html
*Click on "Pure Broadband Speed" > "Way Faster than DSL"
*Then click on "Where the Rubber meets the road"
I need to know how they are calculating the time the user has been viewing the flash file and once it has caught up, have a running counter while they stay on that "page". Can anyone help me out with that?
Thanks
aswhitehead
Executing An Action Based On User's Clock Time
I know you can do getHour, etc... to make a clock in flash, but I was wondering how to do an if/else kinda statement that executes a certain thing at a specific time(based on user's computer) For example if its 8oClock, I want something to happen, like play a movie clip. Is this possible, and if so can someone help me out with a sample script. Thanks very much~!
Using The User's Time To Display A Message Or Change Colors
I'm trying to find some resources on how to use the user's time to display a message (such as good morning, afternoon, evening) and to change the color of a background to fit the time of day.
Any help would be greatly appreciated! Thanks for looking!
-drumkeyjw
Detecting When A User Has Clicked On A Flash Movie For The First Time
Hi folks,
Is it possible, using Javascript, to detect when a user clicks an area on a flash movie. I could easily set up an event handler if I had access to the swf file, but I'm trying to do this on a youtube embedded clip so my users can add the youtube video to their favorites only once they have clicked on the movie to start it playing
Dean
First Post And First Time Flash User. Questions On Current Project
Hi all, this being my first post, I'd just like to give a big hi to everyone here.
Anyways, on to business...
I've been meaning to get into Flash a long time ago since it seemed like the next logical step for me to move towards. It never really happened though and other than a 45-minute crash course into Flash, I've never used the program until 2 days ago for a current project I'm working on.
So obviously, I have MILLIONS of questions.
First off, here is the project I've been working on:
http://www.spikedproductions.com/pj/flash/main_page.swf
http://www.spikedproductions.com/pj/...main_15_mx.fla
It's a somewhat converted HTML page into a Flash interface.
OK, first off, I have TONS of layers. I'm doing this to be safe, but I'd like to know if I've created just a horrid mess or if this is the way to go.
I have a general idea of the way the timeline works since I've done other timeline-ish work in the past. My major concern is that I'm doing this correctly. Sure I can get it to work, but I don't want to be picking up habits that are going to bite me the in ass later on.
One of my main issues is looping. I have a good idea how to loop one thing, but how can I loop one thing within another loop.
I've seen it done before but I'll be damned if I can remember how to set the click-able area for buttons, specifically text. Does anyone have the answer for this?
And lastly, if you've taken a look at the files I've sent you, it's only one page. What are my options for linking pages together? When would it be best to have a site all be one .swf file and when would it be best for each page to be separate .swf's?
Thanks everyone, I hope to hear from lots of ya!
Not Repeating Flash Movie Every Time User Returns Home?
I have the flash movie on the home page and I want it to play only one time while the user visits the site. If they go to other pages and come back to home I don't want them to have to watch the movie again. I want it to be static on the last frame. They would have to completely leave the site then return in order to replay. What do I need to do? (FlashMX)
Thanks!
strummer
HOW TO : Play Animation ONLY In Index Page Or When User Visit 1st Time
Hi all,
I'm creating a banner navigation with quick animation and I just want to PLAY the animation when user visit the page for a first time OR only in homepage (index page). Basically when visitor go to another pages, they won't see the "banner" animation over & over again. How to accomplish this ?
Thanks in advance !!
How To Make SWF To Reload From The Start, Every Time User Reload/revist The Page.
Hi,
How can i make my flash SWF file to reload from the start every time when a user visit the site.
Like i dont want it to be saved in cache, i want to reload it from the start every time, because i have seen that once it is saved into cache, it just starts from the cache when we visit the site. So, i dont want it, i want it to reload again and again from the server whenever user visits.
I used the following meta tag:
<meta http-equiv="pragma" content="no-cache">
But it seems to be not working as the way it should. As when i re-load the page, the preload bar shows 100% loaded.
ANy idea???
Amir
User Levels, Cell Phones, And User Registration, Plus Cookies
I need to quote a client on the following and need to know how much work is involved, ie hours. The programming may be done in PHP (unless its easier to do it all with AS), and the so the .swf needs
to talk to other files on the server.
Requirments are as follows:
1. contact form that: validate form, generate email, generate SMS for cell phones
2. registration form that: validates form, checks record, stores record if new, creates and sets cookie so they don't have to login next time, re-directs to appropriate page, sends email confirmation, deletes record if bad.
3. "extranet": validate i/p, check group (user level), send to user group destination
I just need to know if this is a simple couple thousand dollar thing or a complex many thousand dollar thing.
I can't guarantee anything (I don't write the cheques around here), and depending on the complexity of it we may be looking to subcontract some of it out.
Email me directly at: jonny@northstudio.com if you can be of any help.
Help With The SWFObject
Hi there,
Please, can someone help me, how to use the SWFObject for my HTML page that contains 2 flash objects and one media player object .wmv. The standard procedure below work just fine for one flash object, but when i try to use it for multiple objects in one web page, it doesn't work! May be i am missing something or it is just a more complicated code! Please, help! Thanks in advance!
<script type="text/javascript" src="swfobject.js"></script> /in the head of the html page/ and:
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("movie.swf", "mymovie", "500", "100", "6", "#003399");
so.addVariable("variable", "varvalue");
so.write("flashcontent");
</script>
Swfobject
I am using the swfobject with actionscript to automatically update users who have old versions of flash. The problem is, when the user's flash player has been updated to flash 9, the page closes and opens in a new window. Does any one know how i can make it refresh the existing window?
SWFobject Help
Okay, I downloaded the SWFobject but I have no idea how to use it lol. I tried to look for help in any readme's as well as the URL listed in the sticky, but came to no conclusion.
Now that I have the files, how do I use it so my site's visitors don't see the stupid box around my flash movies?
Thanks!
SWFObject
Hey Guys,
I'm no expert at all when it comes to swfobject. I've noticed there's a bug (which many others have experienced) when updating the Flash player and using IE7. I updated the Flash Player yesterday, then went to my site (where I host a lot of swfs), and all the flash files didn't show, prompting me to install flash, but I already have it. Anyway, I'm aware that it's a bug that only occurs in IE7 from what I've read.
So I've been trying to get a workaround for this. I went to numerous sites after the update and noticed many big sites prompted me to install flash. However, one thing I discovered, is I went to youtube and their video player showed up perfectly! I checked out their swfobject code and saw the following:
<script type="text/javascript">
// <![CDATA[
writeMoviePlayer("playerDiv");
var to = new SWFObject("/version-check.swf", "checker", "0", "0", "0", "#FFFFFF");
to.write("checkerDiv");
// ]]>
</script>
Notice the "0" for flash version detection? So it looks like they don't even bother detecting people Flash versions?
Anyway, I tried that code for the flash files on my site, and it worked perfectly. All the flash files showed up in IE7 even after that buggy flash player update.
So I guess my question is, is it safe to do it the way youtube does, to where it doesn't bother checking people's flash version? Or would my flash files look all weird to someone who has an old version of flash player?
I'm working on a very large site that will be launching soon, so I want to make sure I'm implementing the best possible code for users.
Thanks for any advice!!
Sean
SWFObject
Hi,
I'm trying to use the expressinstall feature from SWFObject but without success.
Basically under any browser, when the flash player plug-in is not installed it displays a puzzle pieceallowing you to download the flash player plug-in.
as i use SWFObject, the expressinstall should allow to do it, but there is not so much help about it and i'm not able to make it work.
so how can i setup it to allow web users to download flash player if the browser does not have it (as plug in) ?
thanks a lot,
A.
Help With SWFobject
Hello, I'm somewhat new with flash. I'm using SWFobject to insert my flash movie, but I can't figure out how to get it to read dynamic text from:
so.addVariable("customtext", "Lets get this party started!");
I tried inserting a symbol, but it would not let me add a variable name to it. A little help please? Describing what to do step by step would be real helpful.
SWFObject Help
Hello,
I am more of a designer than a programmer so be nice. I am trying like everyone else to get rid of the dreaded grey box that comes up around a flash animation in internet explorer , and have found how to use the swfobject.js and link it to my html page that contains the flash animation.
I design the animation in flash and then put it into dreamweaver. The problem I am having is that when you specify the parameters in the javascript used to embed the flash file before you delete the flash file code, you can usually get all the movie name, width, height id bgcolor etc, but my original flash file code is missing the id, the version of flash and the bgcolor.
Below is my original flash file code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
SWFobject
I tried using the SWFobject and it works fine except one problem, my music player which automatically plays on startup plays two songs at once, and when I stop the music player the other song continues to play in the background.
The player Dynamically loads the music from and xml file
Any advice?
SWFobject
Yet another problem with detection (expressinstall):
http://www.rccm.org/smallgroupreport/
Notice the flash ad on the right hand side,
then click on "episode 1"
A movie is suppose to play below where it says "Small Group Report" (I have detection set to "10"), instead the moviw plays in space where the banner is supposed to be and the banner is gone.
I think the error only shows in Safari.
The banner ad is a Server Side include that also has detection
Thanks
Steven
AS3 And Swfobject.js 1.5
Hi, I'm having problems getting my AS3 swf to run using swfobject.js 1.5. Using a different version of swfobject.js is not an option. When I navigate to my page in Firefox 3.0 or IE7, swfobject writes its code to my div tag, and an instance of flash player loads into that space with the expected dimensions. However, my swf doesn't play. There is a warning message written to Firefox's error console: "Expected ':' but found 'undefined'. Declaration dropped." Some Googling revealed that this warning is related to a style issue, which didn't affect the playability of swf's for those users who reported it. I learned that some version(s) of the Flash authoring environment include(s) "SWFObject" as an option in publishing settings, but I don't see this option in CS3. Are there any known incompatibilities between AS3 and swfobject.js 1.5? Is there some pubilshing setting that would resolve my problem?
SWFObject
I use FlashObject.js (now > SWFObject.js <) for displaying Fash content on my > site <.
I've got two questions:
1) If the user doesn't have the Flash version that's needed, he ISN'T redirected to plugin site automatically as it is when using classic <OBJECT>/<EMBED> tags!
Instead - nothing happens; the Flash on the top of the page simply doesn't load.
What am I doing wrong?
Does anyone have an example of configuring the parameter for automatic Flash plugin install?
I tried to play with attributes like this, but doesn't help:
Quote:
fo.setAttribute("codebase", "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0");
2) I use the > SWFObject Publish Profile Extension < for a Flash.
It works OK, but I'd like to have a <noscript> version of Flash inside the <div> tag (so if the javascript is disabled, it still displays the OBJECT/EMBED version of Flash).
So if anybody developes the version with <noscript>.. it would be of a great help!
Help With The SWFObject
Hi there,
Please, can someone help me, how to use the SWFObject for my HTML page that contains 2 flash objects and one media player object .wmv. The standard procedure below work just fine for one flash object, but when i try to use it for multiple objects in one web page, it doesn't work! May be i am missing something or it is just a more complicated code! Please, help! Thanks in advance!
<script type="text/javascript" src="swfobject.js"></script> /in the head of the html page/ and:
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("movie.swf", "mymovie", "500", "100", "6", "#003399");
so.addVariable("variable", "varvalue");
so.write("flashcontent");
</script>
FP9 With Swfobject 1.5
Is this known to be incompatible? I did some AS3 stuff over the weekend, copied in one of my SWFOb1.5 HTML pages, and nothing, changed the player number to 9 etc, it acts as if the movie is loaded but nothing happens, just a blank background, you right click and the flash has loaded, just not working.
Very strange.
|