Website Actionscript Help Needed
So this is how it goes...I've already made my website, I have
all the pages and everything made BUT...I have a few bugs. The
first starts at my login page, it is a universal login, so it has 2
usernames and passwords, I have the code for it but, It does not go
when I press the submit button. The next is when I get to my actual
website, all the webpages are all in different scenes. I type in
the code: on (press) {gotoAndPlay ("1","Corp") ; } but it just goes
the scene up next. I have no clue what is wrong here. I also have a
flaw with my loading page, whether than just loads fast or not, the
loading movie does not loop until the movie is loaded. This page is
also part of the movie. Can anyone help? The web address is:
http://www.freewebs.com/cliop/
The code I am using on the button in my intro is:
on (press) {
if (username == "Cliop" or username == "X844495") {
if (password == "*********" or password == "*********") {
if (username== "Cliop" & password== "*********" or
username== "X844495" & password== "*********") {
gotoAndPlay("1", "Main");
I've tried a new code for my submit button:
on (press) {
if (username === "Cliop" or username === "X844495"); {
if (password === "moocowman" or password === "shadowman"); {
if (username === "Cliop" & password === "moocowman" or
username === "X844495" & password === "shadowman"); {
gotoAndPlay("1", "Main");
else on (press){
if (username !== "Cliop" or username !== "X844495"); {
if (password !== "moocowman" or password !== "shadowman"); {
if (username !== "Cliop" & password !== "moocowman" or
username !== "X844495" & password !== "shadowman"); {
stop();
I still have problems, I type in the right username &
password, yet I don't enter the website. It keeps giving me this:
**Error** Scene=Intro, layer=otherpages, frame=212:Line 11: 'else'
encountered without matching 'if'
else on (press){
Can anyone help me? I'm also still having problems with the
navigation.
Similar Messages
-
Hello group,
I am hoping someone is willing to take the time to help a new
Flash user. I have a website template I need to customize and get
rid of all the generic text and pictures but I am not sure the
easiest way. I am sure I am going about it the hardest way possible
without much luck. I have all the .fla files and the site works
fine in it's generic form. I have figured out how to update just an
ordinary picture but I can't figure out how to change the picture
of a library bitmap when it has a background. I can replace the
entire thing but I want to keep the background image the picture is
on. It is a custom shape, color etc. designed just for this site. I
looked for just an instance of the picture but it only appears in a
bitmap combined with the background as far as I can tell. I do have
the .PSD files and I am pretty sure I can do it that way but I am
not sure if Photoshops "publish for web" will give me my flash site
or just an HTML version. I am sure there is something I am
overlooking. Any help for a newbie would be greatly
appreciated.The photos are taken from a XML file. Open the XML file flashmo_247_photo_list' in dreamweaver and look at the code it'll be easy to fiqure out if you have ever done any sort of HTML coding.
Just incase you have'nt look for Example below taken from the xml file which was provided with the .fla file
"<photo>
<thumbnail>s_photo_003.jpg</thumbnail> Change the image name for a thumbnail here i.e. directoryname/imagename.png etc
<filename>photo_003.jpg</filename> Change the image name for a the large image here i.e. directoryname/imagename.png etc
<tooltip>Photo Title 03</tooltip>
<description><![CDATA[<p class="subtitle">Photo Title 03 goes here</p><p>In velit urna, <u>convallis id</u>, pharetra in, iaculis sit amet, mi. Praesent consectetur imperdiet mauris. Suspendisse at pede vel lorem pulvinar laoreet. Etiam et neque. Donec dapibus viverra est.</p><p><span class="note">This text is dynamically loaded from the external XML file. This textfield supports HTML and CSS.</span></p>]]></description> Here you have the option to have a discription about the image i usually just have the name of the image.
</photo>" -
Actionscript help needed for website
Hey everyone,
I am just beginning to learn the basics of creating web sites in flash. I posted this in site design a while ago, but no one has responded yet and I need help asap.
I have been following a tutorial and have it done pretty well, but they only cover one main button, and I am at the point where I need several more, but I am doing something wrong.
The tutorial is at this page: http://www.flash-game-design.com/flash-tutorials/advancedWebsite-flash-tutorial- 3.html
You can skip to the end and download the .fla if you want.
What I want to do specifically is to add probably 4 other main buttons that can also have drop down menus. Please be as specific as possible because the extent of my code knowledge isn't very far.
Thanks in advance
The code for the main page is as follows:
menu = ["About", "Bio", "Contact"];
this.createEmptyMovieClip("content", 1000);
this.attachMovie("sectionBackground","mask",1001);
mask._y = content._y=208;
mask._x = target=68;
content.setMask(mask);
content._x = -1000;
imageScrollSpeed = 5;
xStart = 125;
yStart = 51;
bWidth = 79;
bHeight = 17;
interval = 50;
countDown = menu.length;
menuOpen = false;
theTime = 0;
buttonScrollSpeed = 2;
for (var i = 0; i<menu.length; i++) {
var section = content.attachMovie("section_"+menu[i], "section_"+menu[i], i+100);
section._x = section._width*i;
var b = this.attachMovie("subButton", "subButton"+i, countDown);
countDown--;
b.stop();
b._x = xStart;
b._y = ySwtart;
b.interval = interval*i;
b.target = yStart+(bHeight*i);
b.txt = menu[i];
b.pos = target+(i*-section._width);
b.onPress = function() {
target = this.pos;
closeMenu();
this.gotoAndStop(1);
b.onRollOver = function() {
this.gotoAndStop(2);
b.onRollOut = function() {
this.gotoAndStop(1);
b._visible = false;
function closeMenu() {
for (var i = 0; i<menu.length; i++) {
var b = this["subButton"+i];
b._visible = false;
b._x = xStart;
b._y = yStart;
menuOpen = false;
mainButton.onPress = function() {
if (!menuOpen) {
theTime = getTimer();
menuOpen = true;
for (var i = 0; i<menu.length; i++) {
_root.main["subButton"+i]._visible = true;
} else {
closeMenu();
mainButtoncopy.onPress = function() {
if (!menuOpen) {
theTime = getTimer();
menuOpen = true;
for (var i = 0; i<menu.length; i++) {
_root.main["subButton"+i]._visible = true;
} else {
closeMenu();
function scrollButtons() {
if (menuOpen) {
for (var i = 0; i<menu.length; i++) {
var b = this["subButton"+i];
if ((theTime+b.interval)<getTimer()) {
b._y += (b.target-b._y)/buttonScrollSpeed;
this.onEnterFrame = function() {
content._x += (target-content._x)/imageScrollSpeed;
scrollButtons();That's all AS2 code, so you'll be beter off posting in the AS2 forum.
-
Publishing/actionscript help needed
Okay, first time poster and this is a complete newb cry for help:
I had someone create a template site for me that is pretty simple - a single swf that pulls resources from a directory of xml files and assets. In theory, I should be able to update the xml for my site and provide new assets. Simple.
I'm not a total neophyte, i know some code and within the xml there are some <font> tags that over ride the swf's formatting or provide and href. Again simple.
My problem is that I now have to update our logo, which is hard coded into the source .fla file, which I know how to get in and swap out (the guy who did the work is not available). My problem is, when I publish, the new swf with the new logo does not want to read the <font> tags anymore. I have tried everything and I can't crack this. I've narrowed it down to two possibilities:
1. Something in the Publish settings, though I've tried every conceivable variation to no avail.
2. Something in the .as file that defines page template.
I know I need to provide more info but this is a start. I'm working on a Mac (as was the coder) and we were both using CS4.
Thanks for any and all help/direction.If your in the .fla, and you are simply swapping one symbol in the manner that your speaking, I would probably do a couple things, first I would make sure that the logo your swapping is the same type of object/symbol, same size is good, and then I would backup a copy of the original, and then delete the logo symbol and bitmap, import and name the new logo image the exact same as the other, and then convert it to a symbol with the exact same name as original, then either drag it to the stage in the layer and position it should be with the exact same instance names.
I'm thinking in terms of a currently working product that I don't want to recode. So simply by taking a working one, and doing absolutely nothing more than changing the object, with everything identical, the code should do what it did before because all the actionscript instances, objects, var, event, and function names are identical, and therefore should use the proper instances at runtime.
I think. -
So this is how it goes...I've already made my website, I have
all the pages and everything made BUT...I have a few bugs. The
first starts at my login page, it is a universal login, so it has 2
usernames and passwords, I have the code for it but, It does not go
when I press the submit button. The next is when I get to my actual
website, all the webpages but one are all in different scenes. I
type in the code: on (press) {gotoAndPlay ("1","Corp") ; } but it
just goes the scene up next. I have no clue what is wrong here. I
also have a flaw with my loading page, whether than just loads fast
or not, the loading movie does not loop until the movie is loaded.
This page is also part of the movie. Can anyone help? The web
address is:
http://www.freewebs.com/cliop/
The code I am using on the button in my intro is:
on (press) {
if (username == "Cliop" or username == "X844495") {
if (password == "*********" or password == "*********") {
if (username== "Cliop" & password== "*********" or
username== "X844495" & password== "*********") {
gotoAndPlay("1", "Main");there's an actionscript forum for your issue. Better chance
of getting help there.
--> **Adobe Certified Expert**
--> www.mudbubble.com
--> www.keyframer.com
Cliop wrote:
> So this is how it goes...I've already made my website, I
have all the pages and
> everything made BUT...I have a few bugs. The first
starts at my login page, it
> is a universal login, so it has 2 usernames and
passwords, I have the code for
> it but, It does not go when I press the submit button.
The next is when I get
> to my actual website, all the webpages but one are all
in different scenes. I
> type in the code: on (press) {gotoAndPlay ("1","Corp") ;
} but it just goes the
> scene up next. I have no clue what is wrong here. I also
have a flaw with my
> loading page, whether than just loads fast or not, the
loading movie does not
> loop until the movie is loaded. This page is also part
of the movie. Can anyone
> help?
> -
Hi All, I hope you can help. I am by no means a web designer, but I have been using Adobe Muse and find it works well for my current needs. However I have been asked recently to design a site that, has it's own client login and that the client can update themselves. Any ideas? Thanks in advance.
ChevHi there!
Are you referring to In-Browser Editing feature?
http://tv.adobe.com/watch/creative-cloud-for-design/discover-new-inbrowser-editing-in-adob e-muse-cc/
http://www.adobe.com/inspire/2013/12/in-browser-editing-muse.html
What are you/your client using as the hosting provider for the site? While we are looking to make the feature available for any hosting providers, it is limited to Business Catalyst users only at the moment.
Let us know if you have any follow up questions.
Amy -
OnRollOver actionscript help needed
Hi,
I want to insert an actionscript that when the user rolls
over an item, a movie clip shows up on screen at specific x and y
positions. I have only basic knowledge of flash actionscripting and
would appreciate any support. If someone could give me a basic
outline of the code, then I will probably be able to complete the
code myself.
Many Thanks
David Kelly.try:
-
Actionscript Help Needed Here!!
Swuut up
My Event Listener wont work once the thumb_mc has loaded the
jpg... with this line commented out
//thumb_mc.loadMovie("images/dj1.jpg"); it works !!...but then all
im looking at is an empty movieClip that acknowledges when its
being clicked! great but it would be even better if i could get the
same result with an image loaded into the movieClip..mmMM.
The Code is attatched. If someone can help me out id really
appreciate it.
thanxWhile I'm not going to post the working code for you, I can certainly point you in the right direction.
Take a look at the class java.util.GregorianCalendar. It contains methods (some located in Calendar) to do manipulations with dates. You should be able to use the API to figure out how to create two GregorianCalendar objects... one with the current date, one with the due date. Once you've got those, there are plenty of methods to retrieve the day of the week, the date in the month, etc. which will guide you to calculating your answer.
Excluding the weekends is going to be the trickier part, but then again, that's why it's your homework assignment. Try to get some code punched out, and if you have problems, come back here and post an exact problem, and someone will help out. -
Actionscript help needed with getting Next Page to work
I just have a simple question (hopefully).
Question is:
I have a web page that displays a flash file that zooms and
pans, but I cant get the Next Page link to display. (will also want
1st, last and previous page)
1. Can the next page work and load the next or previous
numbered file?
2. Does it have to have all pages in one file, then it calls
the next frame?
Snippet below, or I can e-mail example files.
Please help, Thank you, Mike
============SNIPPET==========
<!--[if IE]>
<object id="movie" type="application/x-shockwave-flash"
width="300" height="500">
<param name="movie" value="1.swf">
</object>
<![endif]--><!--[if !IE]> <-->
<embed name="movie" type="application/x-shockwave-flash"
src="1.swf" width="300" height="500">
</embed>
<!--> <![endif]-->
<form name="f" onsubmit="return false;">
<button name="button" onclick="next()">Next
Page</button>
<button onclick="zoom()">Zoom In</button>
<button onclick="zoom2()">Zoom Out</button>
<button onclick="pan()">Pan</button>
<button onclick="setzoomrect()">Rect</button>
</form>
function next() {
var flash = window.movie || document.movie; // Get Flash
object.
flash.Zoom(50);Use the same method you are currently using. The Zoom and Pan
methods just happen to be exposed to the ActiveX control and
Plug-in. So to use the the GotoFrame() method for example, just
change your code from:
function next() {
var flash = window.movie || document.movie; // Get Flash
object.
flash.nextpage();
To this:
function next() {
var flash = window.movie || document.movie; // Get Flash
object.
flash.GotoFrame(20); // This will jump to frame 19 of your
main timeline.
It goes to frame 19 because the method you are using is
zero-based. Meaning to get to the first frame of your movie you
would pass the number zero.
To use the TCallLabel() method it would look like this:
function next() {
var flash = window.movie || document.movie; // Get Flash
object.
// to target the main timeline, use
flash.TCallLabel("/", "labelName");
// to target a movieclip on the main timeline use:
flash.TCallLabel("/MovieClip", "lableName");
Also, just so you know. These methods are getting antiquated.
To keep up with the current versions and methods of communicating
between JS and Flash you should really look into the
ExternalInterface class in Flash 8.
Tim -
Imagent.app is trying to connect to an external website. Help needed!
Hi there. I recently downloaded Little Snitch to gauge my current outgoing network traffic. When I booted up my Macbook Pro, the program told me that "imagent" was attempting to connect to a news page that I had left open on my browser. I believe this has to do with facetime, yet i wasnt using it. Could you help me in deciphering the meaning of this? Thank y'all for your help
Aquabolt wrote:
Hi there. I recently downloaded Little Snitch to gauge my current outgoing network traffic. When I booted up my Macbook Pro, the program told me that "imagent" was attempting to connect to a news page that I had left open on my browser. I believe this has to do with facetime, yet i wasnt using it. Could you help me in deciphering the meaning of this? Thank y'all for your help
As you probably know, you can get FaceTime invitations even if you have quit FaceTime. That feature is provided by "imagent".
Unless you have configured the FaceTime > Preferences... > FaceTime setting to "OFF", you are still using "imagent" (and a couple of other support processes) even if you have "Quit" Facetime.
Once you set the preference to "OFF", imagent will go away, but you will not be able to receive any incoming FaceTime invitations until it is turned ON again.
EZ Jim
Mac Pro Quad Core (Early 2009) 2.93Ghz Mac OS X (10.6.6); MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.6)
LED Cinema Display; G4 PowerBook 1.67GHz (10.4.11); iBookSE 366MHz (10.3.9); External iSight; iPod4touch4.2.1 -
this website make problem for me, he open by it self everytime i try to open another websites
Please i need some help
http://yandex.ru/yandsearch?text=ццц&lr=1004Dude, I don't think there's a user on this forum that would click on that link.
-
I need to password protect a whole section of a website. Help?
I will have both retail customers and retail stores accessing the same website. I need some of the info to be behind some kind of firewall so only stores can access it. Doesn't have to be elaborate.
What do you think? Working with CS3.
Chris BakerAce wrote -
you'll have to add the protection yourself with server scripting (PHP/ASP VBScript/ColdFusion).
Ace, or anybody else -
I have a smilar problem. We have exhibitors for our shows (www.usxpo.com) that we need to give info to. So we create webpages (www.usxpo.com/euec09.html) that we email out to exhibitors with links to pdf's etc that they need. How can I pwd limit with 1 id and password for each show, (all exhibitors to the same show have the same id/pwd) to many different shows, each having unique id and pwd?
TIA
Rush -
Hyperlinks text to file?Help needed
hi guys,i need some help in Abode Flash Professional CS 5.5 . im new to Flash,need some serious help over here =( deadline is tomorrow ><
Here's the Senario :
-im editing a flash website,and i need to do some hyperlink to the text.but instad of hyperlinking those text to other website,i want to link them to my file which i had in the folder.
- also to ask if its able to hyperlink an image to a website i want.if can,how to do it.if cant,any other option i can link them?
- i also created a Form for people to enter their information like email address and names to my email address.but when they click Send Button,i dont receive the mail.how can i do it?
Many thanks for people replying to this Discussion.If you want to launch the local mail client to send mails, read the below tutorial
http://www.flashdesignerzone.com/tutorials/t1011.php
If you want to send the mail and receive on somether client like hotmail,gmail etc, read the below tutorial:
http://www.kirupa.com/developer/actionscript/flash_php_email.htm -
Help need to switch Muse site to BC on a allready hosted plan
Hi, i also posted on BC forum...
I have a client that was in a hurry to have his emails accounts before the entire website.
So i went on and bought the email marketing plan (cos he will also need to do email campains) an pointed his domain everything is working fine, at this moment he has his accounts the domain is live.
The site would be just a small 7-10 pages not to complicated.
Has a graphic designer (who has venture into Business catalyst cos it had all the solutions i needed, well that's what the promotional videos said anyway) I made a site in Muse.
First i did a temporary page thats says "comming soon", and then i made the entire site, all the design and menu but with blank pages cos the client didnt have all the content yet (and still dont have). I uploaded that site to a sub directory so he could see the evolution.
He approved the design, yay!
At the end of the process, he told me he needed to have full control with the editor. (style, images, bulleted list, need to put downloadable document like pdf etc.) i told him that he could only modify what was allready there with the Muse in Browser editing (that he saw when i made the pitch using another site) he was impress with the way it worked.
so i told him i would have to remake "template".
I thought of using a BC template, and modify the looks to adapt to my client image, Of course, use a responsive theme so he could make the change at one place only. (cos in Muse you need to make the changes on the 3 layouts).
Now, i created a new temporary site using one of the new responsive template available.
How can i import that new site onto his live domain? In other words, how can a switch from a theme made in Muse, to a BC template?
cant i just delete everything in the root folder, and upload the entire new site via ftp?
please help me find the solution. i am a bit in a panic here
hope you could understand my lousy English.
Sincerely,
i.d.This would need to be transparent for m'y client...
Y
Envoyé de mon iPhone
Le 2014-04-20 à 15:29, Sanjit_Das <[email protected]> a écrit :
Re: help need to switch Muse site to BC on a allready hosted plan
created by Sanjit_Das in Help with using Adobe Muse CC - View the full discussion
Thanks for additional details.
Unfortunately we cannot change site template of a live site in BC , but as a workaround Create a site from BC using the template you wish to use then publish the site from Muse to the site created from BC and transfer the contents stored from live site to trial site. Ater final transition is done , you can delete the already paid site and make live the new trial site which includes new site template.
Thanks,
Sanjit
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6314730#6314730
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6314730#6314730
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6314730#6314730. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Help with using Adobe Muse CC at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0. -
Help needed to resolve there is no attribute X errors..
On my website http://www.dorffdesign.nl/ there is a problem. Ive put the FB Like button there and it worked fine for a while. But now its gone. So ive run
http://validator.w3.org/ on it and came up with the next errors:
========================================================================================== ==============================================
Line 232, Column 32: there is no attribute "data-href" <div class="fb-like" data-href="http://www.dorffdesign.nl/" data-send="true" da… ✉
Line 232, Column 71: there is no attribute "data-send" …http://www.dorffdesign.nl/" data-send="true" data-width="450" data-show-faces=… ✉
Line 232, Column 89: there is no attribute "data-width" …orffdesign.nl/" data-send="true" data-width="450" data-show-faces="true"></div> ✉
Line 232, Column 111: there is no attribute "data-show-faces" …orffdesign.nl/" data-send="true" data-width="450" data-show-faces="true"></div>
========================================================================================== ===============================================
In dreamweaver ive use this code for the FB likke button:
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/nl_NL/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
========================================================================================== ===========
<div class="fb-like" data-href="http://www.dorffdesign.nl/" data-send="true" data-width="450" data-show-faces="true"></div>
I really want to solve this so im hoping if you can point me into the right direction.
RegardsHi ive bin able to put the fb like button on my page. But i totally forgot how i have to place the fb like button under the black box named portfolio.
I hope you can tell me.
Regards
Date: Wed, 7 Nov 2012 07:41:54 -0700
From: [email protected]
To: [email protected]
Subject: Help needed to resolve there is no attribute X errors..
Re: Help needed to resolve there is no attribute X errors..
created by MurraySummers in Dreamweaver General - View the full discussion
You can either ignore those errors (since they have no impact on your page's functionality) or you can use DW to convert your page to an HTML5 doctype (File > Convert > HTML 5, and then the errors will go away.
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4829606#4829606
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4829606#4829606
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4829606#4829606. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Dreamweaver General by email or at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
Maybe you are looking for
-
IPod can't be synced because there is not enough free space?
At first, my iPod couldn't be synced because 'playlists doesn't exist'(there's another forum about this and apparently this comment helped a lot of people... "Click on your 'DEVICE' on the left in ITUNES, click the music tab and where it says Sync Mu
-
AnyConnect failing to auto-update upon connecting, requires a re-install
We recently upgraded our 5510 at one of our clients to ASA software version 9.1(5), and after that was up and running and stable, we decided to upload the newest AnyConnect package files to the firewall for VPN users to get updated to the latest vers
-
ADF 11g - Selecting a certain row for a Form
First of all hello and my apologies if this issues has been discussed here before (tried searching for it for a while. maybe I don't understand the problem right?). Let me describe my context a bit : i got 2 tables, table2 contains an attribute(Index
-
Hi all, I wood like to pack report template file (I mean .rpt) in jar file of my app, then get it as resource stream. Unfortunately, in ReportClientDocument I have seen only open(Object,int) method. As I understand Object mean path to file. So, is it
-
i got to the menu-settings-geniral-i only have use home page or a blank page it will not allow me to select in-order to re-store my last session and same in the history menu it wont allow me to click on it!