Flex :: Link Be Provided In Alert Box To Redirect To Another Page ?
Jul 21, 2011I need to provide a link (like Click here to view.....) in a AlertBox that redirects to another page.
View 4 RepliesI need to provide a link (like Click here to view.....) in a AlertBox that redirects to another page.
View 4 RepliesI have an application where the home page is an aspx page. It redirects to the flex application with authentication information in the url. The problem here is, if a guy copies the link for the flex application (which appears in the browser after redirection) and pastes it again, he will be able to access it. Is there some way to prevent this? That is, can we check whether the link was redirected from aspx or copy pasted?
View 2 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 am having an issue where I show an AlertBox message when the user hits ENTER and the focus is in a text area. The pop up works fine, but when the user hits enter the Alert closes as expected, but the TextArea listener receives the ENTER event from the Alert and pops the dialog up again. I have tried a number of ways to catch and eat the event but so far I have not been lucky. Is there way to accomplish this?
public function init():void
{
myTextInput.addEventListener(KeyboardEvent.KEY_UP, handleKeyStrokes);[code]....
i'm an motion-graphics designer, who had experience with flash only this was 8 year's ago. I'm not a programmer so I allways had people around me who could do the flash things. So I absolutely have no idea how it works.
Now i'm making a website, with an swf which play's an flv. The flv can be paused etc. now is my question, after the flv is played I want this to redirect to for example index2.html where are a couple of links. and from that page you can go to the next.
I've seen on the web a lot of reactions about this question, people say use the playerdiy.com. but that's not gonna work for me now.. Because i have set the design up this way (picture in swf which say's ichap etc, with a black solid where the video is been played).
Playerdiy does what i want's but i wanna have my swf design what I used here: [URL] this is with playerdiy: [URL]
I have a Flash Movie that when you click on a image it's suppose to redirect you to a new page but it has been opening it in a new tab, heres my code:
mc.onPress = function():Void {
if (getTimer()-this.pressTime<=ClickRegister && this.pressTime) {
getURL(infostruc[current-1].artUrl, "_blank");
//button actions
}
i am using one swf file.on click i have some background process.after finish the process i want to redirect to particular page.but its not working.what should i do to redirect to page.i am using asp.net?
View 2 RepliesI understand that PlUpload supports several runtimes (html5, html4, gears, flash, etc). But most browsers now a days support flash. And most other file uploaders (namely: uploadify, fancy upload, to name afew) would function via a combination of javascript and flash. And the same file uploaders only support ONE runtime, which is flash. Even if the flash player plugin is not installed. A developer can easily integrate flash detection tools and redirect users to a download link. Which is most common for several sites.
View 1 Replies1 -I have a flv file on one frame.I imported my video and CS3 added it to my library.I change parameters to autoplay and autorewind. This is on one frame.My flv file name is movie.flv
2- When this is done playing I want it to automatically go to main.html
3-I read a previous answer on this that gives the following code which I inserted right on the same frame that my flv is loaded.I named the instance name of this flv as "flv"
It isn't working.Here is the code I picked up on previous forum:So I put this on the frame where the flv is loaded which is scene 2 frame 1 and instance name of flv.
flv.addEventListener(Event.COMPLETE,completeF);
function completeF(e:Event){
navigateToURL(new URLRequest("main.html"));
Statement must appear within on/onClipEvent handler .The class or interface 'Event' could not be loaded.I can't add a get URL code because it is a flv on one frame.
I have a text object, which I've converted to a symbol (specifically a button, as intuition tells me this is what I would want).
Anyway, I want to make it so that when the user clicks on the button, it redirects them to a page on my website.
Now, I understand that I should be using navigateToURL(new URLRequest("sitegoeshere"));
but I can't figure out how to make it conditional so that it DOESNT execute that code until the user clicks on the object in the frame that the code is attached to.
One other problem as well is that as it is, when it gets to the recirect code, I get a popup saying that flash has stopped a potentially unsafe operation. How do I make it so that it doesn't simply deny the running of that code?
I have one html page for intro that using flash and doing some animation..ok what I want do is..how to redirect this page to index.html contain no flash as soon as the intro was done...without clicking the button to enter the index.html
View 1 RepliesI have 1 menu them it use an action script for redirect the answer by the user. For example I used the script :
on (release) {
getURL("[URL]");
}
In this case the request is ""Http"" ....but, if must call one page present in the directory of my site for example:
chi_siamo/
-home.aspx
-contattaci.aspx
-menu.swf
dove_siamo/
This menu for call the page on his directory, what action script I must use?
I have this form and I would like when people click the submit btn, to be redirected to an html landing page. I'm not sure if I need to modify the php or the action script or both. Does anyone know how to do this
[Code]...
I have a swf file, which handels some xml data. After that process complets I am giving the data back to my rails server. My problem is, that any redirection in my rails app is handed ower to the swf file and the actual displayed page remains the same!
How can I perform a redirection in my webpage from a swf flash file.
I want in my Flex app to redirect to an HTML page if the user doesn't have Flash installed. I noticed in the HTML generated by Flash it has:
[Code]....
Which displays generic message about not having flash. I know I can put HTML there to be displayed if Flash doesn't exist but I don't want to load the HTML if it's not need (case when Flash is installed) so I thought the best way is to redirect to an HTML page if flash doesn't exist.
Before Entering my site, I have a flash intro that is played, and now, I want to know how I can make it so that if the intro page has already been seen, that it does not show it next time, until the cookie expires or is deleted.
View 3 RepliesI'm new here and I have a question regarding flv's.
I have an flv file of an interview and I want to have the user go to another site after watching the interview. Sort of like a getURL on the last keyframe, but when I imported the flv into flash, I only get one frame.
what's the action script in an flash that will redirects the html page after the flash has ended 5 second. It will redirect into the page that is in the same target folder example: the flash is in index.html and it will redirect to home.html after the flash end.
[URl]
I'm using <mx:LinkButton label="www.google.com" click="navigateToURL(new URLRequest(event.currentTarget.label.toString()))" /> to open a browser window to display the website on the label of my LinkButton. However I cannot correctly pass the link..
you see the problem: file://localhost/..myapp/bin-debug/www.google.com
i am trying to build a site using ruby on rails and flash. i am trying to build a login page and i have my flash component with two text fields for user name and password. when the submit button is pressed, it sends the login info typed in to the text fields to the ruby controller via xml through a URLLoader. the controller then looks at this info and determines if it is correct or not and if it is, then it attempts to redirect the page in the view to another part of the website.
this is where the problem comes in. when the page is being redirected, it gets stuck and just says "transfering data from host" at the bottom but never redirects the page. this is all still on a local machine so it is not some sort of communication problem with the server. also if i replace the flash component with plain html it will redirect just fine. in addition to this, if i make it redirect from withen the flash component using navigateToURL that will work as well. the information is also getting sent correctly because it is setting off a COMPLETE event.
in that task i have to make one website intro and have to run with html page. that i know haw to do it. and i have done with this part.
but now i have to do one thing that is. when my intro is completed then page will automatically redirect to website home page.
is it possible then page will be redirect without single click. if yes then how.
I have created a map using flash and I converted each region from the map into a symbol.Also I implemented on flash level the up, over and down "events" for each region in part.After that, I try to implement the event for "hit" (I guess that it is similar with onClick event).The thing what I want to happen is to redirect me at specific page of that region.How can I implement the click method on a part of whole image?
View 1 RepliesI have a rails app that embeds a swf. The swf takes user input and posts to the server. For testing purposes, the controller is just redirecting the browser back to another pagewithout processing the data. Interestingly, after the post, the server log and the firebug log shows what clearly looks like a successful redirect (200) showing the correct URL GET, but the browser does not actually move to the new page and is stuck on the same page with the flash app. Same behavior occurs in both Firefox and Safari.
View 1 RepliesAfter moving from Windows XP to Windows 7 noticed this behavior in my Flex application. In IE8 when a user clicks on a link in the SWF file it uses the navigateToUrl api to open a new window pointing to an external site. This works as expected in XP on IE8 . However in Windows 7 clicking the link will open a new tab, this new tab however sits in the background therefore it is possible that it may not be noticed by the user. Also the content in this background tab does not always load fully unless you clear the cache. Has anyone come across this issue with Flex and Windows7/IE8? In the navigateToUrl function i pass in a param of _blank.
View 1 RepliesHow do I redirect to a html page when my flash site opens in non-flash browser?
Here is the code I am curently using
<link rel="shortcut icon" href="/77east.ico" type="image/x-icon" />
<!--[if lte IE 8]>
<script type="text/javascript">window.location = 'ebrowser.html'</script>
[Code].....
is 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 created a flash animation for my homepage, i want to make part of that flash animation a "enter" button so when clicked would go to my page 2 on my website.
i have never done any script before and only used dreamweaver on a mac. is there an easy way to create this button to link to my next page and to stop my file to stop looping?
I've created a flash naviagation menu and currenlly my links will open a pop up window. I don't want this. I want it to open the link in the same window. Here is the code for one of the links:
var home:URLRequest = new URLRequest("index.html");
function homeDown(event:MouseEvent):void { navigateToURL(home,"_self");}
button_home.addEventListener(MouseEvent.CLICK,homeDown);
I would like to create my page links so when I roll over the text(link) enlarges and then once pressed a swf animation plays.When it stops it automatically directs to the desired page.
View 5 Replies