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.
Similar Messages
-
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) -
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) -
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. -
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 -
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. -
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! -
Need help creating URL for getImage
In the following code example, I get an error when javac compiling. I need help, because I cannot determine what is wrong. "....." denotes extraneous code removed for readability.
import java.awt.*;
import java.io.*;
import java.applet.*;
import java.net.*;
public class testapp extends java.applet.Applet implements java.lang.Runnable
public static void main(String[] argv)
����.
public void init()
Toolkit toolkit = Toolkit.getDefaultToolkit();
Image image1 = toolkit.getImage("imageFile.gif");
Image image2 = toolkit.getImage( new URL("http://java.sun.com/graphics/people.gif"));
��
javac reports:
unreported exception java.net.MalformedURLException; must be caught or declared to be thrown
Image image2 = toolkit.getImage( new URL ("http://java.sun.com/graphics/people.gif"));
................................................^With this recommended code:
===================
try { Image image2 = toolkit.getImage( new URL ("http://java.sun.com/graphics/people.gif"));}catch(MalformURLExceptione){System.out.println("Error"); }
======================
it now compiles ok, but when I access the page through the browser, I get "applet not initialized" and the page times out.
With the lines commented out, the page loads.
What does this tell us:
- all we have done is mask a problem that the compiler previously highlighted.
But what is the problem?
As far as I can tell, the code is exact copies from the examples posted online.
Where should System.out.println("Error"); be displayed? I can't find it. There might be a clue in the error message. -
I need help with circular linked list
Hi,
I need help with my code. when I run it I only get the 3 showing and this is what Im supposed to ouput
-> 9 -> 3 -> 7
empty false
9
empty false
3
-> 7
empty false
Can someone take a look at it and tell me what I'm doing wrong. I could nto figure it out.
Thanks.This is my code
/ A circular linked list class with a dummy tail
public class CLL{
CLLNode tail;
public CLL( ){
tail = new CLLNode(0,null); // node to be dummy tail
tail.next = tail;
public String toString( ){
// fill this in. It should print in a format like
// -> 3 -> 5 -> 7
if(tail==null)return "( )";
CLLNode temp = tail.next;
String retval = "-> ";
for(int i = 0; i < -999; i++)
do{
retval = (retval + temp.toString() + " ");
temp = temp.next;
}while(temp!=tail.next);
retval+= "";}
return retval;
public boolean isEmpty( ){
// fill in here
if(tail.next == null)
return true;
else{
return false;
// insert Token tok at end of list. Old dummy becomes last real node
// and new dummy created
public void addAtTail(int num){
// fill in here
if (tail == null)
tail.data = num;
else
CLLNode n = new CLLNode(num, null);
n.next = tail.next;
tail.next = n;
tail = n;
public void addAtHead(int num){
// fill in here
if(tail == null)
CLLNode l = new CLLNode(num, null);
l.next = tail;
tail =l;
if(tail!=null)
CLLNode l = new CLLNode(num, null);
tail.next = l;
l.next = tail;
tail = l;
public int removeHead( ){
// fill in here
int num;
if(tail.next!= null)
tail = tail.next.next;
//removeHead(tail.next);
tail.next.next = tail.next;
return tail.next.data;
public static void main(String args[ ]){
CLL cll = new CLL ( );
cll.addAtTail(9);
cll.addAtTail(3);
cll.addAtTail(7);
System.out.println(cll);
System.out.println("empty " + cll.isEmpty( ));
System.out.println(cll.removeHead( ));
System.out.println("empty " + cll.isEmpty( ));
System.out.println(cll.removeHead( ));
System.out.println(cll);
System.out.println("empty " + cll.isEmpty( ));
class CLLNode{
int data;
CLLNode next;
public CLLNode(int dta, CLLNode nxt){
data = dta;
next = nxt;
}I'm not going thru all the code to just "fix it for you". But I do see one glaringly obvious mistake:
for(int i = 0; i < -999; i++)That says:
1) Initialize i to 0
2) while i is less than -999, do something
Since it is initially 0, it will never enter that loop body. -
A client of mine has requested that we add a url link on a DVD that will launch a web browser when the DVD is played through a computer. Is this even possible using Encore?
Thanks,
DanYou can do something like this manually - with the caveat that you will not be able to add in links to web content via the VMG space of the DVD-V disc.
What you
i can
do is create ROM content, and add an HTML type browser file that will autorun - or can be accessed - from a DVD-ROM drive instead.
Or even a Director type file, if you feel really up to it. -
Adding URL Links to Tool Area iView in Default Framework Page
We want to add a URL link to the Tool Area iView in Standard Framework page. When we edit the property "EnableLink1" and "EnableLink2" property to "True" of Tool Area iView, it shows two links in the tools area without actual links.
Where do we add these links?
Thanks.
PKHi,
In EP 7.0 SP21 no show the EnabledLink1 and EnabledLink2,
Was deprecated?.
Must to edit the par file to insert it?.
Thanks -
Hi I need help on URL Connection Class
Hi
I have read the documentation but cant get it . I have to Use the getContent(); method so can any one make a program for me in which all of the methods of this class have been used?
I Also Need help on Content Handler Class Please give me one example on it but separate from the above one
Thanx alotHi
Man Some Times We need help and as of google, Google is My Best Friend. and as of forums search i know that but some time we have less time and much to work. The Time Doesnt wait us. we have to save our time. thanx for ur help and ur comments i like it.
Maybe you are looking for
-
Air print with hp officejet pro 8000 wireless printer - a809n
The question is the same as the subject: how to air print?
-
JPEG Corruption post transfer over USB External Drive (usb2.0)
Hello I have two external drives, both support firewire400/800 and USB2. On the firewire 400 settings no issue at all. Previously on PPC powerbook, I used firewire 800 and no issues at all. While waiting for my expresscard34-firewire800 to arrive thi
-
How to save a JPG in 256 colors?
I'm using Photoshop CS2. 1. How to save a JPG in 256 colors? 2. Is there a way to see an image properties? -- I want to know if that image is in 256 color or not...
-
Message split via BPM Status stays TBDL
Hi to all, I have a Scenario with a BPM. In the IntegrationProcess (IP_Split), is a mapping with message splitting. The result von the Mapping are serveral Proxymessages and a var count, that counts the new Messages. After, i have a loop over the mes
-
What is the use of points earned in apple support communities??
what is the use of points earned in apple support communities??