ActionScript 3.0 :: Zooming In On Picture (link Provided)?
Oct 2, 2009Just wondering if the zoom function on this link on the picture is done via flash and if so whether anyone can assist me in working out how to do it -
View 1 RepliesJust wondering if the zoom function on this link on the picture is done via flash and if so whether anyone can assist me in working out how to do it -
View 1 RepliesI need to provide a link (like Click here to view.....) in a AlertBox that redirects to another page.
View 4 Repliesi created my subMenu buttons fine, however i only know how to link them to a picture/url address, my goal is to have the user click the subMenu button and open the image or page right below the menu bar in the "stage" area of flash. I read about IFrames but i'd rather create the whole site in flash .Here is the code for my subMenu...
btn_34th.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("images/34th.jpg"));
trace("I'm Clicked!");
Again, this works fine, i just want to have the image take up the "white" space on the stage area, very similar to an IFrame.
Basically I want to know if there is a way to go from a zoomed in version of something, and then seeing the whole image in another frame. (By pressing a button)
Let's say there's a tree, I would bascially like (upon pressing a button which I can do) to zoom out and see the whole scenery. Is there a way I can do this without actually changing the size of the image?
[URL] how I could make it so when clicking on one of the pictures I got a big picture in a new window?
View 2 RepliesI look at professional animations and notice the camera-like effects they manage to put into these animations. I'm wondering how I can do the same without having to just enlarge or reduce a movieclip across the stage. Is there any way to add a camera view on your animations or do you just have to bear with Flash's basic necessities?
View 1 RepliesEverything is working properly except when i try to link a picture, and have set the imagelinkTarget value to _blank the link always navigates away from my site and does not open in a new window. I have tried all the values for the imageLinkTarget and nothing works.. Here is my code
[Code]...
how to incorporate a link from the picture thumbnails of the photo gallery so that when the user clicks on the thumbnail, it may link to another part of the same website or to an url.
View 1 RepliesI want to make a picture gallery and use buttons that move you from picture to picture and backwards, but I don't want to tell button 1 to go to frame 2 and button 2 to got to frame 3 and so on (I hope you know what I mean)Can I use on button on a separate layer with the same action set? I tried something like that, but it didn't work:
on (release) {
thisframe =+1
}
[code]........
but it didn't work. I'm kind of new to any action script other than gotAndPlay, easy functions and all that.
Is there a good way to check if a variable has been passed into my flash movie?For example lets say I have an app that looks up some data based on location. And I allow for it to be added to the HTML tags, In Flash how to I say set a default location in case of there not being one in the HTML tags?
View 4 RepliesI am trying to write a small flash app which will load and display images provided as a query. My flash app works fine when I provide the image path directly in the browser address bar, but it is not working when I do the same using html.Here is the direct link to the flash appThe Html code is attached with the post.I know my app is getting invoked and it appears to work fine when I hardcode the image url into the flash app. But the query method just does not seem to be working!!This is hosted on a linux site supporting php.
View 1 RepliesSome of the "skins" for the FLVPlayback component cannot be used as delivered in the Flash Professional CS5 package.
For instance, if you try simply to run the .swf file: MinimaSilverPlayBackSeekCounterVolMuteFull.swf in Program Files/Adobe/Adobe Flash CS5/Common/Configuration/FLVPlayback skins/ActionScript 3.0, you get the following error message:
VerifyError: Error #1014: Class fl.video::UIManager could not be found.
Such a skin cannot be used in a published application (though it will work within the Flash IDE in Test mode).
Not all the skins have this problem. However, at least all of the Minima prefixed ones do. Of course the one I wish to use is broken. Is there a way I can fix this? If I try to publish the corresponding .fla (in FLVPlayback skins/FLA/Action Script 3.0 I get "Warning: unable to load SWC FLVPlaybackAS2.swc".
I recently used the loadMovie action to load a .swf file to a target in the movie which it was being called from. Then I tried calling a picture to another target in the movie, but it did not load the picture as intended. I read about it on my book, but it didn't seem to work. Is there anyways on calling a picture into a target in the movie without placing the picture inside an swf file?
View 7 Repliesis good practice to use if(source==null) in my costructor, to run code only if the costructor argument is provided ?
package dataModels {
import mx.collections.ArrayCollection;
import dataModels.*;
[code]....
I am using a custom advanced auto-complete component. Selected items do not have a tooltip by default, but I would like to use the label as my tooltip. The arraylist allQuestions is the dataprovider to my component.
[Code]...
allQuestions.questionText should is the path to my desired label. I have looked into using events, such as event.currentTarget, but I dont think they exist for tooltips. how to add a tooltip using the data provided to the component?
I have just been to a really nice website that has some really nice use of Flash on it.... I'm totally wowed by the resizing picture effect though? When each picture loads the loading frame resizes to the new picture size.
View 3 RepliesI am trying to build a site that would give users the ability to upload a picture to a picture frame on my site. I would like AS3 to dynamically re-size, and upload the file from an upload bar under the frame.
View 1 RepliesI'm totally wowed by the resizing picture effect though? When each picture loads the loading frame resizes to the new picture size.It must be some sort of actionscripting but how is it done?
View 3 RepliesI how that any Can help I have a Picture that I want To destroy it As someone break it as a glass and then something made it go back as she was
View 1 RepliesI am trying to build a DVR Cast app using DVRCast 1.2 provided by Adobe. The problem I am facing right now is that I am finding difficult to record multiple streams at the same time so that I can make dynamic stream to work correctly. Even though Adobe has provided DVRControllerSynch, it does not mention anything how the streams are recorded.
View 4 Repliesi placed a movieclip inside a movieclip A_Mc ( representing ClassA) . Now if i place another movieclip ( without naming, and making sure that automatic instance naming is Off via the flash IDE ), everything runs fine. But when i provide an instance name say b_Mc , then it MUST be able to be publically accessible. What is the logic behind this setup. Why while designing i cannot make a sub-movieclip which is private and inaccessible to others?
View 3 RepliesI have been trying to use API provided by tringme to create widget to make a call. I am unable to get more information from tringme support about connecting. I assumed that the call wasn't through due to insufficient credit. Even with sufficient credit the call doesn't happen. Have any of you people work on it any time?
I have written the code as per the API, <uid> has been replaced with a valid uder id.
Code:
var tringMeURL:String = "rtmp://sip.tringme.com/voicemail/<uid>";
var randomstreamname = "63e457425defb24e8a5ca80de80d2e3817ea5c1b";
NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;
[Code]....
I don't think this is possible, but is there a way to validate the arguments a callback accepts. For example someone passes me callback "mycallback", I want to assert it accepts an argument String.
public function addHandler(handler : Function) : void{
//pseudo code
Assert.functionAcceptsArguments(handler, String);
}
I want in my application show multiple markers on google map .only address of the city or country is provided but without latitude and longitude of the city
View 2 RepliesI'm trying to make a basic flash calculator except it only has to be able to square the number provided by the user, I have followed many tutorials but I keep getting the NaN as the output. Here is the actionscript:
import flash.events.MouseEvent;
square_btn.addEventListener(MouseEvent.CLICK,
squareClick);
[code]...
I also need to have Input box and Error Messages & Highlighted Input Box.
So with the help of others, I figured out the runtime font loading issue, and all was working great.Until we moved to the live environment, where apparently Flash is freaking out if I load my swfs from [URL]..
Can anyone tell me what I need to do to fix this? Here's the error:
Code:SecurityError: Error #2112: Provided parameter LoaderContext.ApplicationDomain is from a disallowed domain. In short, here's the structure. A Wrapper swf is embedded on a page.The Wrapper loads a child Player swf into a separate Application Domain, and then calls a public init() function in the Player to get things rolling, passing into the Player swf a reference to that newly-created ApplicationDomain the player was loaded into.At some point the Player decides whether or not it needs to load an external font Library swf for embedding subtitle fonts. It loads the font(s) as needed into the same ApplicationDomain that was passed into it (should be the same one it was loaded in itself, no?).
Once again, I've tried all sorts of combinations of code changes, but nothing seems to be fixing it. It all comes down to whether or not the original Wrapper swf is embedded via "www.domain.com" or "domain.com".
FYI, I have a crossdomain.xml file set up allowing both combinations of the domain name, and in each loaded swf (the Player and the font Libraries) I have a Security.allowDomain(); set with both combinations of the domain name as well. I resolved a similar security error similarly (a different externally-loaded swf), but that doesn't seem to be working for this.
i got five images, and five buttons, every image has a color, and lets say we start at the red one. When i click the the green button i want the green image to fade in.. i fugured out a way to do this on the timeline, but then i have to have a black box first fading in to remove the old picture and then start fading in the new picture..
View 2 RepliesI made a simple picture slideshow with a timer, prev/next buttons, pause/play buttons and jump buttons. Everything went good so far.Now i'm trying make every picture go to a URL when the picture is clicked but only the link on the first frame goes to the URL when clicked the other 5 buttons do nothing when click.(FYI: I made alpha 0% buttons in a layer above pictures)I tried two different codes but both have no effect.
as layer
Code:
stop();
var nextImage:Timer = new Timer(3000);
nextImage.addEventListener(TimerEvent.TIMER,playNext);
nextImage.start();
[code]....
is some thing like i have a menu as the background, then if i click the picture, another menu rollover the background picture covering ard 40% of the background.any1 can lead the road for me >< me jus start learning AS3 ><
View 3 RepliesWith swfobject 2.2, how do you specify the desired version of flash you require? I need flash 10, but swfobject won't perform an upgrade install with the provided expressInstall. swf in the swfobject 2.2 distributable. How do I get an upgrade install to occur for flash 10?
View 1 Replies