ActionScript 2.0 :: When Click On A Thumbnail, A PDF File Is Launched?

Mar 13, 2005

I've tried applying Ilyas' infinite menu to the Senocular's XML portfolio. However, the movement looks bad--you can see where the thumbs stop and begin. I was wondering how this could be fixed??

Also, would it be possible that when you click on a thumbnail, a PDF file is launched? How could I do this from the XML file?

I'm trying to create a continuous scrolling horizontal menu. The menu would contain pictures of news articles and when you click on the picture, you could read the article in the PDF!

Since each article is pretty long, like news clippings, I don't think having this info in a flash pop-up box would work?

View 14 Replies


Similar Posts:


When Play The Swf It Seems To Work Ok With The Click, But Eventually When The Tween Is Launched, It Doesn't Goes?

Jul 29, 2009

This is my code:

addChild (pant1);
var pantMovX:Tween = new Tween(pant1,"x",Regular.easeOut,mouseX,600,1,true) ;
var pantMovY:Tween = new Tween(pant1,"y",Regular.easeOut,mouseY,290,1,true) ;

[code].....

View 12 Replies

IDE :: Click A Thumbnail To Open A File In The Root Directory?

May 25, 2010

iam using a template, i designed everything alright but need to know how to click a thumbnail to open a file in the root directory.The XML file for the thumbnails looks like this currently and everything in the flash movie work and the explorer window opens to he link:

<?xml version="1.0" encoding="utf-8"?>
<thumbnails>
<thumbnail filename="ms.jpg" url="http://www.myspace.com/XXXX" [code]...

but instead of a URL I want a file to be opened (a mp3 or wmv or swf or exe) in its own window or default player...What is the code i would use? A similar flash template would be this http:[url]....but when you click each of the thumbnails, i want 1 to open a mp3, one ar flash movie etc

View 1 Replies

ActionScript 2.0 :: OnRelease - Cannot Scroll Thumbnail Until Roll Off The Click Thumbnail

Jul 10, 2007

I am making a gallery, which you can view here:[URL]ok, firstly, when you click a thumbnail, you cannot scroll them until you roll off the click thumbnail, and I'm not sure why. is it just a movieclip thing? or can I put some code in to re-get focus of something? ok, now for the two general questions:

1. When you roll over the thumbs, they go up, sometimes they flick back down though, even though you are rolled over them still. is this just because they are moving?

2. Does anyone know why when I add this:

[Code]...

View 1 Replies

ActionScript 2.0 :: Detect Whether SWF File Is Launched Locally Or Through A HTTP Protocol?

Dec 30, 2006

Is it possible to detect whether an SWF file is launched locally or through a HTTP protocol?

View 4 Replies

ActionScript 3.0 :: Get Rid Of Image In Container / When Click On Thumbnail

Jul 4, 2010

I'm having trouble trying to get rid of an image in my container when I click on a thumbnail. I keep getting an error saying DisplayObject must be a child of the caller.I've looked around the web and can't figure out what I'm doing wrong, nor am I sure what the error means when its referencing the caller.[code]

View 3 Replies

ActionScript 2.0 :: Change Thumbnail On Click/Press?

Mar 29, 2004

I want to change the alpha of a thumbnail after it has been pressed, to indicate that the user has clicked it.

However, I also am changing the alpha when the user hovers over it and On Mouse Out. I've tired this:

[AS]on (press){
this._alpha -= 50;
}
[/AS]

What seems to happen here is that if the user clicks on it again, it can't be seen.

A problem with the below code it, On Mouse over, it fades it by 50. Then, On Click, it disappears. Then, on mouse out, it fades back to 100.

[AS]on (press){
this._alpha -= 50;
}

[Code].....

View 9 Replies

ActionScript 3.0 :: Call A Javascript Function When Click On The Thumbnail?

Jul 10, 2009

[URL]

I have a slider that is working perfectly, only thing I am trying to now call a javascript function when I click on the thumbnail. I cant seem to get the array to work with the xml file...

View 2 Replies

