Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在做一个项目,我需要在 URLRequest 中的文本之间放置一个变量
url4 = new URLRequest("text/"abc"/text.png");
有什么帮助吗??顺便说一句,假设 abc 是我要放置的变量
您可以+在 AS3 中一起添加字符串和变量。
+
url4 = new URLRequest("text/"+abc+"/text.png");