Help with my flash Nav Bar? [easy stuff]
hey guys, looking for a little bit of help with some simple
flash here, I have a flash banner for a website, there are 5
seperate buttons, the instance names are:
home_btn
about_btn
equip_btn
work_btn
contacts_btn
what code am i looking for to open each new page in the SAME
browser window that the index page first opens in?
i have this code for it right now but it's not working
because of the obvious conflicts:
var request:URLRequest = new URLRequest("
http://www.fhwm.ca/index.shtml");
home_btn.addEventListener(MouseEvent.CLICK,goURL);
function goURL(event:MouseEvent){
navigateToURL(request);
var request:URLRequest = new URLRequest("
http://www.fhwm.ca/about.shml");
about_btn.addEventListener(MouseEvent.CLICK,goURL) ;
function goURL(event:MouseEvent){
navigateToURL(request);
var request:URLRequest = new URLRequest("
http://www.fhwm.ca/equipment.shml");
equip_btn.addEventListener(MouseEvent.CLICK,goURL) ;
function goURL(event:MouseEvent){
navigateToURL(request);
var request:URLRequest = new URLRequest("
http://www.fhwm.ca/work.shml");
work_btn.addEventListener(MouseEvent.CLICK,goURL);
function goURL(event:MouseEvent){
navigateToURL(request);
var request:URLRequest = new URLRequest("
http://www.fhwm.ca/contacts.shml");
contacts_btn.addEventListener(MouseEvent.CLICK,goU RL);
function goURL(event:MouseEvent){
navigateToURL(request);
any help would be much appreciated
You should eliminate what you know to be obvious conflicts
and then repost your code. Someone might be wasting their time
telling you something you already know.
For instance, you cannot declare the same function or
variable more than once, as you repeatedly do. Either each button
needs its own uniquely named/dedicated handler function and URL
(request) variable OR you need a handler function that detects
which button is the target of the event and assigns the URL to the
request variable via a switch or other conditional code which is
then used to process the page loading.
Similar Messages
-
I need help with a flash nav and switching pages!!!
is there anyway to point the browser to play a swf file from
a specific point (labeled frame) in the movie after switching
(html) pages?
basically it's a nav bar that needs to be played from the end
of the movie after the first opening (html)page.
I know i can do this with frames, but i would love to avoid
that if possible. and the only other option i know would be to have
2 swf files. there has to be a "on(load) /gotoandplay() or some
combination to make this work, it seems to be too close to not be
possible.
thanks for all the help.SHouldn't be too involved. Just set a variable with JS (or
whatever
language you can use, I used JS simply b/c you stated HTML
pages, not PHP or
ASP), then in your flash movie, have your first frame do a
basic if/then or
do a switch (if it's available in AS).
if ($var==1){
gotoAndPlay (1,1);
elseif ($var--2){
gotoAndPlay(1,2);
etc.
Alternately, you could set a session variable, but you would
have to have
dynamic pages to do that.
"Dminadeo" <[email protected]> wrote in
message
news:elkjne$gei$[email protected]..
>
quote:
Originally posted by:
Newsgroup User
> You could have your pages set a value on them, and read
that value into
> flash.
>
> Ie, say your value is set via javascript. I would
imagine you could then
> pass that to yoru flash movie, which would reference the
place to start
> before actually starting the movie.
>
> HTH,
>
> Jon
>
>
> that sounds a little more involved than i thought it
would be, but i'm
> willing
> to give it a shot. any other pointers?
> thanks again
>
>
> -
Can You Help with an iWeb Nav Bar Not Displaying Problem?
Hi Everyone,
I have had a website that I created with iWeb and have successfully hosted with me.com (Mobile Me) for the past 8 months. I added a new page yesterday and ever since then, the Nav Bar has stopped appearing on any browser. This happens on every page of my site where there should be a Nav Bar.
I brought up the Safari "Activity" window and when I load one of my pages in, error messages pop up that may hold the clue for someone helping out. (I'm not sure if this has anything to do with the problem.)
All the "http://..." components (not shown) load in okay, but the following "https://..." components below are followed by a "bad server certificate" error message.
https://www.me.com/st/1/sharedassets/2.0.4/Common/Scripts/Site/iWebImage.js
https://www.me.com/st/1/sharedassets/2.0.4/Common/Scripts/Site/iWebSite.js
https://www.me.com/st/1/sharedassets/2.0.4/Common/Templates/Layered%20Paper/Laye redPaper_01.jpg
https://www.me.com/st/1/sharedassets/2.0.4/Common/Templates/Layered%20Paper/Laye redPaper_04.jpg
No, I haven't tried deleting the page I created yesterday. I'm quite proud of it and would hate to can it. I will, if I have to, but before then, I was hoping someone else familiar with this problem had a solution they could share.
Thanks.Hello
I am having the same problem. I have had my website with mobile me for nearly 2 years and have never had a problem.
However my Nav Bar has disappeared on the published website. When I go into iWeb it is there. I have made some changes and republished it - a few times - and when live you can only get to the Home page, there is just a dot where all the other pages used to list.
I brought up the Safari Activity window and it tells me that only 13 of 15 items are there. It doesn't show any other errors.
I would love some help on how to fix it.
Thanks
http://www.allthingsslimey.com.au -
Newbie - Help with Fireworks CS5 nav bar
I am new to Fireworks. I am using Fireworks CS5. I need help with creating navigation bars and menu. Any tutorial or tips is greatly appreciated.
Thank you.You'll find a tutorial named "Create a basic navigation bar" in the Fireworks help files.
-
Help with a flash html inserting into DW
Hello,
I have created a enquiry section in flash for one of my html DW pages for my site. When I publish the flash doc ti creates a html page (Contact.html). When I open the flash html page in DW or upload it to my server, everything works fine. I recieve an email at my prefered destination etc etc. But as its only a section of my contact page of my website i need to insert it into my site page (get_in_touch.html) soon as i try and take all the stuff from contact.html and insert it into a div in my get_in_touch.html it doesn't respond when the submit button is pressed..... Can someone please help!!!!!
DanThanks for all your help. I've managed to sort out the problem, still not
sure what it was.... My sites live now.
Just one question for you if you dont mind.
The page which has the flash on it (yes this one again!) Well if someone
goes to the page with out having flash player installed on their machine,
i'm looking for some script to detect that there computer doesn't have
Flash and redirect them to another html page I've created.
Would really appreciated any advice you may have.
many thanks,
Dan
pziecina
<[email protected]>
To
09/09/2009 16:40 Daniel Herrington
<[email protected]
m>
Please respond to cc
clearspace-571537347-50
[email protected] Subject
ums.adobe.com Help with a
flash html inserting into DW
Hi
Somewhere above your tag, you will have a line similar to this - Also in your tag the swf file -
These are the files that I said may be wrong or missing.
However if you just edit the flash generated page and include the items you
require in this, and maintain the same file position, you should have no
problems,
PZ -
Help with connection flash builder 4.5 to remote php database
help with connection flash builder 4.5 to remote php database
Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader/Autoloader.php' (include_path='.;C:\php5\pear;D:/webserver/apache2/htdocs/ZendFramework/library') in D:\webserver\apache2\htdocs\giga\first-debug\gateway.php on line 27
-
Help with Dreamweaver flash image viewer
Hi all
Would like some help with Dreamweavers Flash image viewer.
Everything is working properly except when i try to link a picture, and have set the imagelinkTarget value to _blank the link always navigates away from my site and does not open in a new window.
I have tried all the values for the imageLinkTarget and nothing works..
Here is my code
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0, 28,0','width','190','height','190','src','images/ad1','quality','high','flashvar s','flashlet={imageLinkTarget:\'_blank\',captionFont:\'Verdana\',titleFont:\'Verdana\',sh owCo ntrols:false,frameShow:false,slideDelay:5,captionSize:14,captionColor:#000000,ti tleSize:10,transitionsType:\'Fade\',titleColor:#333333,slideAutoPlay:true,imageU RLs:[\'images/image1.jpg\',\'images/image2.jpg\',\'images/image3.jpg\',\'images/ image4.jpg\'],slideLoop:true,frameThickness:2,imageLinks:[\'http://www.bowlsaustralia.com.au\',\'http://www.smh.com.au\'],frameColor:#333333,bgColor:# FF9966,imageCaptions:[\'Bowls Australia\',\'Sydney Morning Herald\']}','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFl ash','flash_component','ImageViewer.swc','movie','images/ad1' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0, 28,0" width="190" height="190">
<param name="flash_component" value="ImageViewer.swc" />
<param name="movie" value="images/ad1.swf" />
<param name="quality" value="high" />
<param name="FlashVars" value="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verd ana',showControls:false,frameShow:false,slideDelay:5,captionSize:14,captionColor :#000000,titleSize:10,transitionsType:'Fade',titleColor:#333333,slideAutoPlay:tr ue,imageURLs:['images/image1.jpg','images/image2.jpg','images/image3.jpg','image s/image4.jpg'],slideLoop:true,frameThickness:2,imageLinks:['http://www.bowlsaustralia.com.au','http://www.smh.com.au'],frameColor:#333333,bgColor:#FF9 966,imageCaptions:['Bowls Australia','Sydney Morning Herald']}" />
<embed src="images/ad1.swf" quality="high" flashvars="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:' Verdana',showControls:false,frameShow:false,slideDelay:5,captionSize:14,captionC olor:#000000,titleSize:10,transitionsType:'Fade',titleColor:#333333,slideAutoPla y:true,imageURLs:['images/image1.jpg','images/image2.jpg','images/image3.jpg','i mages/image4.jpg'],slideLoop:true,frameThickness:2,imageLinks:['http://www.bowlsaustralia.com.au','http://www.smh.com.au'],frameColor:#333333,bgColor:#FF9 966,imageCaptions:['Bowls Australia','Sydney Morning Herald']}" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFl ash" type="application/x-shockwave-flash" width="190" height="190"> </embed>
</object>
</noscript>
any help would be greatly appericated
KenI just googled and found lots of folks with the same problem. One fellow wrote this as a soluton:
"All you have to do is
remove the values from the imageLinks in the flash element. That
should fix it."
Does it?
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
# sign in address bar is messing with my spry nav bar. Please help
Hi everyone,
I'm using DWCS3 on a Mac book OS X Leopard 10.5 and I have set up MAMP aswell.
I've got a really simple information site and I'm using Spry navigation bars, all the links work fine in MAMP for all of my buttons except on one page.
When I try to press the buttons on the navigation bar, in the address bar a hash sign will appear next to the address for the page;
e.g. ../innocent/case.html (without pressing buttons in nav bar)
../innocent/case.html# (after pressing button in nav bar)
This stops the nav bar performing on that particular page and you can not navigate the site.
MAMP is using Firefox as the start page, when i use the preview in browser facility in DWCS3 I have the same problem with Firefox, however the problem does not seem to be occuring in Safari or Opera.
I created my page from a template and have checked the links are O.K. I don't undrestand why it works on all the other pages except for one.
Could somebody please help me out?When I try to press the buttons on the navigation bar, in the address bar a hash sign will appear next to the address for the page;
e.g. ../innocent/case.html (without pressing buttons in nav bar)
../innocent/case.html# (after pressing button in nav bar)
This usually occurs when the link is as follows
<a href="#">my link</a>
But without seeing your code for case.html it is very hard to judge,
I hope this helps.
Ben -
Can anyone help with my flash player???
i need help with this there isnt any sound coming from my
flash player and this confuses me becxause the video plays and it
only happend to the flash player not my windows media player or
anything
does anyone know anything about this???yah this is really confuing me since its only the flash
players and my windows player works i mean i have all of the
downloads and stuff so idk what to do its happened several times
and went back to normal within a few hours or days but this time
its been a few weeks and its kinda gettin anoying -
Help with Installing flash error- metafile cannot be loaded
I read the forum on this but it ended last year and there was no response to some recent questions on this and the direct email to the Adobe rep. on there got no response.
I am having this problem with installing Flash- it gets about 30% of the way and then a message comes up that says the metafile cannot be loaded.
I am running 10.7.5 on Mac, all browser software is current. I use both Safari and Chrome. After it said Flash was out of date I tried to update but got the metafile error. So I uninstalled Flash to install it fresh but the same error came up. I tried everything recommended from the forum. I also did all the steps from the help list direct from Adobe ( deleting Flash files, folders, rebooting, etc.) The offline link Adobe provides says the "file cannot be found" so I can't download that either. So I tried the online link download, but even after doing all the steps in order etc. I still get the error when I try to install it.
I have no firewall and have no virus software running. I also tried the direct offline links that others have provided from 2013, (unfortunately they are old) in both clicking on them and also downloading by right click but they are dead links and even the download for it has no content.
Any help that is more recent than last year? If this is in the wrong place, apologies. New to the forum.I tried all solutions but one posted in adobe support. I am local administrator but IE security settings are set by group policies and buttons in tools security setting are grayed out.
After three days with "The ActiveX control for Flash Player could not be registered" message I tried registering the activeX control manually.
Bingo! that made the trick.
So open a DOS window, type "regsvr32.exe C:\WINDOWS\system32\Macromed\Flash\Flash10d.ocx" -first check if this directory exists and contains the Flash10d.ocx (no quotes needed) and you should receive a confirmation that it registered correctly.
I must say that I've tried so many ways that I cannot repeat the correct order before this has worked ;-(
Hope it works for you all -
Need Help with a Flash Web Project
Hello, everyone. I am trying to use Flash to make a two-step
system. I want the flash document to, first, allow a person to
upload multiple image files and then, second, for the flash
document be able to create a slideshow with the uploaded images and
fade in and out from each image until the slideshow is over. I want
it to be where the flash document creates its own slideshow with
the images that are uploaded in the first step that I mentioned. I
want it to do it completely on its own so I need to know how to
give it the proper AI so that it can do this task.
So, are there any tips that anyone has on how to do this? Can
anyone tell me exactly how to do this? I really need help with this
for my new website project. Thanks in advance, everyone!The problem with the text not appearing at all has to do with you setting the alpha of the movieclip to 0%. Not within the movieclip, but the movieclip itself. The same for the xray graphic, except you have that as a graphic symbol rather than a movieclip. To have that play while inhabiting one frame you'll need to change it to a movieclip symbol.
To get the text to play after the blinds (just a minor critique, I'd speed up the blinds), you will want to add some code in the frame where you added the stop in the blinds animation. You will also need to assign instance names for the text movieclips in the properties panel, as well as place a stop(); in their first frames (inside).
Let's say you name them upperText and lowerText. Then the code you'd add at the end of the blinds animation (in the stop frame) would be...
_parent.upperText.play();
_parent.lowerText.play();
The "_parent" portion of that is used to target the timeline that is containing the item making the command, basically meaning it's the guy inside the blinds telling the guy outside the blinds to do something.
You'll probably want to add stops to the ends of the text animations as well.
If you want to have the first text trigger the second text, then you'd take that second line above and place it in the last frame of the first text animation instead of the blinds animation.
Note, on occasion, undeterminably, that code above doesn't work for some odd reason... the animation plays to the next frame and stops... so if you run into that, just put a play(); in the second frame to help push it along.
PS GotoandPlay would actually be gotoAndPlay, and for the code above you could substitute play(); with gotoAndPlay(2); -
I'm having trouble with a Spry Menu Bar not displaying
correctly in Internet Explorer, while it displays fine in every
other browser I have available. I've done some searching on these
boards, but the queries I've found with the same type of problem
each has a knowledgeable person editing the code for the
poster...and I can't seem to make heads or tails of it.
So, below is my link. What you'll see if viewed in Explorer
is that the "Clinics" listing and the "Services & Specialties"
listing are each on the same horizontal line, rather than vertical
like the rest of the menu. If anyone can help me in correcting this
problem, I'd be very appreciative.
Thanks in advance.
http://www.chambershospital.com/temp/about.htmlHello,
You might try removing all of the <div> tags you
inserted in the menu.
This can happen if you select text in design view and use the
"align" icons
in the properties window instead of using CSS to align
things.
For example:
<li>
<div align="left"><<****REMOVE THIS
<a href="clinics.html"
class="MenuBarItemSubmenu">Clinics</a>
<ul>
<li><a href="clinic.html">Chambers
Clinic</a></li>
<li><a href="clinic7.html">Scenic 7
Clinic</a></li>
</ul>
</div><<*** REMOVE THIS
</li>
So it looks like this:
<li><a href="clinics.html"
class="MenuBarItemSubmenu">Clinics</a>
<ul>
<li><a href="clinic.html">Chambers
Clinic</a></li>
<li><a href="clinic7.html">Scenic 7
Clinic</a></li>
</ul>
</li>
Repeat for all the other <div align="left"> and
</div> tags in the menu.
Take care,
Tim
"Zim74" <[email protected]> wrote in message
news:fv4vc0$r0t$[email protected]..
> I'm having trouble with a Spry Menu Bar not displaying
correctly in
> Internet
> Explorer, while it displays fine in every other browser
I have available.
> I've
> done some searching on these boards, but the queries
I've found with the
> same
> type of problem each has a knowledgeable person editing
the code for the
> poster...and I can't seem to make heads or tails of it.
>
> So, below is my link. What you'll see if viewed in
Explorer is that the
> "Clinics" listing and the "Services & Specialties"
listing are each on the
> same
> horizontal line, rather than vertical like the rest of
the menu. If
> anyone can
> help me in correcting this problem, I'd be very
appreciative.
>
> Thanks in advance.
>
>
http://www.chambershospital.com/temp/about.html
>
> -
Help with spry tabbed menu bar
Hi.
I need help with the spry tabbed menu panel (horizontal) It
works fine in dreamweaver ( pressing f12 ) but when i goto my
website www.so-nouveau.com it puts it all over and not in boxes
either just the writing.
I ahve double checked all uploading is correct and files are
located but it wont work.
Here is what i did >
new> html> 1 column elastic,centered. i have not
changed any other settings at all. Do i need to change the doc type
or css layout in the drop down menus before starting (doc
type=xhtnl 1.0 transitional and layout css=add to head)
I am still on cs3 , does this matter ? or is 4 easier ?
any help out there guys is much appreciated but please bear
in mind that i am not a web designer or pc expert at all , this is
just me building my own site , until nowit has been an enjoyable
experience but grrrrrr when it dont work
Thanks
Jayso-nouveau wrote:
> Hi.
> I need help with the spry tabbed menu panel (horizontal)
It works fine in
> dreamweaver ( pressing f12 ) but when i goto my website
www.so-nouveau.com it
> puts it all over and not in boxes either just the
writing.
Please post links directly to the page having an issue. I saw
no tabs on the home page, but I noticed that there is a link on the
bottom of the page to this page that has a Spry tab on it:
http://www.so-nouveau.com/test%208.html
> I ahve double checked all uploading is correct and files
are located but it
> wont work.
That page refers to a Spry JavaScript file and a Spry CSS
file, which should be at the following locations but are not
present:
http://www.so-nouveau.com/SpryAssets/SpryTabbedPanels.js
http://www.so-nouveau.com/SpryAssets/SpryTabbedPanels.css
Make sure you upload the SpryAssests folder and see where
you're at after that.
Danilo Celic
|
http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert -
Help creating drop down nav bar
Hi. Can anyone pls advise what software I use to create a
drop down nav bar like that which is at the top of the adobe
homepage. I have Dreamweaver MX, Flash MX 2004 and Fireworks MX.
Will any of these do the job or do I need something else?Try the menu systems from Project Seven.
http://www.projectseven.com
alex
tonyvw wrote:
> Hi. Can someone pls advise me which software to use/to
learn to create a drop
> down navigation bar at top of my web page, like the one
at top of adobe's home
> page. I have Fireworks MX, Flash MX and Dreamweaver MX.
> -
Help with building flash files for streaming
I filmed a product demonstration for a client who wanted to put it on his website. I edited the footage in PremPro CS4 and exported to Media Encoder as F4V file format. After encoding imported footage into CS4 Encore, created timeline, chose, Flash from Format and swf for output. Progressive Download which allows video to begin playing as it is downloaded (I believe), chose destinations and settings. After transcoding I had 1 file folder, Sources that contained the following files _PGC_Bpge_entryPoint_Bbp_1.f4v, and then 3 separate files, *not* in the file folder called Sources. They are
AuthoredContent.xml, FlashDVD.swf, and Index.html.
I submitted all files to client who gave them to web designer. Designer said these were the wrong files and he could not use them. I called designer and basically he said I didn't know what I was doing. I told him he needed all files to put up the flash video. Anyway, am I missing something, doing something wrong? Are there other files he needs? He said he only needed 1 file. Or is it the designer? I'm not thin skinned so if it's me please tell me so, so I don't make the same errors. Thanks. All suggestions/comments are appreciated!<The client wants a control player, i.e. play, stop, pause, etc., that's it, so the viewer can simply provide the function themselves. This is similar to youtube, blogger, etc.
The web designer can use what you provided, which does what you describe the client wanting. But the web designer may need to integrate what Encore provided onto a web page, and the client may not have made the expectations clear and may not know what is needed. As I said, the Encore to flash player gives almost no options for the player controls and colors etc may be problems.
<Encore did encode the f4v file. When I exported from PremPro what preset should I hve chosen -- mpeg2 DVD, flv/f4v. So the only file he needs in addition to what I gave him is the original f4v file?
I don't know whether the f4v you exported from Premiere was progressive. The f4v from Encore might be fine, or you might need to export from Premiere again.
The other issue is that some "player" with controls needs to be provided by you or the web designer (who may have an issue with the client not getting the designer to lay all this out to begin with). There are several threads about "flv players" you might check out. Does the client have video on his site already? If so, you can figure out what they are using, and it will help with your process.
should I have chosen "flash server" instead of "progressive". i must admit i never did this before. other clients just have me post it to youtube and provide them with embed code.
It depends on what they want.
Maybe you are looking for
-
Not Deploy Identity Manager error SessionFactory.getLocaleInfo
I need deploy IM (db oracle) with Appplication server 8 error: java.lang.NullPointerException com.waveset.session.SessionFactory.getLocaleInfo(SessionFactory.java:947) com.waveset.ui.PageInformation.getLanguageFlags(PageInformation.java:295
-
iChat always worked on my friends computer until the latest update to 10.5.2 and even after the graphics update for his computer. iChat preferences in video says this computer does not support video conferencing. He is using AIM through AOL and it wo
-
Limiting the amount of space available for time machine
How do I limit the amount of space time machine is allowed to use on my 500gb external hard drive? I need the rest of the space for other stuff. Is there a way to partition the external hard drive or make time machine think there is only a certain am
-
How to display the Standard Text (SO10) based on condition in adobe forms
Hi, I have created the Standard texts (through SO10 tr.code) of 4 plant addresses. In the Layout of adobe form, i want to display any one plant address based on the plant number (as a input) and the rest 3 standard text need to be hide. i tried in Fo
-
I'v posted this thread in the [SOA Suite forum|http://forums.oracle.com/forums/thread.jspa?threadID=912083&tstart=0] in the first place, but maybe this forum is a better places, for this question. We're experiencing a lot of inconveniences using the