Can a URL being loaded have a variable in its address?
in plain english, i'd like to do the following:
xmlLoader.load(new URLRequest("http://www.mysite.com/whatever/whatever/(thirdSegment)"));
where (thirdSegment) is the third segment of whatever URL the current swf file is on. I aready define segment 3 at:
var location:String = ExternalInterface.call('window.location.href.toString');
var locationArray:Array = location.split('/');
var thirdSegment:String = locationArray[3];
any ideas?
incase anyone ever needs this, I figured it out.
I simply define variables
var actualURL = "mysite.com"
var urlSegment = (actualURL)+ (thirdSegment)
so when I load the xml, I do the following:
xmlLoader.load(new URLRequest(urlSegment));
Similar Messages
-
I don't have the option to change my security questions, but can't remember the answers. What can I do? I have given 2 rescue email addresses already and can reset my password.
Ajb1111 wrote:
I don't have the option to change my security questions, but can't remember the answers. What can I do? ...
See Here... Apple ID: Contacting Apple for help with Apple ID account security
ask to speak with the Account Security Team... -
This occurs at least 4 or 5 times a day. I can do nothing when this happens. I don't know if this is a Firefox or Vista problem. I click on a link and it does not go but just sits there saying connecting.
Corrupt localstore.rdf
http://kb.mozillazine.org/Corrupt_localstore.rdf
Check and tell if its working. -
I am running Windows 7. I have 250 photos from a trip that I want to load to the iPad v 6.1.3.1 and show as slide show (in named order). I can not see any recent remarks regarding how to keep them from being loaded in date order
By default the photos will be sorted by the date modified.
iOS: Understanding photo sorting
Edit (touch) them in the order you want them to be shown. -
I have an older iPhone (3gs) and need to upgrade to a newer phone (4S). I need to get my NOTES, CALENDAR, CONTACTS, PICTURES, etc backed up on iTunes so I can get that data loaded onto the new phone. But not sure how to do that. When I open iTunes it has a button that say "Back Up iPhone", but I'm not sure what that does. When I go into the sync options it say I have another user account and asks me if I want to merge of replace. I'm assuming it's trying to tell me I have an older iTunes Library, but don't know that. Geez, maybe people over 60 shouldn't have iPhones, iTunes just bafles me.
http://manuals.info.apple.com/en_US/iphone_user_guide.pdf
-
How can I determine what LLB a VI is being loaded from?
I've been frustrated switching between versions when an application opens and suddenly can not find a VI which is being loaded from a LLB. How can I determine what LLB (or other type of library) a VI is being loaded from ?
Is there a list of all libraries along with what VIs are included in them somewhere?
Thanks,
DaveIn the context help, enable "Show Optional Terminals and Full Path ", then just hover over your VI, either on the diagram on in the hierarchy view.
LabVIEW Champion . Do more with less code and in less time . -
Can I have a variable that lists the name of the Book?
Hi, I'm creating a document as an InDesign Book, ie a lot of documents in the Book Pallette. I'd like to have a variable that lists the book name. Is this possible?
I've tried finding how to create new variables but I can't see anything. I'm guessing <$bookname> is the code but I can't figure out how to enter it as a variable in CS5.
Thanks,What does this have to do with scripting? I don't believe you can create a variable that is automatically populated with the book name, but you can simply create a regular variable and synchronize it across all documents in the book.
-
I have completely downloaded all parts of master suite (I attend AAU so it's provided by school) however, I can get nothing to load and operate. I am still running XP but my understanding is that it should still work for most apps
I believe you need to have XP with Service Pak 3 as a minimum for most CS6 applications. You should check all of the system requirements because I think you also need to have a 64-bit machine as well. Here is a link...
System requirements | Adobe Creative Suite 6 -
In previous version F6 can Edit url but new version can't it have new hot key or remove it?
in previous version F6 can Edit url but new version can't it have new hot key or remove it??
F6 focuses the first selectable element.<br />
If "Tabs on Top" is selected then the active tab is selectable, so the location bar is not selected.<br />
Press F6 to set focus on the Tab bar and press the Tab key until the location bar gets focus.
To get the 3.6 behavior uncheck "Firefox button > options > [] Tabs on Top" or use Alt + D or Ctrl + L -
I have just bought a movie and it says its going to take 170 mites to load. Can i make the loading time shorter?
Either by decreasing playback quality from HD to SD or HD 1080p to 720p.
Sounds as though your internet (like mine( is not fast enough for instant playback.
AppleTV need to buffer the video if internet speeds are below:
8 Mbps for 1080p
6 Mbps for 720p
2.5 Mbps for SD -
My Lightroom kepps stopping just after being loaded. My Lightroom is 5.4 64 bits installed on a Dell PC with Windows 8.1(upgraded from 8). I have uninstalled Lightroom and re-installed it with the same result. What could be the problem?
Try resetting your preference file next: http://www.lightroomforums.net/showthread.php?14226-Resetting-(or-Trashing-)-the-Lightroom -Preferences-file
It survives an uninstall/reinstall. -
The Photoshop loader says I need Internet Explorer v 4.0 or later, I have v. 11. What can I do to load on a new computer?
What operating system are you using and version of photoshop elements?
How much free space does your hard drive have? -
I have a mid to late2007 MacBook Pro core 2 Duo But can't seem to load mountain lion goes through all the steps then freezes at reboot
Everything I read said Mid to Late 2007 models od the MacBook Pro with a Core 2 Duo 64 Bit processor would run Moutain LionI have a mid to late2007 MacBook Pro core 2 Duo But can't seem to load mountain lion goes through all the steps then freezes at reboot
Everything I read said Mid to Late 2007 models od the MacBook Pro with a Core 2 Duo 64 Bit processor would run Moutain Lion -
Itunes is on my desk top on windows 7 and I can not open it, I have just downloaded it again and hit repair to see if this helps as well but it still won't open
Okay, launch iTunes... does it work?
If so, in Edit > Preferences > Advanced is the option to "prevent syncing of iDevices" selected?
Another possibility, in Control Panel > Default Programs > Change Auto Play Settings > what is the system set to do when an iPhone is connected? -
Creating and loading 4000 shared variables
I need some help laying out the design of this system. The data is coming over reflective memory. I've written a dll and a simple server to do the interface between the reflective memory and shared variable engine. Everything seems to be working. The problem I am having is with scaling the application up to handle approximately 4000 variables. I have a spreadsheet to manage the reflective memory allocation and can use it to import the shared variable definitions with the names from the system that is writing the data.
I am having trouble deciding on the best way to proceed. I would like to read a buffer from reflective memory instead of reading 4000 times. I also would like the server to read in a file that defines the association between the shared variable and reflective memory address. The problem I am having is getting the data out of an array into each of the shared variables. I don't see a way to load the value of a shared variable using the property node (so that I can do this inside a loop). I also can't setup an alias that would access an array element. I don't want to manually create 4000 variables.
Any ideas would be appreciated. Thanks.I have never had to resort to creating Shared variables programatically so I will leave that for others.
I would cheat.
In LV 7.1 DSC i could import my tag config from a csv file. After importing and saving in LV 7.1 I could let LV create the SV's when the code is updated.
THat all assumes I will only have to do that one.
I have used the interupts fired when SCRAMNet locations update to "steer" the value to appropriate code which could then in turn update the SV using a datasocket write since I can compose the URL for the SV dynamically.
Just sharing ideas,
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Maybe you are looking for
-
Creation of tables using JDBC or SQLJ in webdynpro application
Hi, I am trying to create tables in javadictionary(MaxDB)using my WebDynpro application.I tried creating tables using SQLJ and JDBC.But I was not able to do it.I can select and insert data into already created tables. Whwn I tried creating a table us
-
Wuc-015 Your form must contain the following bean ...
Hi, I'm having this problem in forms 10g: WUC-015: Your Form must contain the following Bean for this function to be availabe: oracle.forms.webutil.file.FileFunctions I have installed webutil and followed all the steps, I can the run the test form, b
-
The YouTube app that came on my iPad will not log into my account. Is this a known issue? I can log into YouTube on the web just fine. Thanks.
-
[CS6] Cuda and firewire output
There was problem in CS5 outputing video via firewire to DV/HDV deck when CUDA acceleration is enabled. Has this been fixed in CS6?
-
Hi Experts, I would like to know how many voice clients can be supported in a Cisco 3700 AP? I have seen a document (Document ID:8103); Q. How many wireless IP telephony handsets are recommended per AP? A. IP telephony network sizing is essential to