ActionScript 2.0 :: Loading Certain Images When User Click On Thumbnail

Jan 1, 2005

I am working on a website where I want certain images to load whenever a user clicks on a thumbnail. I want a preloader to appear before the image is displayed. I created this so far:

mcLoader = new MovieClipLoader();
loadListener = new Object();
mcLoader.addListener(loadListener);
mcLoader.loadClip("foto.jpeg", placeholder_mc);
loadListener.onLoadProgress = function(placeholder_mc, loadedBytes, totalBytes) {
[Code] ....

When I preview this of course I see my image, but I want to know if the preloader works. So I hit ctrl+enter again and... nothing. The progress bar (bar_mc) blinks once and then blank... a white screen... Besides, I want this code to be executed when a user clicks a thumbnail, how can I implement this on a button, while at the same time, the first thumbnail should load automatically, so there's no exmpty page when the user first opens the website?

View 1 Replies

ActionScript 2.0 :: Open The Larger Pic In A Javascript Window When Click On Thumbnail

Sep 21, 2003

I followed Senocular's XML portfolio tutorial and everything is working fine, except I want for each thumbnail when you click, for it to open the larger pic in a javascript window. I got it working, almost, the strange thing it's opening the same large pic no matter which thumb I click on. It seems to be loading the same javascript window also, with the adress being the html file where the swf file is. The code in the html file is this:

[Code]....

View 1 Replies

Professional :: Flash Thumbnail Gallery - Making Window Clip Inactive After Click?

Dec 4, 2011

I am an artist trying to remake my website...I have a picture of a window on my homepage. The window is a movie. When clicked on, the window lights turn on and a grid of thumbnail pics appear. Each thumbnail is a movie clip. When a thumbnail is clicked on, the movie plays and a larger image appears over the window. The problem is, the window is still active underneath the large image, so if I click on the large image, I am really clicking on the window movie clip underneath, and the thumbnail grid disappears-starting the window movie clip over. How do I make the window clip inactive after it is initially clicked? Also, I would like the larger images to end their movie clips after another thumbnail is clicked, so that there aren't large images piled up on top of each other.

View 6 Replies

ActionScript 3.0 :: Photo Gallery - User To Be Able To Click On The Image Thumbnail And See An Enlarged Version Come Up Next To It

Sep 2, 2009

I would like to create a simple photo gallery in as3. I would like the user to be able to click on the image thumbnail and see an enlarged version come up next to it. The only galleries I see for flash are XML galleries and it was really complicated the last time I tried it.

View 1 Replies

Professional :: 6rounds: Developers API Launched?

Jun 23, 2010

We just launched our developers API and I'd like to give the official Flash community a small update about the API because it's hopefully interesting for you as professional Flash developers
 
6rounds is a flash based social entertainment platform which mixes webcam chats and interactive features with fun multi-player games and applications.  At the moment we are running the destination site 6rounds.com and providing the only Google Wave video chat extension. Furthermore, you will soon have the opportunity to embed your apps in a stand-alone widget, anywhere across the web, which will allow even faster distribution of your application. Besides that, we are going to release a Facebook application really soon!
 
Using our API, you can quickly and easily transform your existing applications into the video chat experience, or create new applications, both of which can leverage the platform's inherent ability to deploy gifts, effects, and background themes into the video chat environment.

[Code]...

View 2 Replies

Flex :: Center A Launched Window?

Jul 3, 2009

I am trying to center a launched window in flex, there is a NativeWindow.x and NativeWindow.y but flex uses the Window class which does not have these properties, so does anyone know how to center a window?

View 2 Replies

Flash :: Pass Parameters To A SWF Launched From The IDE?

Dec 23, 2010

A SWF can access parameters set in HTML via loaderInfo.parameters. How do I set this in a .fla project so that they are set when I run the SWF with ctrl-enter ?

View 1 Replies

ActionScript 2.0 :: Mp3 Playing But Not When HTML Is Launched?

Oct 13, 2009

when I launch the swf the mp3 plays but when I launch the html it is not.

function showPage() {
stopAllSounds();
_level0.ui.content_area.content.loadMovie("modules/" +

[code].....

View 2 Replies

Center A Flash Projector On Screen When Launched?

Aug 8, 2011

Is there a way to center a flash projector on a screen when it is launched? I noticed when I launch a flash projector file, it gets positioned on the screen randomly. I am using ActionScript 3.

View 2 Replies

ActionScript 2.0 :: Thumbnail Loop - Middle Thumbnail Represents The Photo In Target_mc?

Nov 28, 2007

I have made a image-viewer. I've this AS for the viewer:

Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
function loadXML(loaded) {[code].....

Now i would like to make a loop for the thumbnails so they don't have a beginning or end(Now when i scroll to the right the thumbnails stop at the last thumbnail, i want it to begin at the first thumb again).I'm also trying to make that the middle thumbnail represents the photo in target_mc.

View 1 Replies

ActionScript 3.0 :: Youtube And Flash - User To Be Able To Click On A Video Thumbnail And That Video Plays Back In The Center Of The Document

Jan 12, 2009

In my CS4 flash document I have created a media gallery. It's a very simple interface that has mouse overs on thumbnail pictures, and then the larger picture will fadeUP in the center of the document. (With use of framelabels in the timeline).

In the same document, I want the user to be able to click on a video thumbnail, and that video plays back in the center of the document. Several questions: If the user clicks on the thumbnail "onrelease," the time line goes to the player, is it possible to stream this video from a youtube clip into my media player on the screen? If not and I have the document in a fl4 format, is there a simple process to have this video open? (I currently do not have the document in fl4 format).

View 0 Replies

Flex :: Determine Programmatically If An AIR App Was Launched From The Command Line?

Jul 5, 2011

Is it possible to determine programmatically whether an AIR app was launched from the command line or via double-click on the application icon?

I want to be able to do something like:

`if (e.launchedFromCLI) { foo(); }`

View 1 Replies

ActionScript 2.0 :: Sequential Thumbnail Loader From A Xml File?

Jun 22, 2007

I have set up an xml thumbnail gallery using some of the great tuts on this site (I'm a designer so this dev stuff tends to get a little confusing). Basic setup is quite simple:

xml holds titles, thumb urls and details set up thumbs as a grid system, so they're loading in as columns, all of which is working great.

I have run into a bit of a brick wall though, and that is how to get the thumbs to sequentially load in, instead of random as they currently are.

Code:
...
function GeneratePortfolio(portfolio_xml) {
var portfolioTitle = portfolio_xml.childNodes[0].attributes.title;
var rootUrl = portfolio_xml.childNodes[0].childNodes[0].attributes.rooturl;

[Code].....

View 12 Replies

Actionscript3 :: Game Development - Flash Cs4: Resolve Lag When Launched From Browser?

Aug 12, 2011

I've been working for a month on a flash game, which should be manageable to play in a browser (light computation). This being said, I've noticed that in some browsers the game runs at what looks like 15 fps (the game should run in 80fps). This has been known to happen in IE9, and the quick fix was to add this line to the top of the html: <meta http-equiv="X-UA-Compatible" value="IE=9"> This was a quick-fix that forces IE into compatibility mode and greatly improved the fps (to about... 60, let's say). Still, I believe that the game is running slower than it should in every browser, which is evident when the html version is compared to the swf.

[Code]...

View 1 Replies

Actionscript 2.0 :: Counter Click Button That Can Storage Every Click On A Txt File?

May 18, 2011

I need a counter click button that can storage every click on a txt file or something..

View 1 Replies

ActionScript 2.0 :: Call An External Jpeg File In A Thumbnail?

Oct 16, 2003

How to call an external jpeg file in a thumbnail and on click event showing the same image with greater dimension along with the text file

View 11 Replies

ActionScript 1/2 :: Xml Thumbnail + OnRelease Function On Each Thumbnail?

Oct 11, 2009

Im trying to create via xml and a for() loop a thumbnails wiewer and each thumbnail have a simple onrelease function.....but my probleme is that my 'container' movieClip and 'BT' movieClip dont show when I export the movie...also when i trace()them the output is empty. maybe is because they are inside  x.onLoad(xml){} function ? At the end of the script you can remove // before the trace() function for ckecking in the output panel. here is my code:

xml file: TumbLoader.xml
<?xml version="1.0" encoding="ISO-8859-1"?><slideshow><photos thumbnail="thumbnail/1.jpg" /><photos thumbnail="thumbnail/2.jpg" /><photos thumbnail="thumbnail/3.jpg" /><photos[code]...

View 8 Replies

Flash :: IDE - Wordpress - Lightbox 2 - Importing The Links For Each Of The Thumbnail Buttons From A .txt File

Mar 19, 2010

i've designed a strip of thumbnails in flash to go in a Wordpress site i'm working on, which when clicked need to open up images and videos using Lightbox 2. (Lightbox is already setup and working.) The problem is that i'm importing the links for each of the thumbnail buttons from a .txt file which works like this:

[Code]...

View 5 Replies

Professional :: Reposition The Movie Clip Dynamically When The Movie Is Launched?

Jan 24, 2010

I have an ActionScript 2.0 project with a very simple timeline Alpha Tween ("Classic tween" in CS4) of a movie clip. I need to reposition the movie clip dynamically when the movie is launched, before the Tween is executed (as in "x_mc._x = 100;").

I found out that after changing the clip position the Alpha Tween as well as the Alpha final value are totally ingored. The clip is shown in the updated position but remains throughout in the Alpha setting of the first keyframe (even when it reaches the last keyframe which has a different Alpha setting). I verified that the Tween itself is executed by placing Trace statements at both keyframes. If I remove the repositioning statement, the Alpha Tween works fine (but of course in the original position which is wrong)

View 1 Replies

ActionScript 3.0 :: Using "this" And Loading An XML File In Which Each Record Points To A Small JPG For A Thumbnail

May 27, 2011

I'm loading an XML file in which each record points to a small JPG for a thumbnail and a larger JPG I'd like to display when the thumb is clicked. Stumbeld upon a cool way to use "this" to keep code tight. But now I can't figure out how to refer to each corresponding image that is loaded into each "big loader" when it's thumbnail is clicked.

I was thinking of initially setting the alpha of the big image's sprite (bgSp) to 0 and changing it to "1" when the thumb is clicked (smSpr). (Would be loading a lot of stuff initially, but the big images would show up FAST when a thumb is clicked). But I can't figure out how to specify which big sprite corresponds to each small sprite. Here's what I've got so far:

[Code]...

View 5 Replies

ActionScript 2.0 :: To Thumbnail, Or Not To Thumbnail ?

Jul 5, 2007

Yes, I'm making a photo gallery like everyone else. I'm making it so people can order pics from the site. There are going to be about 500 photos per album in 5 different categories. The photos can be shrunk down to about 60kb a piece. If I use the actual pictures as thumbnails, just scaled down, the total size of all the pics will be about 30mb. I know this is a lot.

Either way, the people looking at the album will most likely look at nearly all the pics so they will be using up bandwidth either way. Plus, if I use the actual pics as thumbs the user will not have to wait to see actual pic when it's clicked on because it's already loaded. A preloader is annoying to me. I do realize a preloader would be wise when loading the thumbs. Just dislike them after you click one for the big picture.

So is using shrunken thumbs a necessity or if the big pic is under a certain size it shouldn't matter if I use it for a thumb also?

View 1 Replies

ActionScript 2.0 :: "Right Mouse Click" On A Flash SWF File Embedded In A Page And Click "Print"

Dec 6, 2006

If I "Right Mouse Click" on a Flash SWF file embedded in a page and click "Print" it prints just the flash, in perfect colour etc etc..How can I achieve this exact operation, but as a button in Flash? So it prints just as if I did the above operation.

As an extra, if you know how - Is there any way I can default the page to print out "Landscape" too ?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved