Flash CS5 Newbie - Need help adding URL link to animated banner
I apologize if this is a very basic question, but I am a newbie at designing in Flash. I have created a basic animation in Flash CS5 and I need to add a clickable URL link to it. I've tried a few tutorials that looked promising, but none of them solved my problem. I've tried a number of things including converting parts or all of the images to simple buttons or movies and linking them that way as well as typing in code for ActionScript 2 and 3, none of which were successful. The animation plays correctly when viewed in my browser, but when I click on it, the link does not work. I would prefer that the entire banner be clickable to take viewers to the linked website rather than using hyperlinked text. Also, when I open the Code Snippets window, it is empty, no matter what image or frame I've selected. Do I need to import code snippets from somewhere or am I simply going about things the wrong way? Any help is greatly appreciated!
It all depends whether you're decisively using AS2.0 or AS3.0 .
In the latter, you would need to use a URLRequest() method in conjunction with a navigateToUrl() call (not sure the exact syntax for navigate to Url, it might be a capitalized "URL" in the method but the request takes a String argument such as http://www.adobe.com)
Similar Messages
-
ComboBox (dropdown) Need Help Adding URL links!!!
I am somewhat of a newbie....Anybody know how to use URL
links in a ComboBox dropdown menu? NEED HELP!!!!!!! I'm trying to
make it so that after selecting an option, the user is directed to
another URL within the same browser window. Using flash 8!
Thanks,Im a bit a newbie myslef but i think you make flash
commuincate to javascript wich will make the browser goto the URL.
do a search on getURL and javascript together and i am sure
you will find something.
And when slecting to redirct i think its on?(onPress)
something so maybe look throught the help section in flash 8 and
look at componets. I think there is some actionscript help there.
Sorry i could not be more helpful. -
I need help adding a mouse motion listner to my game. PLEASE i need it for
I need help adding a mouse motion listner to my game. PLEASE i need it for a grade.
i have a basic game that shoots target how can use the motion listner so that paint objects (the aim) move with the mouse.
i am able to shoot targets but it jus clicks to them ive been using this:
public void mouse() {
dotX = mouseX;
dotY = mouseY;
int d = Math.abs(dotX - (targetX + 60/2)) + Math.abs(dotY - (targetY + 60/2));
if(d < 15) {
score++;
s1 = "" + score;
else {
score--;
s1 = "" + score;
and here's my cross hairs used for aiming
//lines
page.setStroke(new BasicStroke(1));
page.setColor(Color.green);
page.drawLine(dotX-10,dotY,dotX+10,dotY);
page.drawLine(dotX,dotY-10,dotX,dotY+10);
//cricle
page.setColor(new Color(0,168,0,100));
page.fillOval(dotX-10,dotY-10,20,20);
please can some1 help meplease can some1 help meNot when you triple post a question:
http://forum.java.sun.com/thread.jspa?threadID=5244281
http://forum.java.sun.com/thread.jspa?threadID=5244277 -
Need help adding schedule to xcode 4
I need help adding a tour schedule for an iphone app building an app for 13 djs and they want thier tour schedules added these need to be updated monthly is there a way to add this????
I don't know if this is the easiest way but it works for me. I connect the DVD player to my camcorder (so it's the 3 plugs yellow/red/white on one end and a single jack into the camera). Then I connect my camcorder to the computer (I think it's through a firewire port). Then I just play the DVD and the footage is digitized via the camcorder and I import it into iMovie 4 as it's playing. I believe the camcorder is just in VCR mode.
I have also used this method to transfer VHS tapes onto DVDs via the camera by connecting the VCR to the camera.
I haven't had much luck with movies over about 40 minutes on iMovie. But if it's home movies, there may be a logical break. Do maybe 20 minute segments (it's also really easy on iMovie to add a soundtrack if these are OLD films with no sound.
As you can see, I'm low tech!
Good luck!
Powerbook G4 Mac OS X (10.3.9) -
MacBook - Newbie: Need help on printing wirelessly to XP shared printer
MacBook - Newbie: Need help on printing to XP shared printer
Bear with me please. I read tons of articles on this but somehow as a newbie to MAC (girlfriends sick daughter), I am missing something. 10.5.2
Currently, she can print directly if we plug in the HP Deskjet printer directly via USB to the MACBook. No problem.
When we first got the MACBOOK I tried setting up the MACBOOK wirelessly to recognize the workgroup where the printer was attached via USB to the Windows XP PC. However it printed out garbage since I did not know there was a difference between XP printing and MAC (Gutenberg/gimp printing/drivers).
Now I know there is a difference.
But in reading various instructions, I no longer can find how to connect the MAC to the Windows workgroup. Note we do have a printer set up currently as USB-HP Deskjet on the Macbook (not sure I need to delete it yet).
I went to System Preferences on MACBOOK and clicked on printers, more printers. In the drop down box was CANON, APPLETALK, IP HP printing and Firewire. There was no WINDOWS selection as I saw in other online web instructions.
So not sure how to proceed to find a way to:
1. Connect to Windows workgroup (click on what exactly), step by step please!!
2. Add correct HP Deskjet 5490 printer (perhaps there is one with Gutenberg or perhaps I need Gutenprint-really not sure what I am talking about)
Thanks so much in advance. Fiancé's kid has had her cancer recur in a different place and someone was nice enough to buy her a MACBOOK as a gift.
Sincerely
Peterccarbery wrote:
OK...I figured it out...no need to reply. I noticed that there was another Protocol to use to set up the printer on the Mac, I was using LPD, so I switched it to HP Jet Direct-socket, and it prints fine...thanks. I am curious as to why LPD wouldn't work; if anyone has that answer I would like to know...thanks
Any chance of posting the Protocol you used to connect to your printer with your laptop? I'm have the exact same problem printing from my MB. Same error message "..is busy". -
I need help adding admob ads to air for android flash cs5.5 app
I would like to know how can i add admob ads in adobe flash cs5.5 air for android app without buying any extentions please tell in detail because my scripting in as3 is VERY weak, so detailed answers would be lovely.
flash-air-admob-ane-for-ios-and-android - Admob Ane,a adobe native extention(ANE) for actionscript developer to add go…
you need upgrade to flash cc. -
Problems adding url link to buttons in action Script 3
each time I added it link 1 to the button on file i get these error messages-
1046: Type was not found or was not a compile-time constant: link1.
1180: Call to a possibly undefined method link1.
Warning: 3594: exec is not a recognized method of the dynamic class RegExp. var r:Object = p.exec(s);
This is the code I am using: import flash.net.navigateToURL; import flash.net.URLRequest; var link_one:link1; link_one = new link1(); stage.addChild(link_one); link_one.addEventListener(MouseEvent.CLICK, buttonClickHandler); function buttonClickHandler(event:MouseEvent):void { var url:String = "http://www.masterpiececorp.com/ARMREF.htm"; var request:URLRequest = new URLRequest(url); navigateToURL(request); } I have no other problems with link 3 or 4, just link 1 I still cannot get my urls link to movie clips on the flash
Can you upload flash here? if not I have a image capture I can use to have you look at my buttons and action script code. i have been to every forum I know and not any have been helpful at all. This is my last hope.
Very frustrated newbie Gina T
Message was edited by: gtaylor0406The way you had your code originally would be correct...
var link_one:link1;
link_one = new link1();
addChild(link_one);
The 1046 error is indicating it doesn't recognize the link1 class. So the first thing you need to make sure of is that you have assigned the link1 class designation to whatever symbol that is in the library. -
Newbie needs help with browser compatibility
Ok, so I'm new at this, so this may be something really
simple, but browser compatibility? I made a site in DW;html and it
shows up perfect in safari but internet explorer and firefox not so
much. I did a browser compatibility test in DW and it says nothing
is wrong with my pages, but obviously something must be!!
On my home page, the image of a house that I have next to the
company name shows up fine in safari but not any other browsers.
And my page layout, everything is moved over funny in other
browsers. Also there are link boxes around the table I created with
different brands of products. On safari the boxes do not show, but
all the other browsers it does!! I'm new at this and frustrated!!!
Need help!!
The link is holmeshifi.com and I posted code from the home
page!OK thanks Ned sorry to soo dumb I'm on a learning curve here! what
I'm trying to do is go to the URLs of web galleries of images from my
main site
so I would presumably have to rename them on my server? i.e. does that
mean adding the code ", "_blank");
to the files on the server?
At the moment I have to use the back button on my browser window which
takes me back to the main site which then has to reload (tediously!) -
Need help adding a page to an existing website
Hey guys....I'm, as the subject states, a newbie to Dreamweaver. I am needing to add a page to an existing website. Simple enough...or so it seems...anyway, I went to the site, copied the source coding, went back to Dreamweaver, pasted into the code box, and up pops the page I copied. Great! So then I make my changes so that the page states what I want it to say, link it to what I need to hyperlink it to, then try to upload the page back onto the server....and here's where I get lost...I go to the web to check the site, and the page that I copied and made my own is not there. The link didn't work and the page is nowhere to be found. I don't mind whatsoever telling any of the what the site is (not sure if I can do that here), but any help would be very grateful!!! I'm not sure what I am doing wrong obviously. Many, many thanks in advance for any help you can give me!
JimAt the moment the link you refer to goes to the file ashby.php
http://www.superiorcareplus.com/ashby.php?s=1
Do you have a page named ashby.php in your site folder?
If you do copy that and make the changes you require. Save it as whisperer.php
Now you need to change the link from ashby.php to whisperer.php
<div class="leftMenu"><a class="menuLeft" href="ashby.php?s=1">Becoming an Alzheimer's Whisperer</a></div>
So it looks like this:
<div class="leftMenu"><a class="menuLeft" href="whisperer.php">Becoming an Alzheimer's Whisperer</a></div>
I'm not sure if it will work because the link has a variable (?s=1) after it but as the links all go to different pages the information probably isn't being fetched from a database. In other words all the pages appear to exist as individual pages. I don't know what 's' the variable refers to. -
URGENT: Need help reading URL of current page
Hello kind people!
I need help, and its very simple:
How do i read the URL of a web page?
For example, the URL of this page is:
http://forums.sun.com/thread.jspa?threadID=5327796
So how can i be able to read in this URL in my java program?
thanks SO MUCH
P.S. I HAVE searched the java docs and everything, the closest thing i found was request.getRequestURL().? but i have no idea how to use it. you have NO IDEA how appreciative i would be if you could simply show me exactly how to read in the URL of a given page.
thanks SO MUCH
Edited by: homegrownpeas on Aug 31, 2008 5:19 PMGoing by what I understand here is a simple version of how you can read data from over HTTP.
This expects the "page" to be text (hence an InputStreamReader instead of an InputStream.)
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.HashMap;
* GPLv2.
* @author karlm816
public class HomeGrownPeas {
* @param args
public static void main(String[] args) {
HashMap<String, String> params = new HashMap<String, String>();
params.put("threadID", "5327796");
System.out.println(loadHttpPage("http://forums.sun.com/thread.jspa", params));
public static String loadHttpPage(String sUrl, HashMap<String, String> params) {
// Build the HTTP request string
StringBuilder sb = new StringBuilder();
if (params != null) {
for (String key : params.keySet()) {
if (sb.length() > 0) {
sb.append("&");
sb.append(key);
sb.append("=");
sb.append(params.get(key));
System.out.println("params: " + sb.toString());
try {
URL url = new URL(sUrl);
URLConnection connection = url.openConnection();
connection.setDoOutput(true);
connection.setRequestProperty("Content-Length", "" + sb.length());
connection.setUseCaches(false);
if (connection instanceof HttpURLConnection) {
HttpURLConnection conn = (HttpURLConnection) connection;
conn.setRequestMethod("POST");
OutputStreamWriter osw = new OutputStreamWriter(connection.getOutputStream());
osw.write(sb.toString());
osw.close();
// Now use sb to hold the resutls from the request
sb = new StringBuilder();
BufferedReader in = new BufferedReader(
new InputStreamReader(
connection.getInputStream()));
String s;
while ((s = in.readLine()) != null) {
sb.append(s);
// To make it more "human readable"
sb.append("\n");
in.close();
} catch (IOException e) {
e.printStackTrace();
return null;
return sb.toString();
} -
I need help attaching a few hyperlinks my godaddy welcome page. I have 2 more ipages articles, I also converted them to pdf. Godaddy only helped (last year) with the 1st article. I do not know how to attach a hyperlink to the artlcles and add the hyperlinks to my welcome page.
The program is called Pages not iPages. Just let us know if you do not speak English and what language you do speak so we can adjust for that.
The issues are to do with your web page not with Pages.
I think you are asking how to link from your web page to your pdf articles. You must first copy those pdfs to your web server, or some other web location, and then provide html links on your welcome page to those pdf files.
The pdfs themselves may contain links to other locations but I can not see that that is what you are asking for.
Nor to what those links would be to.
From your heading I think you may have confused the name of Pages, the word processing program, with web pages which are two different things.
Peter -
Flash Player is causing my Web Pages to flash like crazy Need help!
I need help, I'm running a computer with Windows 98 4.10.1998
and Running Internet Explorer ver. 6.0.2800.1106IC
I had some problems I have fix eveything but when I got to a
web page it wants
to install and run flash player if I do Install and run, all
my web pages flash
like crazy every clickable icon or line flash the screen
makes it flicker so hard
it is enough to give you a headache. Ad boxes on the pages
flash like a lighting
strorm. How do I fix this? I never had this before, I ran the
flash player debug file
that made no change. Help!Already checked the Event Viewer. The only thing I could find is this critical level event
The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.
This only happens when I am running a flash video in IE10. In Chrome everything works fine. I downgraded flash player to 11.4 but with no luck.
From the event viewer, the reboots started from sometime in september.(this is my parents' pc)
I think I found the problem. I changed my video card, a 9600GT, a few months ago with a GT630. I switched back to the 9600GT, and it looks like the issue is not happening any more. But it's still verry ackward for the issue to happen only on IE10.
I'm still testing to be sure that the video card is the problem. -
I am trying to dual boot Arch Linux and Ubuntu. When I try to boot there is no option for Arch. I have added it to the menu.lst file in ubuntu. Arch is installed on sdb1 according to sudo fdisk -l I need help!
Fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb38ab38a
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9544 76662148+ 83 Linux
/dev/sda2 9545 9729 1486012+ 5 Extended
/dev/sda5 9545 9729 1485981 82 Linux swap / Solaris
Disk /dev/sdb: 40.9 GB, 40992473088 bytes
255 heads, 63 sectors/track, 4983 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0002eb1f
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 4891 39286926 83 Linux
Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000ea9be
Device Boot Start End Blocks Id System
/dev/sdc1 1 30401 244196001 7 HPFS/NTFS
I think Arch is on the 40GB partition
Menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 0
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
# examples
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=ce3a864f-3f72-480b-96b3-54516b307170 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=ce3a864f-3f72-480b-96b3-54516b307170
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 9.04
uuid ce3a864f-3f72-480b-96b3-54516b307170
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=ce3a864f-3f72-480b-96b3-54516b307170 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
#title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
#uuid ce3a864f-3f72-480b-96b3-54516b307170
#kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=ce3a864f-3f72-480b-96b3-54516b307170 ro single
#initrd /boot/initrd.img-2.6.28-11-generic
#title Ubuntu 9.04, memtest86+
#uuid ce3a864f-3f72-480b-96b3-54516b307170
#kernel /boot/memtest86+.bin
#quiet
# (0) Arch Linux
title Arch Linux
root (hd1,0)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26.img
### END DEBIAN AUTOMAGIC KERNELS LIST
title Arch
rootnoverify (hd0,1)
chainloader +1 -
Dashcode iPhone Webapp - Adding url links to multiple list item
I was wondering if anyone knew how to add a url link to multiple list items without the use of a button part.
Say For Instance i Have
Item 1 > I want to go to www.mysite.com/index.html
Item 2 > I want to go to www.mysite.com/help/index.html
Any help would be greatly appreciatedAfter hours of reading and experimentation, I have solved my immediate problem thus:
function jsonLoaded(jsonRequest) {
if (jsonRequest.status == 200) {
events = eval( "("jsonRequest.responseText")" );
document.getElementById('list').object.reloadData();
} else {
alert("Error fetching JSON data: HTTP status " + jsonRequest.status);
var feedURL = "http://www.foo.com/bar.php";
var onloadHandler = function() { jsonLoaded(jsonRequest); };
var events = [];
var jsonRequest = new XMLHttpRequest();
jsonRequest.onload = onloadHandler;
jsonRequest.open("GET", feedURL, true);
jsonRequest.setRequestHeader("Cache-Control", "no-cache");
jsonRequest.send(null);
var listController = {
numberOfRows: function() {
I had to do two things:
1. Declare the array 'events' outside the function.
2. Reload the list data (thanks to http://osdir.com/ml/safari-iphone-web-dev/2009-05/msg00013.html )
Now I've got to figure out how to pull in different data for different list levels! -
Exit Code: 7 on flash cs5 installation? help please??
Hello i'm having a bit of a problem with re-installing flash cs5, i used to have it but i factory setted my laptop cuse it was acting up for a while and including flash was cting up and not loading so now i got to install it and it is giving problems it says:
Exit Code: 7
Please see specific errors and warnings below for troubleshooting. For example, ERROR: DS013, DW025 ... WARNING: DS013, DW025 ...
-------------------------------------- Summary --------------------------------------
- 0 fatal error(s), 62 error(s), 62 warning(s)
ERROR: DW025: The payload with AdobeCode: {CFC9F871-7C40-40B6-BE4A-B98A5B309716} has required dependency on:
Family: CoreTech
ProductName: Adobe Player for Embedding x64
MinVersion: 0.0.0.0
This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
Removing this dependency from list. Product may function improperly.
ERROR: DW025: The payload with AdobeCode: {CFC9F871-7C40-40B6-BE4A-B98A5B309716} has required dependency on:
Family: Shared Technology
do you think you could help me please? thank you so much!Errors "Exit Code: 6," "Exit Code: 7" | CS5, CS5.5
Mylenium
Maybe you are looking for
-
I know that Itunes does not officially support Vista at the current time, but I am having a problem getting Vista to even recognize my iPod... I have a 4th generation iPod, and when I try to install the drivers from the CD the installer minimizes to
-
Problem with the External send output for Portugal in Smartforms
Hello All, I am facing an issue with a particular outtype for external send for portugal country.The print priview is of different font than original font of the form. But When the same output type is assigned with the print output the form is showin
-
Is anyone having a problem with the power plugs?
My power plugs are getting shorts to where they will not charge up the laptop any longer. I had this laptop 2 years and been through 3 cords already. Sometimes they get really hot too
-
Successfactors (SBS)- Query
Hi Experts, We are figuring out SuccessFactors integration mechanism called Side by Side (SBS) for our client, however we have certain queries for which we are struggling to get the answer. What are the pre-requisites for using SBS? We understand tha
-
I am putting a full length feature together and need to have scene selections. I noticed on all (or most) DVDs it seems to be one menu(I may be wrong) with scene numbers 1-4, 5-8, etc. When you click on thes numbers the menu BG stays the same but the